Home
last modified time | relevance | path

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

/openssl/crypto/ec/
H A Decp_nistp224.c1414 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp224_points_mul() local
1433 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp224_points_mul()
1434 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp224_points_mul()
1509 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp224_points_mul()
1513 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp224_points_mul()
1561 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp224_points_mul()
1565 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp224_points_mul()
H A Decp_nistp384.c1707 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp384_points_mul() local
1727 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp384_points_mul()
1728 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp384_points_mul()
1806 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp384_points_mul()
1810 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp384_points_mul()
1853 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp384_points_mul()
1857 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp384_points_mul()
H A Decp_nistp521.c1916 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp521_points_mul() local
1936 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp521_points_mul()
1937 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp521_points_mul()
2015 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp521_points_mul()
2019 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp521_points_mul()
2067 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp521_points_mul()
2071 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp521_points_mul()
H A Decp_nistp256.c2024 BIGNUM *x, *y, *z, *tmp_scalar; in ossl_ec_GFp_nistp256_points_mul() local
2045 tmp_scalar = BN_CTX_get(ctx); in ossl_ec_GFp_nistp256_points_mul()
2046 if (tmp_scalar == NULL) in ossl_ec_GFp_nistp256_points_mul()
2125 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) { in ossl_ec_GFp_nistp256_points_mul()
2129 num_bytes = BN_bn2lebinpad(tmp_scalar, in ossl_ec_GFp_nistp256_points_mul()
2179 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp256_points_mul()
2183 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp256_points_mul()
H A Decp_nistz256.c961 BIGNUM *tmp_scalar; in ecp_nistz256_points_mul() local
1018 if ((tmp_scalar = BN_CTX_get(ctx)) == NULL) in ecp_nistz256_points_mul()
1021 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ecp_nistz256_points_mul()
1025 scalar = tmp_scalar; in ecp_nistz256_points_mul()

Completed in 45 milliseconds