]> git.ipfire.org Git - thirdparty/gnutls.git/commit
spki: support RSA-OAEP parameters
authorDaiki Ueno <ueno@gnu.org>
Thu, 8 Feb 2024 06:32:37 +0000 (15:32 +0900)
committerDaiki Ueno <ueno@gnu.org>
Sun, 18 Feb 2024 07:12:43 +0000 (16:12 +0900)
commitb79e04228bd998cd438cc13cc002e92ddbbba692
treeb59bc0b89d333efb6e5f0608257ba3b319b24ffa
parent6d6e0971df54c51e6765a4c2740b83c5f4701088
spki: support RSA-OAEP parameters

This adds a new API gnutls_x509_spki_{get,set}_rsa_oaep_params to
retrieve and store RSA-OAEP parameters embedded in
SubjectPublicKeyInfo.

As RSA-OAEP labels are allocated, this also adds copy and clear method
on the gnutls_x509_spki_st struct and use them extensively instead of
memcpy and memset.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
19 files changed:
devel/libgnutls.abignore
devel/symbols.last
doc/Makefile.am
doc/manpages/Makefile.am
lib/crypto-backend.h
lib/includes/gnutls/x509.h
lib/libgnutls.map
lib/nettle/pk.c
lib/pk.c
lib/privkey.c
lib/pubkey.c
lib/x509/crq.c
lib/x509/privkey.c
lib/x509/privkey_pkcs8.c
lib/x509/sign.c
lib/x509/spki.c
lib/x509/verify.c
lib/x509/x509_int.h
lib/x509/x509_write.c