[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

[PATCH v2] Provide static_ASN1_*(). From OpenSSL 1.1.0 API

2019-08-16 Thread Stefan Strogin
v1->v2: Use correct static_ASN1_ITEM_start macros instead of ASN1_ITEM_start in static_ASN1_SEQUENCE_END_ref definition. --- src/lib/libcrypto/asn1/asn1t.h | 62 ++ 1 file changed, 62 insertions(+) diff --git a/src/lib/libcrypto/asn1/asn1t.h b/src/lib/libcrypto/asn

Re: [PATCH] Provide static_ASN1_*(). From OpenSSL 1.1.0 API.

2019-08-16 Thread Stefan Strogin
On 23/07/2019 17:29, Kinichiro Inoguchi wrote: > Hi, > > +#define static_ASN1_SEQUENCE_END_ref(stname, tname) \ > + ;\ > + ASN1_ITEM_start(tname) \ > > I think this should be "static_ASN1_ITEM_start" instead "ASN1_ITEM_start". > Thank you, you are right, of course. I shall resend the pa

Re: [PATCH] Provide static_ASN1_*(). From OpenSSL 1.1.0 API.

2019-07-22 Thread Stefan Strogin
Hi Theo, On 24/05/2019 16:27, Theo Buehler wrote: > On Fri, May 24, 2019 at 04:22:06PM +0300, Stefan Strogin wrote: >> Could somebody review the patch please? > > We saw the pull request and will look into it soon. Apologies, we are > all currently very busy. How do you do?

Re: [PATCH] Provide static_ASN1_*(). From OpenSSL 1.1.0 API.

2019-05-24 Thread Stefan Strogin
Could somebody review the patch please? Or have I done something wrong sending it to this mailing list? Some user-space programs use this API: https://github.com/krb5/krb5/blob/9eb937a6e1f740d323221813e5da096d30bd68de/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c#L3060 Without it we have to

[PATCH] Provide static_ASN1_*(). From OpenSSL 1.1.0 API.

2019-05-16 Thread Stefan Strogin
--- src/lib/libcrypto/asn1/asn1t.h | 62 ++ 1 file changed, 62 insertions(+) diff --git a/src/lib/libcrypto/asn1/asn1t.h b/src/lib/libcrypto/asn1/asn1t.h index ba380bdf4..5e229e39d 100644 --- a/src/lib/libcrypto/asn1/asn1t.h +++ b/src/lib/libcrypto/asn1/asn1t.h @@