Displaying 6 results from an estimated 6 matches for "dsa_generate_paramet".
2006 Apr 12
0
[schulz@adi.com: 0.9.8a: DSA_generate_parameters & RSA_generate_key not in libcrypto]
...t;schulz at adi.com> -----
X-Original-To: jaenicke at serv01.aet.tu-cottbus.de
X-Original-To: rt at aet.tu-cottbus.de
Delivered-To: rt at master.openssl.org
Date: Wed, 12 Apr 2006 14:42:27 -0400 (EDT)
From: Thomas Schulz <schulz at adi.com>
To: openssl-bugs at openssl.org
Subject: 0.9.8a: DSA_generate_parameters & RSA_generate_key not in libcrypto
X-Virus-Scanned: by amavisd 0.1
X-Virus-Scanned: by amavisd 0.1
I am not sure if this is a bug or something that was never defined to work.
I tried to build openssh-4.3p2 against openssl-0.9.8a. It died with
DSA_generate_parameters and RSA_generate_key a...
2006 Nov 10
4
[Bug 1260] Link failure with openssl 0.9.8
...adi.com
I believe that the following error also occured with earlier versions
of openssh and I just worked around it. Trying to build openssh 4.4p1
with openssl 0.9.8, I get the following link failure.
Undefined first referenced
symbol in file
DSA_generate_parameters ./libssh.a(key.o)
RSA_generate_key ./libssh.a(key.o)
ld: fatal: Symbol referencing errors. No output written to ssh
*** Error code 1
If I revert to openssl 0.9.7, there is no problem. Checking the
libcrypto.so library with nm, I find that 0.9.8 has
DSA_generate_p...
2003 Jul 01
2
Generating DSA keys of different length
When I try to create a dsa set of key files with -b 999, the key appears to be created with the default of 1024. This does not happen for type rsa or rsa1 keys. They get created with the number of bits I specified. I can't find this problem in the archives.
DSA key generation:
SY1 97 /SYSTEM/tmp> ssh-keygen -b 999 -t dsa
Generating public/private dsa key pair.
Enter file in which to
2015 Nov 04
1
ssl-params: slow startup (patch for consideration)
...2015
@@ -6,5 +6,2 @@
-/* 2 or 5. Haven't seen their difference explained anywhere, but 2 is the
- default.. */
-#define DH_GENERATOR 2
@@ -14,2 +11,3 @@
DH *dh;
+ DSA *dsa;
unsigned char *p;
@@ -17,3 +15,13 @@
- dh = DH_generate_parameters(bitsize, DH_GENERATOR, NULL, NULL);
+ dsa = DSA_generate_parameters(bitsize, NULL, 0, NULL, NULL, NULL, NULL);
+ if (dsa == NULL) {
+ *error_r = t_strdup_printf(
+ "DSA_generate_parameters(bits=%d) failed: %s",
+ bitsize, openssl_iostream_error());
+ return -1;
+ }
+
+ dh = DSA_dup_DH(dsa);
+ DSA_free(dsa);
+
if (dh == NULL) {
@@ -20,4 +28,4 @...
2003 May 15
0
[Bug 567] pb at the end of compil with a dump of ssh-keygen
...rwrite
/usr/local/etc/ssh_prng_cmds already exists, install will not overwrite
/usr/local/etc/moduli already exists, install will not overwrite
Generating public/private rsa1 key pair.
rsa_generate_private_key: key generation failed.
Generating public/private dsa key pair.
dsa_generate_private_key: DSA_generate_parameters failed
Generating public/private rsa key pair.
rsa_generate_private_key: key generation failed.
make: *** [host-key] Error 255
The env variables :
CC=cc
CFLAGS="-mips3 -n32 -O2"
LDFLAGS="-L/usr/local/lib"
My configure options are :
./configure --with-privsep-user=sshd --with...
2001 Jul 24
4
Debugging ssh-keygen dsa on Solaris8
...7 ret->flags=ret->meth->flags;
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx)
where
=>[1] DSA_new_method(meth = ???) (optimized), at 0x4b6b8 (line ~127) in
"dsa_lib.c"
[2] DSA_new() (optimized), at 0x4b580 (line ~86) in "dsa_lib.c"
[3] DSA_generate_parameters(bits = ???, seed_in = ???, seed_len = ???,
counter_ret = ???, h_ret = ???, callback = ???, cb_arg = ???)
(optimized), at 0x4ace4 (line ~115) in "dsa_gen.c"
[4] dsa_generate_private_key(bits = 1024U), line 560 in "key.c"
[5] key_generate(type = 2, bits = 1024U), line 576 i...