Home
last modified time | relevance | path

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

/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/keembay/
H A Dkeembay-ocs-aes-core.c58 } sw_cipher; member
199 crypto_sync_skcipher_set_flags(tctx->sw_cipher.sk, in kmb_ocs_sk_set_key()
220 crypto_aead_set_flags(tctx->sw_cipher.aead, in kmb_ocs_aead_set_key()
1171 tctx->sw_cipher.sk = blk; in ocs_aes_init_tfm()
1203 if (tctx->sw_cipher.sk) { in ocs_exit_tfm()
1204 crypto_free_sync_skcipher(tctx->sw_cipher.sk); in ocs_exit_tfm()
1205 tctx->sw_cipher.sk = NULL; in ocs_exit_tfm()
1229 tctx->sw_cipher.aead = blk; in ocs_aes_aead_cra_init()
1277 if (tctx->sw_cipher.aead) { in ocs_aead_cra_exit()
1278 crypto_free_aead(tctx->sw_cipher.aead); in ocs_aead_cra_exit()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/keembay/
H A Dkeembay-ocs-aes-core.c58 } sw_cipher; member
199 crypto_sync_skcipher_set_flags(tctx->sw_cipher.sk, in kmb_ocs_sk_set_key()
220 crypto_aead_set_flags(tctx->sw_cipher.aead, in kmb_ocs_aead_set_key()
1171 tctx->sw_cipher.sk = blk; in ocs_aes_init_tfm()
1203 if (tctx->sw_cipher.sk) { in ocs_exit_tfm()
1204 crypto_free_sync_skcipher(tctx->sw_cipher.sk); in ocs_exit_tfm()
1205 tctx->sw_cipher.sk = NULL; in ocs_exit_tfm()
1229 tctx->sw_cipher.aead = blk; in ocs_aes_aead_cra_init()
1277 if (tctx->sw_cipher.aead) { in ocs_aead_cra_exit()
1278 crypto_free_aead(tctx->sw_cipher.aead); in ocs_aead_cra_exit()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/keembay/
H A Dkeembay-ocs-aes-core.c58 } sw_cipher; member
199 crypto_sync_skcipher_set_flags(tctx->sw_cipher.sk, in kmb_ocs_sk_set_key()
220 crypto_aead_set_flags(tctx->sw_cipher.aead, in kmb_ocs_aead_set_key()
1171 tctx->sw_cipher.sk = blk; in ocs_aes_init_tfm()
1203 if (tctx->sw_cipher.sk) { in ocs_exit_tfm()
1204 crypto_free_sync_skcipher(tctx->sw_cipher.sk); in ocs_exit_tfm()
1205 tctx->sw_cipher.sk = NULL; in ocs_exit_tfm()
1229 tctx->sw_cipher.aead = blk; in ocs_aes_aead_cra_init()
1277 if (tctx->sw_cipher.aead) { in ocs_aead_cra_exit()
1278 crypto_free_aead(tctx->sw_cipher.aead); in ocs_aead_cra_exit()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c269 SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt()
272 skcipher_request_set_sync_tfm(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt()
292 crypto_sync_skcipher_clear_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback()
294 crypto_sync_skcipher_set_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback()
296 return crypto_sync_skcipher_setkey(ctx->sw_cipher.cipher, key, keylen); in crypto4xx_sk_setup_fallback()
356 aead_request_set_tfm(subreq, ctx->sw_cipher.aead); in crypto4xx_aead_fallback()
371 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
372 crypto_aead_set_flags(ctx->sw_cipher.aead, in crypto4xx_aead_setup_fallback()
374 return crypto_aead_setkey(ctx->sw_cipher.aead, key, keylen); in crypto4xx_aead_setup_fallback()
489 return crypto_aead_setauthsize(ctx->sw_cipher.aead, authsize); in crypto4xx_setauthsize_aead()
H A Dcrypto4xx_core.c952 ctx->sw_cipher.cipher = in crypto4xx_sk_init()
955 if (IS_ERR(ctx->sw_cipher.cipher)) in crypto4xx_sk_init()
956 return PTR_ERR(ctx->sw_cipher.cipher); in crypto4xx_sk_init()
974 if (ctx->sw_cipher.cipher) in crypto4xx_sk_exit()
975 crypto_free_sync_skcipher(ctx->sw_cipher.cipher); in crypto4xx_sk_exit()
984 ctx->sw_cipher.aead = crypto_alloc_aead(alg->base.cra_name, 0, in crypto4xx_aead_init()
987 if (IS_ERR(ctx->sw_cipher.aead)) in crypto4xx_aead_init()
988 return PTR_ERR(ctx->sw_cipher.aead); in crypto4xx_aead_init()
993 crypto_aead_reqsize(ctx->sw_cipher.aead), in crypto4xx_aead_init()
1003 crypto_free_aead(ctx->sw_cipher.aead); in crypto4xx_aead_exit()
H A Dcrypto4xx_core.h127 } sw_cipher; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c269 SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt()
272 skcipher_request_set_sync_tfm(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt()
292 crypto_sync_skcipher_clear_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback()
294 crypto_sync_skcipher_set_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback()
296 return crypto_sync_skcipher_setkey(ctx->sw_cipher.cipher, key, keylen); in crypto4xx_sk_setup_fallback()
356 aead_request_set_tfm(subreq, ctx->sw_cipher.aead); in crypto4xx_aead_fallback()
371 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
372 crypto_aead_set_flags(ctx->sw_cipher.aead, in crypto4xx_aead_setup_fallback()
374 return crypto_aead_setkey(ctx->sw_cipher.aead, key, keylen); in crypto4xx_aead_setup_fallback()
489 return crypto_aead_setauthsize(ctx->sw_cipher.aead, authsize); in crypto4xx_setauthsize_aead()
H A Dcrypto4xx_core.c952 ctx->sw_cipher.cipher = in crypto4xx_sk_init()
955 if (IS_ERR(ctx->sw_cipher.cipher)) in crypto4xx_sk_init()
956 return PTR_ERR(ctx->sw_cipher.cipher); in crypto4xx_sk_init()
974 if (ctx->sw_cipher.cipher) in crypto4xx_sk_exit()
975 crypto_free_sync_skcipher(ctx->sw_cipher.cipher); in crypto4xx_sk_exit()
984 ctx->sw_cipher.aead = crypto_alloc_aead(alg->base.cra_name, 0, in crypto4xx_aead_init()
987 if (IS_ERR(ctx->sw_cipher.aead)) in crypto4xx_aead_init()
988 return PTR_ERR(ctx->sw_cipher.aead); in crypto4xx_aead_init()
993 crypto_aead_reqsize(ctx->sw_cipher.aead), in crypto4xx_aead_init()
1003 crypto_free_aead(ctx->sw_cipher.aead); in crypto4xx_aead_exit()
H A Dcrypto4xx_core.h127 } sw_cipher; member
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c269 SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt()
272 skcipher_request_set_sync_tfm(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt()
292 crypto_sync_skcipher_clear_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback()
294 crypto_sync_skcipher_set_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback()
296 return crypto_sync_skcipher_setkey(ctx->sw_cipher.cipher, key, keylen); in crypto4xx_sk_setup_fallback()
356 aead_request_set_tfm(subreq, ctx->sw_cipher.aead); in crypto4xx_aead_fallback()
371 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
372 crypto_aead_set_flags(ctx->sw_cipher.aead, in crypto4xx_aead_setup_fallback()
374 return crypto_aead_setkey(ctx->sw_cipher.aead, key, keylen); in crypto4xx_aead_setup_fallback()
489 return crypto_aead_setauthsize(ctx->sw_cipher.aead, authsize); in crypto4xx_setauthsize_aead()
H A Dcrypto4xx_core.c952 ctx->sw_cipher.cipher = in crypto4xx_sk_init()
955 if (IS_ERR(ctx->sw_cipher.cipher)) in crypto4xx_sk_init()
956 return PTR_ERR(ctx->sw_cipher.cipher); in crypto4xx_sk_init()
974 if (ctx->sw_cipher.cipher) in crypto4xx_sk_exit()
975 crypto_free_sync_skcipher(ctx->sw_cipher.cipher); in crypto4xx_sk_exit()
984 ctx->sw_cipher.aead = crypto_alloc_aead(alg->base.cra_name, 0, in crypto4xx_aead_init()
987 if (IS_ERR(ctx->sw_cipher.aead)) in crypto4xx_aead_init()
988 return PTR_ERR(ctx->sw_cipher.aead); in crypto4xx_aead_init()
993 crypto_aead_reqsize(ctx->sw_cipher.aead), in crypto4xx_aead_init()
1003 crypto_free_aead(ctx->sw_cipher.aead); in crypto4xx_aead_exit()
H A Dcrypto4xx_core.h127 } sw_cipher; member
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/chelsio/
H A Dchcr_algo.c919 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()
3256 if (IS_ERR(aeadctx->sw_cipher)) in chcr_aead_cra_init()
3257 return PTR_ERR(aeadctx->sw_cipher); in chcr_aead_cra_init()
3260 crypto_aead_reqsize(aeadctx->sw_cipher))); in chcr_aead_cra_init()
[all …]
H A Dchcr_crypto.h174 struct crypto_skcipher *sw_cipher; member
232 struct crypto_aead *sw_cipher; member
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/chelsio/
H A Dchcr_algo.c919 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()
3256 if (IS_ERR(aeadctx->sw_cipher)) in chcr_aead_cra_init()
3257 return PTR_ERR(aeadctx->sw_cipher); in chcr_aead_cra_init()
3260 crypto_aead_reqsize(aeadctx->sw_cipher))); in chcr_aead_cra_init()
[all …]
H A Dchcr_crypto.h174 struct crypto_skcipher *sw_cipher; member
232 struct crypto_aead *sw_cipher; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/chelsio/
H A Dchcr_algo.c919 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()
3256 if (IS_ERR(aeadctx->sw_cipher)) in chcr_aead_cra_init()
3257 return PTR_ERR(aeadctx->sw_cipher); in chcr_aead_cra_init()
3260 crypto_aead_reqsize(aeadctx->sw_cipher))); in chcr_aead_cra_init()
[all …]
H A Dchcr_crypto.h174 struct crypto_skcipher *sw_cipher; member
232 struct crypto_aead *sw_cipher; member