Home
last modified time | relevance | path

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

/illumos-gate/usr/src/common/crypto/ecc/
H A Decp_521.c120 MP_CHECKOK(mp_sqr(a, r)); in ec_GFp_nistp521_sqr()
H A Decp_384.c269 MP_CHECKOK(mp_sqr(a, r)); in ec_GFp_nistp384_sqr()
H A Decp_224.c331 MP_CHECKOK(mp_sqr(a, r)); in ec_GFp_nistp224_sqr()
H A Decp_192.c477 MP_CHECKOK(mp_sqr(a, r)); in ec_GFp_nistp192_sqr()
H A Decp_256.c415 MP_CHECKOK(mp_sqr(a, r)); in ec_GFp_nistp256_sqr()
/illumos-gate/usr/src/common/mpi/
H A Dmpi.h282 mp_err mp_sqr(const mp_int *a, mp_int *b);
284 #define mp_sqr(a, b) mp_mul(a, a, b) macro
H A Dmpi.c920 mp_err mp_sqr(const mp_int *a, mp_int *sqr) in mp_sqr() function
1357 if((res = mp_sqr(&t, &t)) != MP_OKAY || in mp_sqrt()
1482 if((res = mp_sqr(a, c)) != MP_OKAY) in mp_sqrmod()
4194 res = mp_sqr(a, &tmp); in s_mp_sqr()