Re: Using EVP_PKEY with EVP_EncryptInit_ex

2020-04-01 Thread Andrew Felsher
ssuming that I can't somehow use the RSA private key's bits as my symmetric key, how should I generate a key without requiring user interaction? Simply calling RAND_bytes? -Andrew On Wed, Apr 1, 2020 at 12:53 PM Matt Caswell wrote: > > > On 01/04/2020 17:34, Andrew Felsher wrote

Using EVP_PKEY with EVP_EncryptInit_ex

2020-04-01 Thread Andrew Felsher
Hi, I'm trying to do what I assumed would be a very common and typical use of OpenSSL. I'm just encrypting and decrypting some data (in code; not from command line). EVP_EncryptInit_ex (and decrypt, update, and final variants) are the standard way to do this. However, the init functions take a ch

[openssl-users] X509_ATTRIBUTE_create_by_NID reversing ASN1 sequence

2017-11-21 Thread Andrew Felsher
0 53 74 72 65 65 74 -- -- -- -- -- -- -- -- r Street Any idea what could be causing that? Thanks, Andrew Felsher -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[openssl-users] X509_ATTRIBUTE_create_by_NID reversing sequence

2017-11-20 Thread Andrew Felsher
seem to be reversed in the output: : 30 26 06 03 55 04 10 31 1F 1B 02 55 4B 1B 06 4C 0&..U..1...UK..L 0010: 6F 6E 64 6F 6E 1B 11 32 32 31 42 20 42 61 6B 65 ondon..221B Bake 0020: 72 20 53 74 72 65 65 74 -- -- -- -- -- -- -- -- r Street Any idea what could be causing that? Thanks,

[openssl-users] X509_ATTRIBUTE_create_by_NID reversing sequence

2017-11-20 Thread Andrew Felsher
seem to be reversed in the output: : 30 26 06 03 55 04 10 31 1F 1B 02 55 4B 1B 06 4C 0&..U..1...UK..L 0010: 6F 6E 64 6F 6E 1B 11 32 32 31 42 20 42 61 6B 65 ondon..221B Bake 0020: 72 20 53 74 72 65 65 74 -- -- -- -- -- -- -- -- r Street Any idea what could be causing that? Thanks,