diff options
author | tb <> | 2023-08-09 09:09:24 +0000 |
---|---|---|
committer | tb <> | 2023-08-09 09:09:24 +0000 |
commit | 95e0708389805cb1b16c1ce58b7f070258d316cd (patch) | |
tree | 41a815a3c376b191177486d9fb4d5299c7ef7093 /src/lib/libcrypto/rsa/rsa_crpt.c | |
parent | b747bfb735f278053b97b609afd7fa3b35ee1582 (diff) | |
download | openbsd-95e0708389805cb1b16c1ce58b7f070258d316cd.tar.gz openbsd-95e0708389805cb1b16c1ce58b7f070258d316cd.tar.bz2 openbsd-95e0708389805cb1b16c1ce58b7f070258d316cd.zip |
Merge BN_BLINDING_create_param() into BN_BLINDING_new()
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_crpt.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_crpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_crpt.c b/src/lib/libcrypto/rsa/rsa_crpt.c index 99086735ea..4739b76240 100644 --- a/src/lib/libcrypto/rsa/rsa_crpt.c +++ b/src/lib/libcrypto/rsa/rsa_crpt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_crpt.c,v 1.25 2023/08/08 15:18:24 tb Exp $ */ | 1 | /* $OpenBSD: rsa_crpt.c,v 1.26 2023/08/09 09:09:24 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 | * |
@@ -209,7 +209,7 @@ RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx) | |||
209 | BN_init(&n); | 209 | BN_init(&n); |
210 | BN_with_flags(&n, rsa->n, BN_FLG_CONSTTIME); | 210 | BN_with_flags(&n, rsa->n, BN_FLG_CONSTTIME); |
211 | 211 | ||
212 | if ((ret = BN_BLINDING_create_param(e, &n, ctx, rsa->meth->bn_mod_exp, | 212 | if ((ret = BN_BLINDING_new(e, &n, ctx, rsa->meth->bn_mod_exp, |
213 | rsa->_method_mod_n)) == NULL) { | 213 | rsa->_method_mod_n)) == NULL) { |
214 | RSAerror(ERR_R_BN_LIB); | 214 | RSAerror(ERR_R_BN_LIB); |
215 | goto err; | 215 | goto err; |