Re: [PATCH] Extend OAEP support

2019-09-05 Thread Kinichiro Inoguchi
I thought this patch could give an ability to handle OAEP label with openssl(1) pkeyutl command, and encryption works fine, but decryption fails. -- openssl genrsa -out rsakey.pem echo "abcd" | openssl pkeyutl -encrypt -inkey rsak

[PATCH] Extend OAEP support

2019-09-03 Thread Stefan Strogin
Provide methods: EVP_PKEY_CTX_{g,s}et_rsa_oaep_md, EVP_PKEY_CTX_{g,s}et0_rsa_oaep_label. Based on Stephen Henson's patches for OpenSSL 1.1.0: https://github.com/openssl/openssl/commit/271fef0ef39a1c0cb5233a5adf3ff8733abb375e https://github.com/openssl/openssl/commit/211a14f6279f127f7a5a59948819bd9