Searched refs:mp_2expt (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/integer/ |
A D | der_decode_integer.c | 57 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 | 89 if (mp_2expt(tmp, y) != CRYPT_OK || mp_add(tmp, num, tmp) != CRYPT_OK) { in der_encode_integer()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_generate_pqg.c | 114 if ((err = mp_2expt(t2L1, L-1)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params() 116 if ((err = mp_2expt(t2N1, N-1)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params() 118 if ((err = mp_2expt(t2seedlen, seedbytes*8)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/ |
A D | ltm_desc.c | 178 return mpi_to_ltc_error(mp_2expt(a, n)); in twoexpt()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 187 #define mp_2expt(a, b) ltc_mp.twoexpt(a, b) macro
|
Completed in 7 milliseconds