Home
last modified time | relevance | path

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

/Linux-v6.1/arch/arm64/crypto/
Daes-ce-glue.c99 u32 *rki = ctx->key_enc + (i * kwords); in ce_aes_expandkey() local
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()
103 rko[1] = rko[0] ^ rki[1]; in ce_aes_expandkey()
104 rko[2] = rko[1] ^ rki[2]; in ce_aes_expandkey()
105 rko[3] = rko[2] ^ rki[3]; in ce_aes_expandkey()
110 rko[4] = rko[3] ^ rki[4]; in ce_aes_expandkey()
111 rko[5] = rko[4] ^ rki[5]; in ce_aes_expandkey()
115 rko[4] = __aes_ce_sub(rko[3]) ^ rki[4]; in ce_aes_expandkey()
116 rko[5] = rko[4] ^ rki[5]; in ce_aes_expandkey()
[all …]
/Linux-v6.1/lib/crypto/
Daes.c202 u32 *rki = ctx->key_enc + (i * kwords); in aes_expandkey() local
203 u32 *rko = rki + kwords; in aes_expandkey()
205 rko[0] = ror32(subw(rki[kwords - 1]), 8) ^ rc ^ rki[0]; in aes_expandkey()
206 rko[1] = rko[0] ^ rki[1]; in aes_expandkey()
207 rko[2] = rko[1] ^ rki[2]; in aes_expandkey()
208 rko[3] = rko[2] ^ rki[3]; in aes_expandkey()
213 rko[4] = rko[3] ^ rki[4]; in aes_expandkey()
214 rko[5] = rko[4] ^ rki[5]; in aes_expandkey()
218 rko[4] = subw(rko[3]) ^ rki[4]; in aes_expandkey()
219 rko[5] = rko[4] ^ rki[5]; in aes_expandkey()
[all …]
/Linux-v6.1/arch/arm/crypto/
Daes-ce-glue.c94 u32 *rki = ctx->key_enc + (i * kwords); in ce_aes_expandkey() local
95 u32 *rko = rki + kwords; in ce_aes_expandkey()
97 rko[0] = ror32(ce_aes_sub(rki[kwords - 1]), 8); in ce_aes_expandkey()
98 rko[0] = rko[0] ^ rki[0] ^ rcon[i]; in ce_aes_expandkey()
99 rko[1] = rko[0] ^ rki[1]; in ce_aes_expandkey()
100 rko[2] = rko[1] ^ rki[2]; in ce_aes_expandkey()
101 rko[3] = rko[2] ^ rki[3]; in ce_aes_expandkey()
106 rko[4] = rko[3] ^ rki[4]; in ce_aes_expandkey()
107 rko[5] = rko[4] ^ rki[5]; in ce_aes_expandkey()
111 rko[4] = ce_aes_sub(rko[3]) ^ rki[4]; in ce_aes_expandkey()
[all …]