Lines Matching refs:RoundKey
128 static int KeyExpansion(uint32_t *RoundKey, const void *key, unsigned key_len) in KeyExpansion() argument
150 RoundKey[i] = get_unaligned_be32((uint32_t*)key + i); in KeyExpansion()
158 tempa = RoundKey[i - 1]; in KeyExpansion()
167 RoundKey[i] = RoundKey[i - words_key] ^ tempa; in KeyExpansion()
332 const uint32_t *RoundKey = aes->key; in aes_encrypt_1() local
335 AddRoundKey(astate, RoundKey); in aes_encrypt_1()
336 RoundKey += 4; in aes_encrypt_1()
343 AddRoundKey(astate, RoundKey); in aes_encrypt_1()
397 const uint32_t *RoundKey = aes->key; in aes_decrypt_1() local
399 RoundKey += rounds * 4; in aes_decrypt_1()
400 AddRoundKey(astate, RoundKey); in aes_decrypt_1()
404 RoundKey -= 4; in aes_decrypt_1()
405 AddRoundKey(astate, RoundKey); in aes_decrypt_1()
416 const uint32_t *RoundKey = aes->key;