HI,

We have openssl generating an RSA 1024/1001 key, using openssl the routines produce a 
X509 encoded public key of 159 bytes. 

This encoded key is successfully decoded and read into an IAIK key. If you then try to 
get the encoded public key out of the IAIK key you get a byte array of 161 bytes !!

Data signed by the openssl code is successfully verified by the IAIK code.

This is normally not a problem but we do some key comparisons that make used of the 
length parameter which is causing us difficulties !


Does anyone know why they should be different (padding ?) and any possible ways of 
making them the same ?

Many thanks


Nick Farrow
 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to