Searched refs:ROUNDS (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/ |
D | ocb.c | 374 #define ROUNDS(ctx) ((ctx)->rounds) macro 387 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) macro 391 #define AES_encrypt(x, y, z) rijndaelEncrypt((z)->rd_key, ROUNDS(z), x, y) 392 #define AES_decrypt(x, y, z) rijndaelDecrypt((z)->rd_key, ROUNDS(z), x, y) 421 #define ROUNDS(ctx) ((ctx)->rounds) macro 424 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) macro 536 int i = ROUNDS(ekey); in AES_set_decrypt_key_fast() 554 int j, rnds = ROUNDS(key); in AES_encrypt() 565 int j, rnds = ROUNDS(key); in AES_decrypt() 576 unsigned i, j, rnds = ROUNDS(key); in AES_ecb_encrypt_blks() [all …]
|