Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/
H A Decp_nistp224.c1414 BIGNUM *x, *y, *z, *tmp_scalar;
1433 tmp_scalar = BN_CTX_get(ctx);
1434 if (tmp_scalar == NULL)
1511 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) {
1515 num_bytes = BN_bn2lebinpad(tmp_scalar,
1563 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) {
1567 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret));
H A Decp_nistp521.c1869 BIGNUM *x, *y, *z, *tmp_scalar;
1889 tmp_scalar = BN_CTX_get(ctx);
1890 if (tmp_scalar == NULL)
1970 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) {
1974 num_bytes = BN_bn2lebinpad(tmp_scalar,
2022 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) {
2026 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret));
H A Decp_nistp256.c2028 BIGNUM *x, *y, *z, *tmp_scalar;
2049 tmp_scalar = BN_CTX_get(ctx);
2050 if (tmp_scalar == NULL)
2131 if (!BN_nnmod(tmp_scalar, p_scalar, group->order, ctx)) {
2135 num_bytes = BN_bn2lebinpad(tmp_scalar,
2185 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) {
2189 num_bytes = BN_bn2lebinpad(tmp_scalar, g_secret, sizeof(g_secret));
H A Decp_nistz256.c969 BIGNUM *tmp_scalar; in ecp_nistz256_points_mul() local
1026 if ((tmp_scalar = BN_CTX_get(ctx)) == NULL) in ecp_nistz256_points_mul()
1029 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ecp_nistz256_points_mul()
1033 scalar = tmp_scalar; in ecp_nistz256_points_mul()
/netbsd-src/crypto/external/bsd/openssl/dist/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()