Searched refs:ROUNDS (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/key_blob_utils/ |
D | ocb.c | 375 #define ROUNDS(ctx) ((ctx)->rounds) macro 388 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) macro 392 #define AES_encrypt(x, y, z) rijndaelEncrypt((z)->rd_key, ROUNDS(z), x, y) 393 #define AES_decrypt(x, y, z) rijndaelDecrypt((z)->rd_key, ROUNDS(z), x, y) 422 #define ROUNDS(ctx) ((ctx)->rounds) macro 425 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) macro 537 int i = ROUNDS(ekey); in AES_set_decrypt_key_fast() 555 int j, rnds = ROUNDS(key); in AES_encrypt() 566 int j, rnds = ROUNDS(key); in AES_decrypt() 577 unsigned i, j, rnds = ROUNDS(key); in AES_ecb_encrypt_blks() [all …]
|