Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSH
lsh
Commits
f753d115
Commit
f753d115
authored
Oct 17, 2000
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
Rev: ChangeLog:1.258 Rev: NEWS:1.63 Rev: doc/TODO:1.93 Rev: src/dsa_keygen.c:1.14
parent
1c59c3c9
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
ChangeLog
+16
-0
16 additions, 0 deletions
ChangeLog
NEWS
+11
-0
11 additions, 0 deletions
NEWS
doc/TODO
+5
-0
5 additions, 0 deletions
doc/TODO
src/dsa_keygen.c
+6
-3
6 additions, 3 deletions
src/dsa_keygen.c
with
38 additions
and
3 deletions
ChangeLog
+
16
−
0
View file @
f753d115
2000-10-18 Niels Mller <nisse@cuckoo.localdomain>
* src/abstract_crypto.h, src/dsa.c, src/dsa.h, src/rsa.c: Cleanup.
* src/sexp-conv.c: #include spki_commands.h
* src/spki_commands.c (spki_signer2verifier,
spki_verifier2public): New commands, that replace the old
spki_signer2public.
* src/lsh-writekey.c (make_writekey): Use verifier2public and
signer2verifier.
* src/spki.c, src/spki_commands.c: Moved definitions of commands
out of spki.c.
2000-10-17 Niels Mller <nisse@cuckoo.localdomain>
2000-10-17 Niels Mller <nisse@cuckoo.localdomain>
* src/spki.c (spki_make_public_key): Take a verifier as argument.
* src/spki.c (spki_make_public_key): Take a verifier as argument.
...
...
This diff is collapsed.
Click to expand it.
NEWS
+
11
−
0
View file @
f753d115
News for the 1.1.0 release:
First, note that the 1.1.x series should be considered
experimental.
New program lsh-export-key (contributed by jps, and then
hacked some more by me).
Some of the methods for public-key operations have been
improved and generalized.
News for the 1.0.6 release
News for the 1.0.6 release
Fixed bug in ssh-dss bug-compatibility.
Fixed bug in ssh-dss bug-compatibility.
...
...
This diff is collapsed.
Click to expand it.
doc/TODO
+
5
−
0
View file @
f753d115
...
@@ -248,3 +248,8 @@ Replace most defines with enums, for improved type checking.
...
@@ -248,3 +248,8 @@ Replace most defines with enums, for improved type checking.
Write more testcases for rsa.
Write more testcases for rsa.
Perhaps change the LOOKUP_VERIFIER method to return an spki_subject?
Perhaps change the LOOKUP_VERIFIER method to return an spki_subject?
Change the COMMAND_SIMPLE and COMMAND_STATIC macros to take argument
names as arguments, making them more hygienig. Perhaps also rename
them in the process.
This diff is collapsed.
Click to expand it.
src/dsa_keygen.c
+
6
−
3
View file @
f753d115
...
@@ -45,7 +45,8 @@
...
@@ -45,7 +45,8 @@
#define SEED_LENGTH SHA_DIGESTSIZE
#define SEED_LENGTH SHA_DIGESTSIZE
#define SEED_BITS (SEED_LENGTH * 8)
#define SEED_BITS (SEED_LENGTH * 8)
static
void
hash
(
mpz_t
x
,
UINT8
*
digest
)
static
void
hash
(
mpz_t
x
,
UINT8
*
digest
)
{
{
mpz_t
t
;
mpz_t
t
;
UINT8
data
[
SEED_LENGTH
];
UINT8
data
[
SEED_LENGTH
];
...
@@ -63,7 +64,8 @@ static void hash(mpz_t x, UINT8 *digest)
...
@@ -63,7 +64,8 @@ static void hash(mpz_t x, UINT8 *digest)
sha_digest
(
&
ctx
,
digest
);
sha_digest
(
&
ctx
,
digest
);
}
}
void
dsa_nist_gen
(
mpz_t
p
,
mpz_t
q
,
struct
randomness
*
r
,
unsigned
l
)
void
dsa_nist_gen
(
mpz_t
p
,
mpz_t
q
,
struct
randomness
*
r
,
unsigned
l
)
{
{
unsigned
L
;
unsigned
L
;
unsigned
n
,
b
;
unsigned
n
,
b
;
...
@@ -151,7 +153,8 @@ void dsa_nist_gen(mpz_t p, mpz_t q, struct randomness *r, unsigned l)
...
@@ -151,7 +153,8 @@ void dsa_nist_gen(mpz_t p, mpz_t q, struct randomness *r, unsigned l)
}
}
}
}
void
dsa_find_generator
(
mpz_t
g
,
struct
randomness
*
r
,
mpz_t
p
,
mpz_t
q
)
void
dsa_find_generator
(
mpz_t
g
,
struct
randomness
*
r
,
mpz_t
p
,
mpz_t
q
)
{
{
mpz_t
e
;
mpz_t
e
;
mpz_t
n
;
mpz_t
n
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment