_libre_BIGNUM_it
_libre_LONG_it
_libre_ZLONG_it
+_libre_RSAPublicKey_it
+_libre_RSAPrivateKey_it
+_libre_RSA_PSS_PARAMS_it
+_libre_RSA_OAEP_PARAMS_it
+_libre_RSAPublicKey_it
+_libre_RSAPrivateKey_it
+_libre_RSA_PSS_PARAMS_it
+_libre_RSA_OAEP_PARAMS_it
-/* $OpenBSD: rsa.h,v 1.2 2023/07/28 10:05:16 tb Exp $ */
+/* $OpenBSD: rsa.h,v 1.3 2024/07/08 17:10:18 beck Exp $ */
/*
* Copyright (c) 2023 Bob Beck <beck@openbsd.org>
*
LCRYPTO_USED(RSA_meth_get_verify);
LCRYPTO_USED(RSA_meth_set_verify);
LCRYPTO_USED(ERR_load_RSA_strings);
+#if defined(LIBRESSL_NAMESPACE)
+extern LCRYPTO_USED(RSAPublicKey_it);
+extern LCRYPTO_USED(RSAPrivateKey_it);
+extern LCRYPTO_USED(RSA_PSS_PARAMS_it);
+extern LCRYPTO_USED(RSA_OAEP_PARAMS_it);
+#endif
#endif /* _LIBCRYPTO_RSA_H */
-/* $OpenBSD: rsa_asn1.c,v 1.17 2023/07/08 12:26:45 beck Exp $ */
+/* $OpenBSD: rsa_asn1.c,v 1.18 2024/07/08 17:10:18 beck Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
.size = sizeof(RSA),
.sname = "RSA",
};
+LCRYPTO_ALIAS(RSAPrivateKey_it);
static const ASN1_AUX RSAPublicKey_aux = {
.size = sizeof(RSA),
.sname = "RSA",
};
+LCRYPTO_ALIAS(RSAPublicKey_it);
static int
rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
.size = sizeof(RSA_PSS_PARAMS),
.sname = "RSA_PSS_PARAMS",
};
+LCRYPTO_ALIAS(RSA_PSS_PARAMS_it);
RSA_PSS_PARAMS *
d2i_RSA_PSS_PARAMS(RSA_PSS_PARAMS **a, const unsigned char **in, long len)
.size = sizeof(RSA_OAEP_PARAMS),
.sname = "RSA_OAEP_PARAMS",
};
+LCRYPTO_ALIAS(RSA_OAEP_PARAMS_it);
RSA_OAEP_PARAMS *