diff options
author | Bodo Möller <bodo@openssl.org> | 2003-02-06 19:25:12 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2003-02-06 19:25:12 +0000 |
commit | 37c660ff9b22d6f0eb19a9881d3b663ca4f63449 (patch) | |
tree | b4e2e8e2eb24d85d0a9859194f34b1e62ee9f396 /crypto/ec/ec2_smpl.c | |
parent | 772ec4135c4c6f65c8cb6b3c7deb18f6e50dd6f9 (diff) | |
download | openssl-37c660ff9b22d6f0eb19a9881d3b663ca4f63449.tar.gz |
implement fast point multiplication with precomputation
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
Diffstat (limited to 'crypto/ec/ec2_smpl.c')
-rw-r--r-- | crypto/ec/ec2_smpl.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/crypto/ec/ec2_smpl.c b/crypto/ec/ec2_smpl.c index a6fa4da7e6..89e8152015 100644 --- a/crypto/ec/ec2_smpl.c +++ b/crypto/ec/ec2_smpl.c @@ -14,7 +14,7 @@ * */ /* ==================================================================== - * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. + * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -99,13 +99,17 @@ const EC_METHOD *EC_GF2m_simple_method(void) ec_GF2m_simple_add, ec_GF2m_simple_dbl, ec_GF2m_simple_invert, - ec_GF2m_simple_mul, - ec_GF2m_precompute_mult, ec_GF2m_simple_is_at_infinity, ec_GF2m_simple_is_on_curve, ec_GF2m_simple_cmp, ec_GF2m_simple_make_affine, ec_GF2m_simple_points_make_affine, + + /* the following three method functions are defined in ec2_mult.c */ + ec_GF2m_simple_mul, + ec_GF2m_precompute_mult, + ec_GF2m_have_precompute_mult, + ec_GF2m_simple_field_mul, ec_GF2m_simple_field_sqr, ec_GF2m_simple_field_div, |