/external/boringssl/src/crypto/fipsmodule/ec/ |
scalar.c | 24 int ec_bignum_to_scalar(const EC_GROUP *group, EC_SCALAR *out, 34 int ec_scalar_equal_vartime(const EC_GROUP *group, const EC_SCALAR *a, 35 const EC_SCALAR *b) { 40 int ec_scalar_is_zero(const EC_GROUP *group, const EC_SCALAR *a) { 48 int ec_random_nonzero_scalar(const EC_GROUP *group, EC_SCALAR *out, 54 void ec_scalar_add(const EC_GROUP *group, EC_SCALAR *r, const EC_SCALAR *a, 55 const EC_SCALAR *b) { 62 void ec_scalar_to_montgomery(const EC_GROUP *group, EC_SCALAR *r, 63 const EC_SCALAR *a) [all...] |
internal.h | 94 // An EC_SCALAR is an integer fully reduced modulo the order. Only the first 95 // |order->width| words are used. An |EC_SCALAR| is specific to an |EC_GROUP| 101 } EC_SCALAR; 148 void (*mul)(const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *g_scalar, 149 const EC_RAW_POINT *p, const EC_SCALAR *p_scalar); 154 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 155 const EC_SCALAR *p_scalar); 179 void (*scalar_inv_montgomery)(const EC_GROUP *group, EC_SCALAR *out, 180 const EC_SCALAR *in); 185 int (*scalar_inv_montgomery_vartime)(const EC_GROUP *group, EC_SCALAR *out [all...] |
simple_mul.c | 26 const EC_SCALAR *scalar) { 83 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 84 const EC_SCALAR *p_scalar) {
|
wnaf.c | 88 const EC_SCALAR *scalar, size_t bits, int w) { 178 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 179 const EC_SCALAR *p_scalar) {
|
simple.c | 355 EC_SCALAR *out, 356 const EC_SCALAR *in) { 370 const EC_SCALAR *r) { 377 EC_SCALAR x;
|
p256-x86_64.c | 204 const EC_SCALAR *p_scalar) { 320 const EC_SCALAR *g_scalar, 322 const EC_SCALAR *p_scalar, 344 const EC_SCALAR *g_scalar, 346 const EC_SCALAR *p_scalar) { 391 const EC_SCALAR *g_scalar, 393 const EC_SCALAR *p_scalar) { 503 static void ecp_nistz256_inv_mod_ord(const EC_GROUP *group, EC_SCALAR *out, 504 const EC_SCALAR *in) { 585 EC_SCALAR *out [all...] |
ec.c | 858 static int arbitrary_bignum_to_scalar(const EC_GROUP *group, EC_SCALAR *out, 895 EC_SCALAR g_scalar_storage, p_scalar_storage; 896 EC_SCALAR *g_scalar_arg = NULL, *p_scalar_arg = NULL; 931 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 932 const EC_SCALAR *p_scalar) { 944 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 945 const EC_SCALAR *p_scalar) { 957 const EC_SCALAR *r) { 961 int ec_get_x_coordinate_as_scalar(const EC_GROUP *group, EC_SCALAR *out, [all...] |
ec_montgomery.c | 422 const EC_SCALAR *r) {
|
p224-64.c | [all...] |
ec_test.cc | 312 // group4 has non-minimal components that do not fit in |EC_SCALAR| and the 741 EC_SCALAR one; [all...] |
p256-x86_64_test.cc | 116 EC_SCALAR in_scalar, out_scalar, result;
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
ecdsa.c | 72 static void digest_to_scalar(const EC_GROUP *group, EC_SCALAR *out, 81 OPENSSL_memset(out, 0, sizeof(EC_SCALAR)); 155 EC_SCALAR r, s, u1, u2, s_inv_mont, m; 190 static int ecdsa_sign_setup(const EC_KEY *eckey, EC_SCALAR *out_kinv_mont, 191 EC_SCALAR *out_r, const uint8_t *digest, 192 size_t digest_len, const EC_SCALAR *priv_key) { 203 EC_SCALAR k; 261 const EC_SCALAR *priv_key = &eckey->priv_key->scalar; 265 EC_SCALAR kinv_mont, r_mont, s, m, tmp;
|
/external/boringssl/src/crypto/ecdh_extra/ |
ecdh_extra.c | 88 const EC_SCALAR *const priv = &priv_key->priv_key->scalar;
|
/external/boringssl/src/crypto/fipsmodule/ecdh/ |
ecdh.c | 86 const EC_SCALAR *const priv = &priv_key->priv_key->scalar;
|
/external/boringssl/src/third_party/fiat/ |
p256.c | [all...] |