Displaying 8 results from an estimated 8 matches for "rsa_generate_additional_parameters".
2017 Jun 19
1
OpenSSL 1.1.0 support and RSA_set0_key() double frees?
Hi Jakub,
The patch for this introduces an unconditional goto at line 3344:
http://pkgs.fedoraproject.org/cgit/rpms/openssh.git/tree/openssh-7.3p1-openssl-1.1.0.patch#n3344
as shown in the below snippet:
/* calculate p-1 and q-1 */
- if ((r = rsa_generate_additional_parameters(prv->rsa)) != 0)
+ if ((r = rsa_generate_additional_parameters(prv->rsa, iqmp)) != 0)
+ BN_free(iqmp);
goto out;
/* enable blinding */
FYI,
venkat
2012 May 16
2
where is the struct RSA defined??
...source code of openssh(my source code is 6.0 for Openbsd??
The content below is Rsa.h
#ifndef RSA_H
#define RSA_H
#include <openssl/bn.h>
#include <openssl/rsa.h>
void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *);
int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *);
void rsa_generate_additional_parameters(RSA *);
#endif /* RSA_H */
Question:
Where is the file openssl/rsa.h? So where is the struct RSA defined??
2003 Jan 01
0
[Bug 462] New: compile failure with openssl 0.9.7
...]: Leaving directory `/tmp/openssh-3.5p1/openbsd-compat'
i386-slackware-linux-gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o
sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/ -lssh -lopenbsd-compat -
lutil -lz -lnsl -lcrypto -lcrypt
./libssh.a(rsa.o)(.text+0x2a4): In funcion `rsa_generate_additional_parameters'
:
: undefined reference to `BN_mod'
./libssh.a(rsa.o)(.text+0x2a6): In funcion `rsa_generate_additional_parameters'
:
: undefined reference to `BN_mod'
collect2: ld returned 1 exit status
make: *** [ssh[ Error 1
configured as follows
CFLAGS="-O2 -march=i386 -mcpu=i686 -Wall&q...
2005 Sep 10
1
Compile of openssh 4.2 failed with openssl 0.9.8
...eichnisses
?/home/tlitsch/openssh-4.2p1/openbsd-compat?
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/include/openssl
-ldl -lssh -lopenbsd-compat -lresolv -lcrypto -lutil -lz -lnsl -lcrypt
./libssh.a(rsa.o): In function `rsa_generate_additional_parameters':
rsa.o(.text+0x2b4): undefined reference to `BN_mod'
rsa.o(.text+0x2e6): undefined reference to `BN_mod'
collect2: ld returned 1 exit status
make: *** [ssh] Fehler 1
I did the ./configure with this Shell-Script:
#! /bin/bash
#
# Build or openssh
export CFLAGS="-O3 -pipe"
e...
2003 May 17
1
[Bug 569] Problem compiling openssh 3.6.1p2
...y `/tmp/openssh-3.6.1p2/openbsd-compat'
gcc -s -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o
sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/BerkeleyDB.4.1/lib -lpthread
-lgpm -lssh -lopenbsd-compat -lutil -lz -lnsl -lcrypto -lcrypt
./libssh.a(rsa.o): In function `rsa_generate_additional_parameters':
rsa.o(.text+0x284): undefined reference to `BN_mod'
rsa.o(.text+0x2b6): undefined reference to `BN_mod'
collect2: ld returned 1 exit status
gmake: *** [ssh] Error 1
It would be great if you could help me with this !
Best regards,
Pierre.
------- You are receiving this mail beca...
2001 Jul 04
0
Sneek peak at what was commited.
...[auth.c match.c sshd.8]
tridge at samba.org
- markus at cvs.openbsd.org 2001/06/27 05:35:42
[ssh-keygen.c]
use cyberflex_inq_class to inquire class.
- markus at cvs.openbsd.org 2001/06/27 05:42:25
[rsa.c rsa.h ssh-agent.c ssh-keygen.c]
s/generate_additional_parameters/rsa_generate_additional_parameters/
http://www.humppa.com/
- markus at cvs.openbsd.org 2001/06/27 06:26:36
[ssh-add.c]
convert to getopt(3)
- stevesk at cvs.openbsd.org 2001/06/28 19:57:35
[ssh-keygen.c]
'\0' terminated data[] is ok; ok markus@
- markus at cvs.openbsd.org 2001/06/29 07:06:34...
2005 Nov 17
3
4.2 and the 'last' command
We've run into an interesting dilemma regarding last log information and
ssh 4.2p1. In 3.8, we didn't see this problem, but now has cropped up
in 4.2.
When a user logs in, sshd seems to call 'last' to get the last log
information. 'last' then opens the /var/log/wtmp file and processes the
information. On some systems, this file can be quite large, and we're
seeing
2012 Jan 28
1
PATCH: Support for encrypted host keys
...void
+buffer_get_key_rsa(Buffer *buffer, RSA *key)
+{
+ buffer_get_bignum(buffer, key->e);
+ buffer_get_bignum(buffer, key->n);
+ buffer_get_bignum(buffer, key->d);
+ buffer_get_bignum(buffer, key->iqmp);
+ buffer_get_bignum(buffer, key->p);
+ buffer_get_bignum(buffer, key->q);
+ rsa_generate_additional_parameters(key);
+}
+
+static void
+buffer_put_key_dsa(Buffer *buffer, const DSA *key)
+{
+ buffer_put_bignum(buffer, key->p);
+ buffer_put_bignum(buffer, key->q);
+ buffer_put_bignum(buffer, key->g);
+ buffer_put_bignum(buffer, key->pub_key);
+ buffer_put_bignum(buffer, key->priv_key);
+}
+
+s...