Home
last modified time | relevance | path

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

/linux/arch/arm64/crypto/
H A Daes-ce-glue.c84 u32 kwords = key_len / sizeof(u32); in ce_aes_expandkey() local
94 for (i = 0; i < kwords; i++) in ce_aes_expandkey()
99 u32 *rki = ctx->key_enc + (i * kwords); in ce_aes_expandkey()
100 u32 *rko = rki + kwords; in ce_aes_expandkey()
102 rko[0] = ror32(__aes_ce_sub(rki[kwords - 1]), 8) ^ rcon[i] ^ rki[0]; in ce_aes_expandkey()
/linux/lib/crypto/
H A Daes.c188 u32 kwords = key_len / sizeof(u32); in aes_expandkey() local
198 for (i = 0; i < kwords; i++) in aes_expandkey()
202 u32 *rki = ctx->key_enc + (i * kwords); in aes_expandkey()
203 u32 *rko = rki + kwords; in aes_expandkey()
205 rko[0] = ror32(subw(rki[kwords - 1]), 8) ^ rc ^ rki[0]; in aes_expandkey()
/linux/arch/arm/crypto/
H A Daes-ce-glue.c79 u32 kwords = key_len / sizeof(u32); in ce_aes_expandkey() local
89 for (i = 0; i < kwords; i++) in ce_aes_expandkey()
94 u32 *rki = ctx->key_enc + (i * kwords); in ce_aes_expandkey()
95 u32 *rko = rki + kwords; in ce_aes_expandkey()
97 rko[0] = ror32(ce_aes_sub(rki[kwords - 1]), 8); in ce_aes_expandkey()