Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
d76879c1
Commit
d76879c1
authored
Dec 16, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DES and blowfish support.
Rev: src/lsh.c:1.29 Rev: src/lshd.c:1.24
parent
d81f9639
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
src/lsh.c
src/lsh.c
+3
-2
src/lshd.c
src/lshd.c
+3
-2
No files found.
src/lsh.c
View file @
d76879c1
...
...
@@ -170,9 +170,10 @@ int main(int argc, char **argv)
/* No randomness is needed for verifying signatures */
lookup
=
make_fake_host_db
(
make_dss_algorithm
(
NULL
));
kex
=
make_dh_client
(
dh
,
lookup
);
algorithms
=
make_alist
(
5
,
algorithms
=
make_alist
(
6
,
ATOM_ARCFOUR
,
&
crypto_rc4_algorithm
,
ATOM_BLOWFISH_CBC
,
&
crypto_blowfish_algorithm
,
ATOM_BLOWFISH_CBC
,
crypto_cbc
(
make_blowfish
()),
ATOM_3DES_CBC
,
crypto_cbc
(
make_des3
()),
ATOM_HMAC_SHA1
,
make_hmac_algorithm
(
&
sha_algorithm
),
ATOM_DIFFIE_HELLMAN_GROUP1_SHA1
,
kex
,
ATOM_SSH_DSS
,
make_dss_algorithm
(
r
),
-
1
);
...
...
src/lshd.c
View file @
d76879c1
...
...
@@ -184,9 +184,10 @@ int main(int argc, char **argv)
dh
=
make_dh1
(
r
);
init_host_key
(
r
);
/* Initializes public_key and secret_key */
kex
=
make_dh_server
(
dh
,
public_key
,
secret_key
);
algorithms
=
make_alist
(
5
,
algorithms
=
make_alist
(
6
,
ATOM_ARCFOUR
,
&
crypto_rc4_algorithm
,
ATOM_BLOWFISH_CBC
,
&
crypto_blowfish_algorithm
,
ATOM_BLOWFISH_CBC
,
crypto_cbc
(
make_blowfish
()),
ATOM_3DES_CBC
,
crypto_cbc
(
make_des3
()),
ATOM_HMAC_SHA1
,
make_hmac_algorithm
(
&
sha_algorithm
),
ATOM_DIFFIE_HELLMAN_GROUP1_SHA1
,
kex
,
ATOM_SSH_DSS
,
make_dss_algorithm
(
r
),
-
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment