Home
last modified time | relevance | path

Searched refs:BN_mod_sqr (Results 1 – 7 of 7) sorted by relevance

/external/openssl/crypto/bn/
Dbn_sqrt.c190 if (!BN_mod_sqr(y, b, p, ctx)) goto end; in BN_mod_sqrt()
313 if (!BN_mod_sqr(b, x, p, ctx)) goto end; in BN_mod_sqrt()
340 if (!BN_mod_sqr(t, b, p, ctx)) goto end; in BN_mod_sqrt()
357 if (!BN_mod_sqr(t, t, p, ctx)) goto end; in BN_mod_sqrt()
371 if (!BN_mod_sqr(x, ret, p, ctx)) in BN_mod_sqrt()
Dexpspeed.c263 if (!BN_mod_sqr(a,a,c,ctx)) goto err; in do_mul_exp()
264 if (!BN_mod_sqr(b,b,c,ctx)) goto err; in do_mul_exp()
287 if (!BN_mod_sqr(r,a,c,ctx)) goto err; in do_mul_exp()
288 if (!BN_mod_sqr(r,b,c,ctx)) goto err; in do_mul_exp()
Dbn_mod.c203 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_sqr() function
Dbntest.c1782 if (!BN_mod_sqr(r, r, p, ctx)) goto err; in test_sqrt()
1785 if (!BN_mod_sqr(a, a, p, ctx)) goto err; in test_sqrt()
1791 if (!BN_mod_sqr(r, r, p, ctx)) goto err; in test_sqrt()
Dbn.h477 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
/external/openssl/crypto/ec/
Decp_smpl.c324 if (!BN_mod_sqr(tmp_1, a, p, ctx)) goto err; in ec_GFp_simple_group_check_discriminant()
329 if (!BN_mod_sqr(tmp_2, b, p, ctx)) goto err; in ec_GFp_simple_group_check_discriminant()
601 if (!BN_mod_sqr(Z_2, Z_1, &group->field, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates()
678 if (!BN_mod_sqr(tmp2, x_, &group->field, ctx)) goto err; in ec_GFp_simple_set_compressed_coordinates()
1718 return BN_mod_sqr(r, a, &group->field, ctx); in ec_GFp_simple_field_sqr()
/external/openssl/include/openssl/
Dbn.h477 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);