Lines Matching refs:rounds
644 key->rounds = 10; in AES_set_encrypt_key()
646 key->rounds = 12; in AES_set_encrypt_key()
648 key->rounds = 14; in AES_set_encrypt_key()
650 KeyExpansion(userKey, rk, key->rounds, bits/32); in AES_set_encrypt_key()
675 Cipher(in, out, rk, key->rounds); in AES_encrypt()
690 InvCipher(in, out, rk, key->rounds); in AES_decrypt()
1294 key->rounds = 10; in AES_set_encrypt_key()
1296 key->rounds = 12; in AES_set_encrypt_key()
1298 key->rounds = 14; in AES_set_encrypt_key()
1396 for (i = 0, j = 4*(key->rounds); i < j; i += 4, j -= 4) { in AES_set_decrypt_key()
1403 for (i = 1; i < (key->rounds); i++) { in AES_set_decrypt_key()
1499 if (key->rounds > 10) { in AES_encrypt()
1510 if (key->rounds > 12) { in AES_encrypt()
1523 rk += key->rounds << 2; in AES_encrypt()
1528 r = key->rounds >> 1; in AES_encrypt()
1691 if (key->rounds > 10) { in AES_decrypt()
1702 if (key->rounds > 12) { in AES_decrypt()
1715 rk += key->rounds << 2; in AES_decrypt()
1720 r = key->rounds >> 1; in AES_decrypt()
1872 key->rounds = 10; in AES_set_encrypt_key()
1874 key->rounds = 12; in AES_set_encrypt_key()
1876 key->rounds = 14; in AES_set_encrypt_key()
1974 for (i = 0, j = 4*(key->rounds); i < j; i += 4, j -= 4) { in AES_set_decrypt_key()
1981 for (i = 1; i < (key->rounds); i++) { in AES_set_decrypt_key()