From 7308aaa9b47012428c282b6399ba67a0f26d0aee Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sun, 8 Nov 2015 10:39:51 -1000 Subject: [PATCH] Remove `EC_GFp_simple_method` (dead code). Change-Id: I1820bd5412313e00a69123370178c0fe3e12b5ef Reviewed-on: https://boringssl-review.googlesource.com/6482 Reviewed-by: Adam Langley --- crypto/ec/simple.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/crypto/ec/simple.c b/crypto/ec/simple.c index f0f9d2d1..cef0e949 100644 --- a/crypto/ec/simple.c +++ b/crypto/ec/simple.c @@ -76,25 +76,6 @@ #include "internal.h" -const EC_METHOD *EC_GFp_simple_method(void) { - static const EC_METHOD ret = {ec_GFp_simple_group_init, - ec_GFp_simple_group_finish, - ec_GFp_simple_group_clear_finish, - ec_GFp_simple_group_copy, - ec_GFp_simple_group_set_curve, - ec_GFp_simple_point_get_affine_coordinates, - ec_wNAF_mul /* XXX: Not constant time. */, - ec_wNAF_precompute_mult, - ec_GFp_simple_field_mul, - ec_GFp_simple_field_sqr, - 0 /* field_encode */, - 0 /* field_decode */, - 0 /* field_set_to_one */}; - - return &ret; -} - - /* Most method functions in this file are designed to work with non-trivial * representations of field elements if necessary (see ecp_mont.c): while * standard modular addition and subtraction are used, the field_mul and