Searched refs:ROUNDS (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/key_blob_utils/ |
D | ocb.c | 386 #define ROUNDS(ctx) ((ctx)->rounds) macro 399 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) macro 403 #define AES_encrypt(x, y, z) rijndaelEncrypt((z)->rd_key, ROUNDS(z), x, y) 404 #define AES_decrypt(x, y, z) rijndaelDecrypt((z)->rd_key, ROUNDS(z), x, y) 433 #define ROUNDS(ctx) ((ctx)->rounds) macro 436 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) macro 548 int i = ROUNDS(ekey); in AES_set_decrypt_key_fast() 566 int j, rnds = ROUNDS(key); in AES_encrypt() 577 int j, rnds = ROUNDS(key); in AES_decrypt() 588 unsigned i, j, rnds = ROUNDS(key); in AES_ecb_encrypt_blks() [all …]
|