Searched refs:p_scalar (Results 1 - 4 of 4) sorted by relevance
/freebsd-10-stable/crypto/openssl/crypto/ec/ |
H A D | ecp_nistp224.c | 1440 const BIGNUM *p_scalar = NULL; local 1518 p_scalar = scalar; 1523 p_scalar = scalars[i]; 1525 if ((p_scalar != NULL) && (p != NULL)) { 1527 if ((BN_num_bits(p_scalar) > 224) 1528 || (BN_is_negative(p_scalar))) { 1533 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) { 1539 num_bytes = BN_bn2bin(p_scalar, tmp);
|
H A D | ecp_nistp256.c | 2027 const BIGNUM *p_scalar = NULL; local 2107 p_scalar = scalar; 2112 p_scalar = scalars[i]; 2114 if ((p_scalar != NULL) && (p != NULL)) { 2116 if ((BN_num_bits(p_scalar) > 256) 2117 || (BN_is_negative(p_scalar))) { 2122 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) { 2128 num_bytes = BN_bn2bin(p_scalar, tmp);
|
H A D | ecp_nistp521.c | 1835 const BIGNUM *p_scalar = NULL; local 1916 p_scalar = scalar; 1921 p_scalar = scalars[i]; 1923 if ((p_scalar != NULL) && (p != NULL)) { 1925 if ((BN_num_bits(p_scalar) > 521) 1926 || (BN_is_negative(p_scalar))) { 1931 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) { 1937 num_bytes = BN_bn2bin(p_scalar, tmp);
|
H A D | ec_lib.c | 1021 const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx) 1029 scalars[0] = p_scalar; 1033 && p_scalar != NULL), points, scalars, ctx); 1020 EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx) argument
|
Completed in 171 milliseconds