Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c121 if ((err = mp_2expt(t2L1, L-1)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
123 if ((err = mp_2expt(t2N1, N-1)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
125 if ((err = mp_2expt(t2seedlen, seedbytes*8)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/integer/
A Dder_decode_integer.c64 if (mp_2expt(tmp, mp_count_bits(num)) != CRYPT_OK || mp_sub(num, tmp, num) != CRYPT_OK) { in der_decode_integer()
A Dder_encode_integer.c96 if (mp_2expt(tmp, y) != CRYPT_OK || mp_add(tmp, num, tmp) != CRYPT_OK) { in der_encode_integer()
/optee_os/core/lib/libtomcrypt/src/math/
A Dltm_desc.c170 return mpi_to_ltc_error(mp_2expt(a, n)); in twoexpt()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h174 #define mp_2expt(a, b) ltc_mp.twoexpt(a, b) macro

Completed in 8 milliseconds