Lines Matching refs:key
6 * security. Here they share the same key size, tfm context, and setkey
65 void chacha_init_arch(u32 *state, const u32 *key, const u8 *iv);
66 static inline void chacha_init_generic(u32 *state, const u32 *key, const u8 *iv)
69 state[4] = key[0];
70 state[5] = key[1];
71 state[6] = key[2];
72 state[7] = key[3];
73 state[8] = key[4];
74 state[9] = key[5];
75 state[10] = key[6];
76 state[11] = key[7];
83 static inline void chacha_init(u32 *state, const u32 *key, const u8 *iv)
86 chacha_init_arch(state, key, iv);
88 chacha_init_generic(state, key, iv);