Home
last modified time | relevance | path

Searched refs:LTC_MUTEX_LOCK (Results 1 – 24 of 24) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_cipher_is_valid.c17 LTC_MUTEX_LOCK(&ltc_cipher_mutex); in cipher_is_valid()
A Dcrypt_hash_is_valid.c17 LTC_MUTEX_LOCK(&ltc_hash_mutex); in hash_is_valid()
A Dcrypt_prng_is_valid.c17 LTC_MUTEX_LOCK(&ltc_prng_mutex); in prng_is_valid()
A Dcrypt_find_hash_id.c18 LTC_MUTEX_LOCK(&ltc_hash_mutex); in find_hash_id()
A Dcrypt_find_cipher_id.c18 LTC_MUTEX_LOCK(&ltc_cipher_mutex); in find_cipher_id()
A Dcrypt_find_cipher.c19 LTC_MUTEX_LOCK(&ltc_cipher_mutex); in find_cipher()
A Dcrypt_unregister_cipher.c22 LTC_MUTEX_LOCK(&ltc_cipher_mutex); in unregister_cipher()
A Dcrypt_unregister_hash.c22 LTC_MUTEX_LOCK(&ltc_hash_mutex); in unregister_hash()
A Dcrypt_unregister_prng.c22 LTC_MUTEX_LOCK(&ltc_prng_mutex); in unregister_prng()
A Dcrypt_find_hash.c19 LTC_MUTEX_LOCK(&ltc_hash_mutex); in find_hash()
A Dcrypt_find_prng.c19 LTC_MUTEX_LOCK(&ltc_prng_mutex); in find_prng()
A Dcrypt_find_hash_oid.c14 LTC_MUTEX_LOCK(&ltc_hash_mutex); in find_hash_oid()
A Dcrypt_find_cipher_any.c26 LTC_MUTEX_LOCK(&ltc_cipher_mutex); in find_cipher_any()
A Dcrypt_register_hash.c22 LTC_MUTEX_LOCK(&ltc_hash_mutex); in register_hash()
A Dcrypt_register_prng.c22 LTC_MUTEX_LOCK(&ltc_prng_mutex); in register_prng()
A Dcrypt_register_cipher.c22 LTC_MUTEX_LOCK(&ltc_cipher_mutex); in register_cipher()
A Dcrypt_find_hash_any.c23 LTC_MUTEX_LOCK(&ltc_hash_mutex); in find_hash_any()
/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/
A Dchacha20.c58 LTC_MUTEX_LOCK(&prng->lock); in chacha20_prng_add_entropy()
91 LTC_MUTEX_LOCK(&prng->lock); in chacha20_prng_ready()
115 LTC_MUTEX_LOCK(&prng->lock); in chacha20_prng_read()
132 LTC_MUTEX_LOCK(&prng->lock); in chacha20_prng_done()
A Dsober128.c60 LTC_MUTEX_LOCK(&prng->lock); in sober128_add_entropy()
93 LTC_MUTEX_LOCK(&prng->lock); in sober128_ready()
117 LTC_MUTEX_LOCK(&prng->lock); in sober128_read()
134 LTC_MUTEX_LOCK(&prng->lock); in sober128_done()
A Drc4.c60 LTC_MUTEX_LOCK(&prng->lock); in rc4_add_entropy()
94 LTC_MUTEX_LOCK(&prng->lock); in rc4_ready()
118 LTC_MUTEX_LOCK(&prng->lock); in rc4_read()
135 LTC_MUTEX_LOCK(&prng->lock); in rc4_done()
A Dfortuna.c186 LTC_MUTEX_LOCK(&prng->lock); in fortuna_update_seed()
297 LTC_MUTEX_LOCK(&prng->lock); in fortuna_add_random_event()
321 LTC_MUTEX_LOCK(&prng->lock); in fortuna_add_entropy()
345 LTC_MUTEX_LOCK(&prng->lock); in fortuna_ready()
374 LTC_MUTEX_LOCK(&prng->lock); in fortuna_read()
442 LTC_MUTEX_LOCK(&prng->lock); in fortuna_done()
A Dyarrow.c137 LTC_MUTEX_LOCK(&prng->lock); in yarrow_add_entropy()
178 LTC_MUTEX_LOCK(&prng->lock); in yarrow_ready()
220 LTC_MUTEX_LOCK(&prng->lock); in yarrow_read()
250 LTC_MUTEX_LOCK(&prng->lock); in yarrow_done()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_custom.h677 #define LTC_MUTEX_LOCK(x) mutex_lock(x); macro
688 #define LTC_MUTEX_LOCK(x) LTC_ARGCHK(pthread_mutex_lock(x) == 0); macro
699 #define LTC_MUTEX_LOCK(x) macro
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/fp/
A Dltc_ecc_fp_mulmod.c1116 LTC_MUTEX_LOCK(&ltc_ecc_fp_lock); in ltc_ecc_fp_mul2add()
1229 LTC_MUTEX_LOCK(&ltc_ecc_fp_lock); in ltc_ecc_fp_mulmod()
1314 LTC_MUTEX_LOCK(&ltc_ecc_fp_lock); in ltc_ecc_fp_free()
1333 LTC_MUTEX_LOCK(&ltc_ecc_fp_lock); in ltc_ecc_fp_add_point()
1386 LTC_MUTEX_LOCK(&ltc_ecc_fp_lock); in ltc_ecc_fp_tablelock()
1412 LTC_MUTEX_LOCK(&ltc_ecc_fp_lock); in ltc_ecc_fp_save_state()
1499 LTC_MUTEX_LOCK(&ltc_ecc_fp_lock); in ltc_ecc_fp_restore_state()

Completed in 16 milliseconds