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