Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/ec/
H A Decp_nistp224.c1420 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp224_points_mul() local
1439 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp224_points_mul()
1440 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp224_points_mul()
1517 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp224_points_mul()
1521 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp224_points_mul()
1569 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp224_points_mul()
1573 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp224_points_mul()
H A Decp_nistp521.c1924 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp521_points_mul() local
1944 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp521_points_mul()
1945 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp521_points_mul()
2025 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp521_points_mul()
2029 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp521_points_mul()
2077 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp521_points_mul()
2081 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp521_points_mul()
H A Decp_nistp256.c2031 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp256_points_mul() local
2052 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_points_mul()
2053 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp256_points_mul()
2134 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp256_points_mul()
2138 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp256_points_mul()
2188 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp256_points_mul()
2192 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp256_points_mul()
H A Decp_nistz256.c974 BIGNUM *tmp_scalar; in ecp_nistz256_points_mul() local
1031 if ((tmp_scalar = BN_CTX_get(ctx)) == NULL) in ecp_nistz256_points_mul()
1034 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ecp_nistz256_points_mul()
1038 scalar = tmp_scalar; in ecp_nistz256_points_mul()