Re: error in encrypt / Decrypt

Tomas Mraz <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
Hello,

asymmetric encryption using EC keys is not supported by the OpenSSL
providers.

Tomas Mraz, OpenSSL


On Sat, 2024-08-31 at 05:52 -0700, lokesh chakka wrote:
> hello,
> 
> Please refer to the attached sample code.
> 
> EVP_PKEY_encrypt_init is giving following error :
> 
> ==============================================================
> 40F755D58C730000:error:03000096:digital envelope
> routines:evp_pkey_asym_cipher_init:operation not supported for this
> keytype:../crypto/evp/asymcipher.c:189:
> encrypt_using_DER_public_key 52
> ==============================================================
> 
> Can someone help me understand how to fix the issue ?
> 
> Thanks.
> Lokesh.
> -- 
> You received this message because you are subscribed to the Google
> Groups "openssl-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/a/openssl.org/d/msgid/openssl-users/8785d9b5-ded1-4dad-9e9a-8dbffb346cd1n%40openssl.org
> .

-- 
Tomáš Mráz, OpenSSL

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion on the web visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/277dda0d3106a96ce1240a2afbf0ff2ccdeef3af.camel%40openssl.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.