help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] Using gnutls_srp_base64_decode to decode something encoded


From: Robert Hogan
Subject: [Help-gnutls] Using gnutls_srp_base64_decode to decode something encoded with SSL's EVP_Encode*
Date: Sat, 9 Feb 2008 11:40:21 +0000
User-agent: KMail/1.9.7

[originally sent to gnutls-dev in error, please ignore the post there]

Hi there,

I have the following string, which has been encoded by openssl's EVP_Encode* 
function:

8lsjlBTuh2bbNTARRgB6WnmgCm0

I want to decode it with a gnutls function, so I'm guessing 
gnutls_srp_base64_decode is the one I need. (I've tried 
gnutls_pem_base64_decode with no luck)

I can decode a result with it, however it is not the same result as if I had 
used EVP_decode*.

(Unlike with EVP_Decode I have to give it the unadorned string; EVP_Decode 
requires '8lsjlBTuh2bbNTARRgB6WnmgCm0=\n\0'. Adding the =, newline and null 
causes gnutls_srp_base64_decode to return nothing.)

Are the two incompatible? I would have though base64 was just base64!

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]