Lines Matching refs:cipher
82 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_crypto_do_request() local
83 struct aspeed_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in aspeed_crypto_do_request()
366 struct crypto_skcipher *cipher; in aspeed_hace_skcipher_trigger() local
374 cipher = crypto_skcipher_reqtfm(req); in aspeed_hace_skcipher_trigger()
375 ctx = crypto_skcipher_ctx(cipher); in aspeed_hace_skcipher_trigger()
409 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_des_crypt() local
410 struct aspeed_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in aspeed_des_crypt()
428 static int aspeed_des_setkey(struct crypto_skcipher *cipher, const u8 *key, in aspeed_des_setkey() argument
431 struct aspeed_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in aspeed_des_setkey()
432 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in aspeed_des_setkey()
458 crypto_skcipher_set_flags(ctx->fallback_tfm, cipher->base.crt_flags & in aspeed_des_setkey()
539 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in aspeed_aes_crypt() local
540 struct aspeed_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in aspeed_aes_crypt()
574 static int aspeed_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in aspeed_aes_setkey() argument
577 struct aspeed_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in aspeed_aes_setkey()
598 crypto_skcipher_set_flags(ctx->fallback_tfm, cipher->base.crt_flags & in aspeed_aes_setkey()