Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/crypto/
Dpicoxcell_crypto.c174 struct crypto_ablkcipher *sw_cipher; member
184 struct crypto_aead *sw_cipher; member
456 crypto_aead_clear_flags(ctx->sw_cipher, CRYPTO_TFM_REQ_MASK); in spacc_aead_setkey()
457 crypto_aead_set_flags(ctx->sw_cipher, crypto_aead_get_flags(tfm) & in spacc_aead_setkey()
459 err = crypto_aead_setkey(ctx->sw_cipher, key, keylen); in spacc_aead_setkey()
461 crypto_aead_set_flags(tfm, crypto_aead_get_flags(ctx->sw_cipher) & in spacc_aead_setkey()
493 return crypto_aead_setauthsize(ctx->sw_cipher, authsize); in spacc_aead_setauthsize()
528 aead_request_set_tfm(subreq, ctx->sw_cipher); in spacc_aead_do_fallback()
695 ctx->sw_cipher = crypto_alloc_aead(alg->base.cra_name, 0, in spacc_aead_cra_init()
697 if (IS_ERR(ctx->sw_cipher)) in spacc_aead_cra_init()
[all …]