Home
last modified time | relevance | path

Searched refs:sw_cipher (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/crypto/
Dpicoxcell_crypto.c165 struct crypto_ablkcipher *sw_cipher; member
175 struct crypto_aead *sw_cipher; member
481 ctx->sw_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in spacc_aead_aes_setkey()
482 ctx->sw_cipher->base.crt_flags |= in spacc_aead_aes_setkey()
484 return crypto_aead_setkey(ctx->sw_cipher, key, len); in spacc_aead_aes_setkey()
573 if (ctx->sw_cipher) { in spacc_aead_do_fallback()
579 aead_request_set_tfm(req, ctx->sw_cipher); in spacc_aead_do_fallback()
780 ctx->sw_cipher = crypto_alloc_aead(alg->cra_name, 0, in spacc_aead_cra_init()
783 if (IS_ERR(ctx->sw_cipher)) { in spacc_aead_cra_init()
786 ctx->sw_cipher = NULL; in spacc_aead_cra_init()
[all …]