summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa.h
diff options
context:
space:
mode:
authortb <>2022-01-14 07:49:49 +0000
committertb <>2022-01-14 07:49:49 +0000
commit8c60ea70a3180083dd57070d774a38f43ce0ea08 (patch)
tree86eaa4f6c31663bf615ddba9616c66030e99b5c9 /src/lib/libcrypto/rsa/rsa.h
parent55b6b15a4f08444e468a207fc894ef005c2fb5fa (diff)
downloadopenbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.tar.gz
openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.tar.bz2
openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.zip
Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_API
This marks the start of major surgery in libcrypto. Do not attempt to build the tree for a while (~50 commits).
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r--src/lib/libcrypto/rsa/rsa.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h
index 9dea6c37c0..daefcb85b2 100644
--- a/src/lib/libcrypto/rsa/rsa.h
+++ b/src/lib/libcrypto/rsa/rsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa.h,v 1.52 2022/01/05 20:44:12 tb Exp $ */ 1/* $OpenBSD: rsa.h,v 1.53 2022/01/14 07:49:49 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -470,7 +470,6 @@ void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
470int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); 470int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
471void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); 471void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
472int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); 472int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
473#if defined(LIBRESSL_OPAQUE_RSA) || defined(LIBRESSL_CRYPTO_INTERNAL)
474const BIGNUM *RSA_get0_n(const RSA *r); 473const BIGNUM *RSA_get0_n(const RSA *r);
475const BIGNUM *RSA_get0_e(const RSA *r); 474const BIGNUM *RSA_get0_e(const RSA *r);
476const BIGNUM *RSA_get0_d(const RSA *r); 475const BIGNUM *RSA_get0_d(const RSA *r);
@@ -480,7 +479,6 @@ const BIGNUM *RSA_get0_dmp1(const RSA *r);
480const BIGNUM *RSA_get0_dmq1(const RSA *r); 479const BIGNUM *RSA_get0_dmq1(const RSA *r);
481const BIGNUM *RSA_get0_iqmp(const RSA *r); 480const BIGNUM *RSA_get0_iqmp(const RSA *r);
482const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r); 481const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
483#endif
484void RSA_clear_flags(RSA *r, int flags); 482void RSA_clear_flags(RSA *r, int flags);
485int RSA_test_flags(const RSA *r, int flags); 483int RSA_test_flags(const RSA *r, int flags);
486void RSA_set_flags(RSA *r, int flags); 484void RSA_set_flags(RSA *r, int flags);