Lines Matching defs:cipher
153 /* Block cipher context. */
159 * The fallback cipher. If the operation can't be done in hardware,
165 /* AEAD cipher context. */
195 * Given a cipher context, and a context number, get the base address of the
691 * fallback cipher and initialising the context.
720 * and must free the fallback cipher.
730 * Set the DES key for a block cipher transform. This also performs weak key
733 static int spacc_des_setkey(struct crypto_skcipher *cipher, const u8 *key,
736 struct spacc_ablk_ctx *ctx = crypto_skcipher_ctx(cipher);
739 err = verify_skcipher_des_key(cipher, key);
750 * Set the 3DES key for a block cipher transform. This also performs weak key
753 static int spacc_des3_setkey(struct crypto_skcipher *cipher, const u8 *key,
756 struct spacc_ablk_ctx *ctx = crypto_skcipher_ctx(cipher);
759 err = verify_skcipher_des3_key(cipher, key);
770 * Set the key for an AES block cipher. Some key lengths are not supported in
773 static int spacc_aes_setkey(struct crypto_skcipher *cipher, const u8 *key,
776 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
799 cipher->base.crt_flags &
814 static int spacc_kasumi_f8_setkey(struct crypto_skcipher *cipher,
817 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
1041 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
1042 struct skcipher_alg *alg = crypto_skcipher_alg(cipher);
1050 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
1051 struct skcipher_alg *alg = crypto_skcipher_alg(cipher);