Home
last modified time | relevance | path

Searched refs:ltc_cipherindex (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/lib/libtomcrypt/
H A Dgcm.c69 int ltc_cipherindex = find_cipher("aes"); in crypto_aes_gcm_init() local
72 if (ltc_cipherindex < 0) in crypto_aes_gcm_init()
79 ltc_res = gcm_init(&gcm->ctx, ltc_cipherindex, key, key_len); in crypto_aes_gcm_init()
H A Dccm.c70 int ltc_cipherindex = find_cipher("aes"); in crypto_aes_ccm_init() local
73 if (ltc_cipherindex < 0) in crypto_aes_ccm_init()
97 ltc_res = ccm_init(&ccm->ctx, ltc_cipherindex, key, key_len, in crypto_aes_ccm_init()