Lines Matching refs:key
43 extern void des_sparc64_key_expand(const u32 *input_key, u64 *key);
45 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, in des_set_key() argument
55 err = crypto_des_verify_key(tfm, key); in des_set_key()
59 des_sparc64_key_expand((const u32 *) key, &dctx->encrypt_expkey[0]); in des_set_key()
65 static int des_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des_set_key_skcipher() argument
68 return des_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des_set_key_skcipher()
71 extern void des_sparc64_crypt(const u64 *key, const u64 *input,
90 extern void des_sparc64_load_keys(const u64 *key);
181 static int des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, in des3_ede_set_key() argument
190 err = crypto_des3_ede_verify_key(tfm, key); in des3_ede_set_key()
194 des_sparc64_key_expand((const u32 *)key, k1); in des3_ede_set_key()
195 key += DES_KEY_SIZE; in des3_ede_set_key()
196 des_sparc64_key_expand((const u32 *)key, k2); in des3_ede_set_key()
197 key += DES_KEY_SIZE; in des3_ede_set_key()
198 des_sparc64_key_expand((const u32 *)key, k3); in des3_ede_set_key()
214 static int des3_ede_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des3_ede_set_key_skcipher() argument
217 return des3_ede_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des3_ede_set_key_skcipher()
220 extern void des3_ede_sparc64_crypt(const u64 *key, const u64 *input,
239 extern void des3_ede_sparc64_load_keys(const u64 *key);