Re: [openssl-users] openssl-users Digest, Vol 28, Issue 21

2017-03-23 Thread Matt Caswell
On 23/03/17 03:47, Kane Huang wrote: > Hi guys, > > I want to use "multiblock" introduced from 1.0.2 to improve performance > of ipsec packet process, which use aes_cbc_hmac_sha as main algorithm. > > I have try openssl speed test with ‘-mb’ and I observe that the test > code use big buffer

Re: [openssl-users] openssl-users Digest, Vol 28, Issue 21

2017-03-22 Thread Kane Huang
Hi guys, I want to use "multiblock" introduced from 1.0.2 to improve performance of ipsec packet process, which use aes_cbc_hmac_sha as main algorithm. I have try openssl speed test with ‘-mb’ and I observe that the test code use big buffer size from 8192 to 131072, that show dramatic

Re: [openssl-users] openssl-users Digest, Vol 28, Issue 21

2017-03-22 Thread Christian Adja via openssl-users
Ok, thanks but the key is not in DER but COER, there are ways to transform it in DER. Thanks Best regards Christian Adja Il Mercoledì 22 Marzo 2017 20:08, Richard Levitte ha scritto: In message <787239451.2530096.1490206287...@mail.yahoo.com> on Wed, 22 Mar 2017

Re: [openssl-users] openssl-users Digest, Vol 28, Issue 21

2017-03-22 Thread Richard Levitte
In message <787239451.2530096.1490206287...@mail.yahoo.com> on Wed, 22 Mar 2017 18:11:27 + (UTC), Christian Adja said: christian_adja> Thanks for the response, but haven't the evp_pkey struct of the public christian_adja> key. I' ve only the an bytes string that i

Re: [openssl-users] openssl-users Digest, Vol 28, Issue 21

2017-03-22 Thread Christian Adja via openssl-users
cheers, Thanks for the response, but haven't the evp_pkey struct of the public key. I' ve only the an bytes string that i retrieved from IEEE cert with "PEM_bytes_read_bio()". Now in want to form the ec_key struct and then the  evp_pkey struct. Thanks Best regards Christian Adja Il

Re: [openssl-users] openssl-users Digest, Vol 28, Issue 21

2017-03-22 Thread Christian Adja via openssl-users
Good evening everybody,I need help about to transform public key (unsigned char *) retrieved from IEEE cert in EVP_PKEY o EC_KEY. The public key is an ecdsaNistP256 in compressed form (compressedy1). The public key form in hex = |00|80|83|x point (32 bytes)| Thanks, Best Regards Il