search for: rsa_pkcs1_padding

Displaying 6 results from an estimated 6 matches for "rsa_pkcs1_padding".

2002 Apr 03
2
cross compilation?
...id) -{ - int num; RSA *key; static unsigned char p_in[] = "blahblah"; - unsigned char c[256], p[256]; - memset(c, 0, sizeof(c)); RAND_add(c, sizeof(c), sizeof(c)); - if ((key=RSA_generate_key(512, 3, NULL, NULL))==NULL) return(1); - num = RSA_public_encrypt(sizeof(p_in) - 1, p_in, c, key, RSA_PKCS1_PADDING); - return(-1 == RSA_private_decrypt(num, c, p, key, RSA_PKCS1_PADDING)); -} - ], - [ + AC_TRY_LINK( + [ + #include <string.h> + #include <openssl/rand.h> + #include <openssl/rsa.h> + #include <openssl/bn.h> + #include <openssl/sha.h> + ], + [ + int num; RSA *...
2000 May 10
4
openssl w/ rsaref openssh won't configure
I have openssl-0.9.5a and openssh-2.1.0. I configured ssl with rsaref and it passes the tests. When I configure ssh I get: ---- checking for OpenSSL directory... configure: error: Could not find working SSLeay / OpenSSL libraries, please install ---- it is failing RSA_private_decrypt function call. The RSA_generate_key seems to work (does not return null) but then goes on to fail at
2002 Jul 20
0
opensc smartcard support does not work
...; ! sig.algor->parameter= &parameter; ! ! sig.digest= &digest; ! sig.digest->data=m; ! sig.digest->length=m_len; ! ! i=i2d_X509_SIG(&sig,NULL); ! ! debug3("x509 sig inlength %d\n", i); ! ! j=RSA_size(rsa); ! if ((i-RSA_PKCS1_PADDING) > j) { ! error("too big %d %d",i-RSA_PKCS1_PADDING,j); ! return 0; ! } ! ! s=xmalloc(RSA_size(rsa)+1); ! p=s; ! i2d_X509_SIG(&sig,&p); ! ! /* FIXME: length of sigret correct? */ /* FIXME: check 'type' and mod...
2001 Feb 08
1
ssh1 keyexchange problem ?
Hi, Has anybody produced diffs for openssh-2.3.0p1 for the rsa keyexchange problem that Core-SDI described ? ( I noticed that fix is already in openbsd tree ). -Jarno -- Jarno Huuskonen - System Administrator | Jarno.Huuskonen at uku.fi University of Kuopio - Computer Center | Work: +358 17 162822 PO BOX 1627, 70211 Kuopio, Finland | Mobile: +358 40 5388169
2000 Jul 19
2
Why do I *still* need RSA?
OpenSSH Developers, I'm researching whether or not OpenSSH is a viable commercial alternative to F-SECURE SSH or SSH.COM's ssh, but I'm not getting the kind of results that I expected from a "Non patent encumbered ssh client". When I attempt to build OpenSSH against an OpenSSL build without rc5, idea, or rsa it bombs since OpenSSL doesn't place the header files in the
2015 Mar 31
7
Wanted: smartcard with ECDSA support
Hi list, I have no idea if Damien Miller had the time to work on that. I have an initial patch to authenticate using PKCS#11 and ECDSA keys. This requires OpenSSL 1.0.2, prior OpenSSL versions do not expose the required interfaces to override the signature function pointer for ECDSA. The only limitation is that the OpenSSL API misses some cleanup function (finish, for instance), hence I have yet