Home
last modified time | relevance | path

Searched refs:ks (Results 1 – 1 of 1) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Droc_aes.c96 aes_key_expand(const uint8_t *key, uint32_t *ks) in aes_key_expand() argument
102 memcpy(ks, key, KEY_WORD_LEN * sizeof(uint32_t)); in aes_key_expand()
105 temp = ks[i - 1]; in aes_key_expand()
111 ks[i] = ks[i - 4] ^ temp; in aes_key_expand()
148 cipher(uint8_t *in, uint8_t *out, uint32_t *ks) in cipher() argument
157 state[i] ^= ks[i]; in cipher()
174 state[i] ^= ks[round * 4 + i]; in cipher()
187 state[i] ^= ks[KEY_ROUNDS * 4 + i]; in cipher()