diff options
author | jsing <> | 2019-10-31 13:56:29 +0000 |
---|---|---|
committer | jsing <> | 2019-10-31 13:56:29 +0000 |
commit | f423c1be64ebf3368add6bb5bb8ccfd7353f5101 (patch) | |
tree | e3ca88f44b13c8e50b648e4fb2179ff06bfe6614 /src/lib/libcrypto/rsa/rsa_locl.h | |
parent | f098d438361a13d0852404f0d8bb32359469e033 (diff) | |
download | openbsd-f423c1be64ebf3368add6bb5bb8ccfd7353f5101.tar.gz openbsd-f423c1be64ebf3368add6bb5bb8ccfd7353f5101.tar.bz2 openbsd-f423c1be64ebf3368add6bb5bb8ccfd7353f5101.zip |
Add support for RSA-PSS.
From OpenSSL 1.1.1d.
ok inoguchi@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_locl.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_locl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_locl.h b/src/lib/libcrypto/rsa/rsa_locl.h index a10ea958b5..d69946f95c 100644 --- a/src/lib/libcrypto/rsa/rsa_locl.h +++ b/src/lib/libcrypto/rsa/rsa_locl.h | |||
@@ -1,9 +1,14 @@ | |||
1 | /* $OpenBSD: rsa_locl.h,v 1.7 2019/10/31 13:10:40 jsing Exp $ */ | 1 | /* $OpenBSD: rsa_locl.h,v 1.8 2019/10/31 13:56:29 jsing Exp $ */ |
2 | 2 | ||
3 | __BEGIN_HIDDEN_DECLS | 3 | __BEGIN_HIDDEN_DECLS |
4 | 4 | ||
5 | #define RSA_MIN_MODULUS_BITS 512 | 5 | #define RSA_MIN_MODULUS_BITS 512 |
6 | 6 | ||
7 | RSA_PSS_PARAMS *rsa_pss_params_create(const EVP_MD *sigmd, const EVP_MD *mgf1md, | ||
8 | int saltlen); | ||
9 | int rsa_pss_get_param(const RSA_PSS_PARAMS *pss, const EVP_MD **pmd, | ||
10 | const EVP_MD **pmgf1md, int *psaltlen); | ||
11 | |||
7 | typedef struct rsa_oaep_params_st { | 12 | typedef struct rsa_oaep_params_st { |
8 | X509_ALGOR *hashFunc; | 13 | X509_ALGOR *hashFunc; |
9 | X509_ALGOR *maskGenFunc; | 14 | X509_ALGOR *maskGenFunc; |