Searched refs:sw_cipher (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/crypto/intel/keembay/ |
| A D | keembay-ocs-aes-core.c | 55 } sw_cipher; member 196 crypto_sync_skcipher_set_flags(tctx->sw_cipher.sk, in kmb_ocs_sk_set_key() 217 crypto_aead_set_flags(tctx->sw_cipher.aead, in kmb_ocs_aead_set_key() 1159 tctx->sw_cipher.sk = blk; in ocs_aes_init_tfm() 1189 if (tctx->sw_cipher.sk) { in ocs_exit_tfm() 1190 crypto_free_sync_skcipher(tctx->sw_cipher.sk); in ocs_exit_tfm() 1191 tctx->sw_cipher.sk = NULL; in ocs_exit_tfm() 1206 tctx->sw_cipher.aead = blk; in ocs_aes_aead_cra_init() 1252 if (tctx->sw_cipher.aead) { in ocs_aead_cra_exit() 1253 crypto_free_aead(tctx->sw_cipher.aead); in ocs_aead_cra_exit() [all …]
|
| /linux/drivers/crypto/amcc/ |
| A D | crypto4xx_alg.c | 255 SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt() 258 skcipher_request_set_sync_tfm(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt() 278 crypto_sync_skcipher_clear_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback() 280 crypto_sync_skcipher_set_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback() 282 return crypto_sync_skcipher_setkey(ctx->sw_cipher.cipher, key, keylen); in crypto4xx_sk_setup_fallback() 342 aead_request_set_tfm(subreq, ctx->sw_cipher.aead); in crypto4xx_aead_fallback() 357 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback() 358 crypto_aead_set_flags(ctx->sw_cipher.aead, in crypto4xx_aead_setup_fallback() 360 return crypto_aead_setkey(ctx->sw_cipher.aead, key, keylen); in crypto4xx_aead_setup_fallback() 475 return crypto_aead_setauthsize(ctx->sw_cipher.aead, authsize); in crypto4xx_setauthsize_aead()
|
| A D | crypto4xx_core.c | 950 ctx->sw_cipher.cipher = in crypto4xx_sk_init() 953 if (IS_ERR(ctx->sw_cipher.cipher)) in crypto4xx_sk_init() 954 return PTR_ERR(ctx->sw_cipher.cipher); in crypto4xx_sk_init() 972 if (ctx->sw_cipher.cipher) in crypto4xx_sk_exit() 973 crypto_free_sync_skcipher(ctx->sw_cipher.cipher); in crypto4xx_sk_exit() 982 ctx->sw_cipher.aead = crypto_alloc_aead(alg->base.cra_name, 0, in crypto4xx_aead_init() 985 if (IS_ERR(ctx->sw_cipher.aead)) in crypto4xx_aead_init() 986 return PTR_ERR(ctx->sw_cipher.aead); in crypto4xx_aead_init() 991 crypto_aead_reqsize(ctx->sw_cipher.aead), in crypto4xx_aead_init() 1001 crypto_free_aead(ctx->sw_cipher.aead); in crypto4xx_aead_exit()
|
| A D | crypto4xx_core.h | 127 } sw_cipher; member
|
| /linux/drivers/crypto/chelsio/ |
| A D | chcr_algo.c | 919 crypto_skcipher_clear_flags(ablkctx->sw_cipher, in chcr_cipher_fallback_setkey() 921 crypto_skcipher_set_flags(ablkctx->sw_cipher, in chcr_cipher_fallback_setkey() 1474 if (IS_ERR(ablkctx->sw_cipher)) { in chcr_init_tfm() 1476 return PTR_ERR(ablkctx->sw_cipher); in chcr_init_tfm() 1496 if (IS_ERR(ablkctx->sw_cipher)) { in chcr_rfc3686_init() 1498 return PTR_ERR(ablkctx->sw_cipher); in chcr_rfc3686_init() 1511 crypto_free_skcipher(ablkctx->sw_cipher); in chcr_exit_tfm() 3264 if (IS_ERR(aeadctx->sw_cipher)) in chcr_aead_cra_init() 3265 return PTR_ERR(aeadctx->sw_cipher); in chcr_aead_cra_init() 3269 crypto_aead_reqsize(aeadctx->sw_cipher))); in chcr_aead_cra_init() [all …]
|
| A D | chcr_crypto.h | 174 struct crypto_skcipher *sw_cipher; member 234 struct crypto_aead *sw_cipher; member
|
Completed in 27 milliseconds