Home
last modified time | relevance | path

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

/linux/arch/arm64/crypto/
H A Daes-ce-glue.c82 u32 kwords = key_len / sizeof(u32); in ce_aes_expandkey() local
92 for (i = 0; i < kwords; i++) in ce_aes_expandkey()
97 u32 *rki = ctx->key_enc + (i * kwords); in ce_aes_expandkey()
98 u32 *rko = rki + kwords; in ce_aes_expandkey()
100 rko[0] = ror32(__aes_ce_sub(rki[kwords - 1]), 8) ^ in ce_aes_expandkey()
/linux/lib/crypto/
H A Daes.c189 u32 kwords = key_len / sizeof(u32); in aes_expandkey() local
199 for (i = 0; i < kwords; i++) in aes_expandkey()
203 u32 *rki = ctx->key_enc + (i * kwords); in aes_expandkey()
204 u32 *rko = rki + kwords; in aes_expandkey()
206 rko[0] = ror32(subw(rki[kwords - 1]), 8) ^ rc ^ rki[0]; in aes_expandkey()