diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/bn/bn_mod_exp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_mod_exp.c b/src/regress/lib/libcrypto/bn/bn_mod_exp.c index ba70fdee51..67445c37b3 100644 --- a/src/regress/lib/libcrypto/bn/bn_mod_exp.c +++ b/src/regress/lib/libcrypto/bn/bn_mod_exp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_mod_exp.c,v 1.14 2023/03/18 09:09:11 tb Exp $ */ | 1 | /* $OpenBSD: bn_mod_exp.c,v 1.15 2023/03/18 13:04:02 tb Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org> |
| @@ -29,9 +29,9 @@ | |||
| 29 | 29 | ||
| 30 | static const struct mod_exp_zero_test { | 30 | static const struct mod_exp_zero_test { |
| 31 | const char *name; | 31 | const char *name; |
| 32 | int (*mod_exp_fn)(BIGNUM *,const BIGNUM *, const BIGNUM *, | 32 | int (*mod_exp_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *, |
| 33 | const BIGNUM *, BN_CTX *); | 33 | const BIGNUM *, BN_CTX *); |
| 34 | int (*mod_exp_mont_fn)(BIGNUM *,const BIGNUM *, const BIGNUM *, | 34 | int (*mod_exp_mont_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *, |
| 35 | const BIGNUM *, BN_CTX *, BN_MONT_CTX *); | 35 | const BIGNUM *, BN_CTX *, BN_MONT_CTX *); |
| 36 | } mod_exp_zero_test_data[] = { | 36 | } mod_exp_zero_test_data[] = { |
| 37 | INIT_MOD_EXP_FN(BN_mod_exp), | 37 | INIT_MOD_EXP_FN(BN_mod_exp), |
| @@ -180,9 +180,9 @@ run_bn_mod_exp_zero_tests(void) | |||
| 180 | 180 | ||
| 181 | static const struct mod_exp_test { | 181 | static const struct mod_exp_test { |
| 182 | const char *name; | 182 | const char *name; |
| 183 | int (*mod_exp_fn)(BIGNUM *,const BIGNUM *, const BIGNUM *, | 183 | int (*mod_exp_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *, |
| 184 | const BIGNUM *, BN_CTX *); | 184 | const BIGNUM *, BN_CTX *); |
| 185 | int (*mod_exp_mont_fn)(BIGNUM *,const BIGNUM *, const BIGNUM *, | 185 | int (*mod_exp_mont_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *, |
| 186 | const BIGNUM *, BN_CTX *, BN_MONT_CTX *); | 186 | const BIGNUM *, BN_CTX *, BN_MONT_CTX *); |
| 187 | } mod_exp_fn[] = { | 187 | } mod_exp_fn[] = { |
| 188 | INIT_MOD_EXP_FN(BN_mod_exp), | 188 | INIT_MOD_EXP_FN(BN_mod_exp), |
