Displaying 9 results from an estimated 9 matches for "rsa_siz".
Did you mean:
rsa_size
2002 Apr 24
2
RSA_verify question on OpenSSH Client w/ OpenSSL0.9.6a
...RSA key exchange:
RSA_verify(..)routine.
I see:
error at:int RSA_verify(int dtype, unsigned char *m,
unsigned int m_len,
unsigned char *sigbuf, unsigned int siglen,
RSA *rsa)
{
int i,ret=0,sigtype;
unsigned char *p,*s;
X509_SIG *sig=NULL;
if (siglen != (unsigned int)RSA_size(rsa))
{
RSAerr(RSA_F_RSA_VERIFY,RSA_R_WRONG_SIGNATURE_LENGTH);
return(0);
}
debugger output:
Breakpoint 1, RSA_verify (dtype=64,
m=0x199d380 "mB?\tP???\t?Wz\227\226?\a0?[?UU",
m_len=20,
sigbuf=0x1990300
"\0205:\t\026\217????\206b#??nG?\177?...
2002 Jul 20
0
opensc smartcard support does not work
...ME: length of sigret correct? */
/* FIXME: check 'type' and modify flags accordingly */
! flags = SC_ALGORITHM_RSA_PAD_PKCS1 | SC_ALGORITHM_RSA_HASH_SHA1;
r = sc_pkcs15_compute_signature(p15card, key_obj, flags,
! m, m_len, sigret, RSA_size(rsa));
sc_unlock(card);
if (r < 0) {
error("sc_pkcs15_compute_signature() failed: %s",
sc_strerror(r));
goto err;
}
*siglen = r;
return 1;
err:
--- 194,253 ----
unsigned char *sigre...
2000 Mar 17
2
Problem with 1.2.3pre4 and RSAref
The following code snippet will not compile support for RSAref on NetBSD even
if it exists on the system (which breaks OpenSSL):
for WANTS_RSAREF in "" 1 ; do
if test -z "$WANTS_RSAREF" ; then
LIBS="$saved_LIBS -lcrypto"
else
LIBS="$saved_LIBS -lcrypto -lRSAglue
2004 Jul 30
1
Compiling * on OpenBSD 3.5
...ibssl.so.8.0: undefined reference to `d2i_X509_NAME'
/usr/lib/libssl.so.8.0: undefined reference to `RSA_flags'
/usr/lib/libssl.so.8.0: undefined reference to `d2i_X509'
/usr/lib/libssl.so.8.0: undefined reference to `asn1_GetSequence'
/usr/lib/libssl.so.8.0: undefined reference to `RSA_size'
/usr/lib/libssl.so.8.0: undefined reference to `RAND_pseudo_bytes'
/usr/lib/libssl.so.8.0: undefined reference to `BIO_s_connect'
/usr/lib/libssl.so.8.0: undefined reference to `EVP_PKEY_free'
/usr/lib/libssl.so.8.0: undefined reference to `X509_TRUST_set'
/usr/lib/libssl.so.8...
2013 May 15
2
Support for "ssh-rsa-sha256" and "ssh-dss-sha256" ?
Functionality request for supporting Digital Signatures for RSA and DSS
Public Key Algorithms in alignment with NIST SP800-131A.
I
assume this has been asked before, but I could not find in the
archives. Support of "ssh-rsa-sha256" and "ssh-dss-sha256" public key
algorithms for OpenSSH? I know Suite B Algorithms and x509 SSH
Extension Algorithms are supported, but not a
2000 May 10
4
openssl w/ rsaref openssh won't configure
...include <openssl/sha.h>
int main(void)
{
RSA *key; char a[2048],b[2048];;
memset(a, 0, sizeof(a));memset(b, 0, sizeof(b));
RAND_add(a, sizeof(a), sizeof(a));
key=RSA_generate_key(32,3,NULL,NULL);
if (key==NULL) return(1);
return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING));
}
2000 May 14
0
OpenSSH 2.1.0+OpenSSL 0.9.5a+RSAref 2.0 trouble
...t;openssl/sha.h>
int main(void)
{
RSA *key; char a[2048],b[2048];;
memset(a, 0, sizeof(a));memset(b, 0, sizeof(b));
RAND_add(a, sizeof(a), sizeof(a));
key=RSA_generate_key(32,3,NULL,NULL);
---> if (key==NULL) return(1);
return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING));
}
The arrowhead points to the line that fails.
I built this exact code on a Linux system, then wrote a Perl wrapper to
get the return code. I got the 1 return code per that arrowheaded line.
It should also be noted that I used the standard RSARef 2.0 code with an...
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
2005 Aug 09
2
error compiling asterisk on solaris
...reference to `d2i_X509_NAME'
/usr/local/ssl/lib/libssl.so: undefined reference to `RSA_flags'
/usr/local/ssl/lib/libssl.so: undefined reference to `d2i_X509'
/usr/local/ssl/lib/libssl.so: undefined reference to `asn1_GetSequence'
/usr/local/ssl/lib/libssl.so: undefined reference to `RSA_size'
/usr/local/ssl/lib/libssl.so: undefined reference to `RAND_pseudo_bytes'
/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_s_connect'
/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_PKEY_free'
/usr/local/ssl/lib/libssl.so: undefined reference to `MD5_Update'...