Searched refs:Nr (Results 1 – 4 of 4) sorted by relevance
/optee_os/core/lib/libtomcrypt/ |
A D | aes_accel.c | 72 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 D | aes.c | 30 *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 D | aes.c | 139 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 D | tomcrypt_cipher.h | 46 int Nr; member
|
Completed in 8 milliseconds