Home
last modified time | relevance | path

Searched refs:Nr (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/lib/libtomcrypt/
A Daes_accel.c72 skey->rijndael.Nr = round_count; in rijndael_setup()
105 crypto_accel_aes_ecb_enc(ct, pt, skey->rijndael.eK, skey->rijndael.Nr, in aes_ecb_encrypt_nblocks()
118 crypto_accel_aes_ecb_dec(pt, ct, skey->rijndael.dK, skey->rijndael.Nr, in aes_ecb_decrypt_nblocks()
145 crypto_accel_aes_cbc_enc(ct, pt, skey->rijndael.eK, skey->rijndael.Nr, in aes_cbc_encrypt_nblocks()
160 crypto_accel_aes_cbc_dec(pt, ct, skey->rijndael.dK, skey->rijndael.Nr, in aes_cbc_decrypt_nblocks()
181 skey->rijndael.Nr, blocks, IV); in aes_ctr_encrypt_nblocks()
196 LTC_ARGCHK(skey1->rijndael.Nr == skey2->rijndael.Nr); in aes_xts_encrypt_nblocks()
200 skey1->rijndael.Nr, blocks, in aes_xts_encrypt_nblocks()
216 LTC_ARGCHK(skey1->rijndael.Nr == skey2->rijndael.Nr); in aes_xts_decrypt_nblocks()
219 skey1->rijndael.Nr, blocks, in aes_xts_decrypt_nblocks()
A Daes.c30 *rounds = skey.rijndael.Nr; in crypto_aes_expand_enc_key()
45 skey.rijndael.Nr = rounds; in crypto_aes_enc_block()
/optee_os/core/lib/libtomcrypt/src/ciphers/aes/
A Daes.c139 skey->rijndael.Nr = 10 + ((keylen/8)-2)*2; in SETUP()
292 int Nr, r; in _rijndael_ecb_encrypt() local
298 Nr = skey->rijndael.Nr; in _rijndael_ecb_encrypt()
300 if (Nr < 2 || Nr > 16) in _rijndael_ecb_encrypt()
342 if (r == Nr-2) { in _rijndael_ecb_encrypt()
354 r = Nr >> 1; in _rijndael_ecb_encrypt()
476 int Nr, r; in _rijndael_ecb_decrypt() local
482 Nr = skey->rijndael.Nr; in _rijndael_ecb_decrypt()
484 if (Nr < 2 || Nr > 16) in _rijndael_ecb_decrypt()
525 if (r == Nr-2) { in _rijndael_ecb_decrypt()
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h46 int Nr; member

Completed in 8 milliseconds