diff options
author | Andy Polyakov <appro@openssl.org> | 2014-09-12 00:13:20 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2014-09-12 00:13:20 +0200 |
commit | f54be179aa4cbbd944728771d7d59ed588158a12 (patch) | |
tree | 0dc5e2fa108f0db85230a0ce2d040eb7597642b4 /crypto/ec/ec.h | |
parent | perlasm/x86_64-xlate.pl: handle inter-bank movd. (diff) | |
download | openssl-f54be179aa4cbbd944728771d7d59ed588158a12.tar.xz openssl-f54be179aa4cbbd944728771d7d59ed588158a12.zip |
Reserve option to use BN_mod_exp_mont_consttime in ECDSA.
Submitted by Shay Gueron, Intel Corp.
RT: 3149
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ec/ec.h')
-rw-r--r-- | crypto/ec/ec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index 3601de2c0f..99e161e753 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -245,6 +245,12 @@ int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, const BIG */ const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group); +/** Returns the montgomery data for order(Generator) + * \param group EC_GROUP object + * \return the currently used generator (possibly NULL). +*/ +BN_MONT_CTX *EC_GROUP_get_mont_data(const EC_GROUP *group); + /** Gets the order of a EC_GROUP * \param group EC_GROUP object * \param order BIGNUM to which the order is copied |