diff options
author | Bodo Möller <bodo@openssl.org> | 2001-03-12 08:26:23 +0100 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-03-12 08:26:23 +0100 |
commit | 194dd04699f03af4cf7f7f88ecf31f243a19552b (patch) | |
tree | e2366ec0a8ad2af744f444cc50df88a8778b4d6a /crypto/ec/ec_mult.c | |
parent | Add various X9.62 OIDs. (GF(2^n) mostly left out.) (diff) | |
download | openssl-194dd04699f03af4cf7f7f88ecf31f243a19552b.tar.xz openssl-194dd04699f03af4cf7f7f88ecf31f243a19552b.zip |
Rename function EC_GROUP_precompute to EC_GROUP_precompute_mult,
which indicate its purpose more clearly.
Diffstat (limited to 'crypto/ec/ec_mult.c')
-rw-r--r-- | crypto/ec/ec_mult.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c index 0a749e83d3..19d2336784 100644 --- a/crypto/ec/ec_mult.c +++ b/crypto/ec/ec_mult.c @@ -309,7 +309,7 @@ int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, con } -int EC_GROUP_precompute(EC_GROUP *group, BN_CTX *ctx) +int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx) { const EC_POINT *generator; BN_CTX *new_ctx = NULL; @@ -319,7 +319,7 @@ int EC_GROUP_precompute(EC_GROUP *group, BN_CTX *ctx) generator = EC_GROUP_get0_generator(group); if (generator == NULL) { - ECerr(EC_F_EC_GROUP_PRECOMPUTE, EC_R_UNDEFINED_GENERATOR); + ECerr(EC_F_EC_GROUP_PRECOMPUTE_MULT, EC_R_UNDEFINED_GENERATOR); return 0; } @@ -337,7 +337,7 @@ int EC_GROUP_precompute(EC_GROUP *group, BN_CTX *ctx) if (!EC_GROUP_get_order(group, order, ctx)) return 0; if (BN_is_zero(order)) { - ECerr(EC_F_EC_GROUP_PRECOMPUTE, EC_R_UNKNOWN_ORDER); + ECerr(EC_F_EC_GROUP_PRECOMPUTE_MULT, EC_R_UNKNOWN_ORDER); goto err; } |