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 performan
Hi guys,
I generated RSA private key and public key as below,
openssl genpkey -algorithm RSA -out key.pem -pkeyopt rsa_keygen_bits:2048
openssl rsa -pubout -in pri.key -out pub.key
And encrypted text file as below,
openssl pkeyutl -encrypt -pubin -inkey ~/pub.key -in ~/1.txt -out ~/1e.txt
Thanks,
Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/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 18:11:27 + (UTC),
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 retrieved from IEEE
cert
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 Mercol
Couldn't you just use EVP_PKEY_get1_EC_KEY?
https://www.openssl.org/docs/man1.0.2/crypto/EVP_PKEY_get1_EC_KEY.html
Cheers,
Ethan
On Wed, Mar 22, 2017 at 10:48 AM, Christian Adja via openssl-users <
openssl-users@openssl.org> wrote:
> Good evening everybody,
> I need help about to transform pub
or are suggesting that there is a way to do that given the
> already
> exposed functionality? If it is the latter could you point me in the right
> direction?
OpenSSL code does not do what you want.? You'll have to write it
--
Subject: Digest
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 Merco