Searched refs:mp_2expt (Results 1 – 5 of 5) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_generate_pqg.c | 121 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 D | der_decode_integer.c | 64 if (mp_2expt(tmp, mp_count_bits(num)) != CRYPT_OK || mp_sub(num, tmp, num) != CRYPT_OK) { in der_decode_integer()
|
A D | der_encode_integer.c | 96 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 D | ltm_desc.c | 170 return mpi_to_ltc_error(mp_2expt(a, n)); in twoexpt()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 174 #define mp_2expt(a, b) ltc_mp.twoexpt(a, b) macro
|
Completed in 8 milliseconds