Home
last modified time | relevance | path

Searched refs:tmp_scalar (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/crypto/ec/
H A Decp_nistp224.c1399 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp224_points_mul() local
1418 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp224_points_mul()
1419 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp224_points_mul()
1491 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp224_points_mul()
1495 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp224_points_mul()
1541 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp224_points_mul()
1545 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp224_points_mul()
H A Decp_nistp384.c1738 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp384_points_mul() local
1758 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp384_points_mul()
1759 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp384_points_mul()
1834 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp384_points_mul()
1838 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp384_points_mul()
1879 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp384_points_mul()
1883 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp384_points_mul()
H A Decp_nistp521.c1832 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp521_points_mul() local
1852 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp521_points_mul()
1853 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp521_points_mul()
1928 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp521_points_mul()
1932 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp521_points_mul()
1978 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp521_points_mul()
1982 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp521_points_mul()
H A Decp_nistp256.c2017 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp256_points_mul() local
2038 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_points_mul()
2039 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp256_points_mul()
2115 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp256_points_mul()
2119 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp256_points_mul()
2167 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp256_points_mul()
2171 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp256_points_mul()
H A Decp_nistz256.c952 BIGNUM *tmp_scalar; in ecp_nistz256_points_mul() local
1009 if ((tmp_scalar = BN_CTX_get(ctx)) == NULL) in ecp_nistz256_points_mul()
1012 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ecp_nistz256_points_mul()
1016 scalar = tmp_scalar; in ecp_nistz256_points_mul()