Lines Matching defs:cipher
85 static int rk_aes_setkey(struct crypto_skcipher *cipher,
88 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
100 static int rk_des_setkey(struct crypto_skcipher *cipher,
103 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher);
106 err = verify_skcipher_des_key(cipher, key);
116 static int rk_tdes_setkey(struct crypto_skcipher *cipher,
119 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher);
122 err = verify_skcipher_des3_key(cipher, key);
267 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
268 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
270 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher);