Searched refs:p_scalar (Results 1 - 4 of 4) sorted by path

/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec_lib.c1177 const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
1185 scalars[0] = p_scalar;
1189 && p_scalar != NULL), points, scalars, ctx);
1176 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
H A Decp_nistp224.c1424 const BIGNUM *p_scalar = NULL; local
1501 p_scalar = scalar;
1505 p_scalar = scalars[i];
1507 if ((p_scalar != NULL) && (p != NULL)) {
1509 if ((BN_num_bits(p_scalar) > 224)
1510 || (BN_is_negative(p_scalar))) {
1515 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) {
1522 num_bytes = bn_bn2lebinpad(p_scalar,
H A Decp_nistp256.c2014 const BIGNUM *p_scalar = NULL; local
2093 p_scalar = scalar;
2097 p_scalar = scalars[i];
2099 if ((p_scalar != NULL) && (p != NULL)) {
2101 if ((BN_num_bits(p_scalar) > 256)
2102 || (BN_is_negative(p_scalar))) {
2107 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) {
2114 num_bytes = bn_bn2lebinpad(p_scalar,
H A Decp_nistp521.c1825 const BIGNUM *p_scalar = NULL; local
1905 p_scalar = scalar;
1909 p_scalar = scalars[i];
1911 if ((p_scalar != NULL) && (p != NULL)) {
1913 if ((BN_num_bits(p_scalar) > 521)
1914 || (BN_is_negative(p_scalar))) {
1919 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) {
1926 num_bytes = bn_bn2lebinpad(p_scalar,

Completed in 297 milliseconds