Home
last modified time | relevance | path

Searched refs:crypto_aead_set_flags (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.4/include/crypto/internal/
Ddes.h136 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in verify_aead_des_key()
146 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in verify_aead_des3_key()
/Linux-v5.4/crypto/
Dessiv.c112 crypto_aead_set_flags(tctx->u.aead, crypto_aead_get_flags(tfm) & in essiv_aead_setkey()
115 crypto_aead_set_flags(tfm, crypto_aead_get_flags(tctx->u.aead) & in essiv_aead_setkey()
121 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in essiv_aead_setkey()
137 crypto_aead_set_flags(tfm, crypto_cipher_get_flags(tctx->essiv_cipher) & in essiv_aead_setkey()
Dauthenc.c100 crypto_aead_set_flags(authenc, crypto_ahash_get_flags(auth) & in crypto_authenc_setkey()
110 crypto_aead_set_flags(authenc, crypto_skcipher_get_flags(enc) & in crypto_authenc_setkey()
118 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); in crypto_authenc_setkey()
Dauthencesn.c74 crypto_aead_set_flags(authenc_esn, crypto_ahash_get_flags(auth) & in crypto_authenc_esn_setkey()
84 crypto_aead_set_flags(authenc_esn, crypto_skcipher_get_flags(enc) & in crypto_authenc_esn_setkey()
92 crypto_aead_set_flags(authenc_esn, CRYPTO_TFM_RES_BAD_KEY_LEN); in crypto_authenc_esn_setkey()
Dgcm.c114 crypto_aead_set_flags(aead, crypto_skcipher_get_flags(ctr) & in crypto_gcm_setkey()
144 crypto_aead_set_flags(aead, crypto_ahash_get_flags(ghash) & in crypto_gcm_setkey()
739 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4106_setkey()
742 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4106_setkey()
968 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4543_setkey()
971 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4543_setkey()
Daead.c60 crypto_aead_set_flags(tfm, CRYPTO_TFM_NEED_KEY); in crypto_aead_setkey()
137 crypto_aead_set_flags(aead, CRYPTO_TFM_NEED_KEY); in crypto_aead_init_tfm()
Dccm.c100 crypto_aead_set_flags(aead, crypto_skcipher_get_flags(ctr) & in crypto_ccm_setkey()
109 crypto_aead_set_flags(aead, crypto_ahash_get_flags(mac) & in crypto_ccm_setkey()
616 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4309_setkey()
619 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4309_setkey()
Dsimd.c301 crypto_aead_set_flags(child, crypto_aead_get_flags(tfm) & in simd_aead_setkey()
304 crypto_aead_set_flags(tfm, crypto_aead_get_flags(child) & in simd_aead_setkey()
Daegis128-core.c375 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in crypto_aegis128_setkey()
Dchacha20poly1305.c493 crypto_aead_set_flags(aead, crypto_skcipher_get_flags(ctx->chacha) & in chachapoly_setkey()
/Linux-v5.4/include/crypto/
Daead.h255 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags) in crypto_aead_set_flags() function
/Linux-v5.4/drivers/crypto/amcc/
Dcrypto4xx_alg.c385 crypto_aead_set_flags(ctx->sw_cipher.aead, in crypto4xx_aead_setup_fallback()
389 crypto_aead_set_flags(cipher, in crypto4xx_aead_setup_fallback()
555 crypto_aead_set_flags(cipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in crypto4xx_setkey_aes_gcm()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-aes-galois.c45 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in ccp_aes_gcm_setkey()
/Linux-v5.4/arch/x86/crypto/
Daegis128-aesni-glue.c148 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in crypto_aegis128_aesni_setkey()
Daesni-intel_glue.c654 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in common_rfc4106_set_key()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c3313 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(aead) & in chcr_aead_ccm_setkey()
3317 crypto_aead_set_flags(aead, crypto_aead_get_flags(aeadctx->sw_cipher) & in chcr_aead_ccm_setkey()
3337 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(aead) & in chcr_aead_rfc4309_setkey()
3341 crypto_aead_set_flags(aead, crypto_aead_get_flags(aeadctx->sw_cipher) & in chcr_aead_rfc4309_setkey()
3361 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(aead) in chcr_gcm_setkey()
3365 crypto_aead_set_flags(aead, crypto_aead_get_flags(aeadctx->sw_cipher) & in chcr_gcm_setkey()
3431 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc) in chcr_authenc_setkey()
3435 crypto_aead_set_flags(authenc, crypto_aead_get_flags(aeadctx->sw_cipher) in chcr_authenc_setkey()
3441 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); in chcr_authenc_setkey()
3561 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc) in chcr_aead_digest_null_setkey()
[all …]
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_cipher.c382 crypto_aead_set_flags(ctfm, crypto_aead_get_flags(ctfm) & in safexcel_aead_setkey()
401 crypto_aead_set_flags(ctfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in safexcel_aead_setkey()
2078 crypto_aead_set_flags(ctfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in safexcel_aead_gcm_setkey()
2102 crypto_aead_set_flags(ctfm, crypto_cipher_get_flags(ctx->hkaes) & in safexcel_aead_gcm_setkey()
2195 crypto_aead_set_flags(ctfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in safexcel_aead_ccm_setkey()
/Linux-v5.4/drivers/crypto/caam/
Dcaamalg_qi.c271 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in aead_setkey()
360 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in gcm_setkey()
466 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in rfc4106_setkey()
574 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in rfc4543_setkey()
Dcaamalg.c552 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in chachapoly_setkey()
622 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in aead_setkey()
653 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in gcm_setkey()
676 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in rfc4106_setkey()
704 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in rfc4543_setkey()
Dcaamalg_qi2.c316 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in aead_setkey()
343 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in des3_aead_setkey()
638 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in chachapoly_setkey()
729 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in gcm_setkey()
826 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in rfc4106_setkey()
927 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in rfc4543_setkey()
/Linux-v5.4/drivers/crypto/
Dpicoxcell_crypto.c465 crypto_aead_set_flags(ctx->sw_cipher, crypto_aead_get_flags(tfm) & in spacc_aead_setkey()
469 crypto_aead_set_flags(tfm, crypto_aead_get_flags(ctx->sw_cipher) & in spacc_aead_setkey()
493 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in spacc_aead_setkey()
Datmel-aes.c1775 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in atmel_aes_gcm_setkey()
2140 crypto_aead_set_flags(tfm, flags & CRYPTO_TFM_RES_MASK); in atmel_aes_authenc_setkey()
2154 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in atmel_aes_authenc_setkey()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c44 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in nitrox_aes_gcm_setkey()
/Linux-v5.4/drivers/crypto/mediatek/
Dmtk-aes.c1041 crypto_aead_set_flags(aead, CRYPTO_TFM_RES_BAD_KEY_LEN); in mtk_aes_gcm_setkey()
1052 crypto_aead_set_flags(aead, crypto_skcipher_get_flags(ctr) & in mtk_aes_gcm_setkey()
/Linux-v5.4/drivers/crypto/ccree/
Dcc_aead.c642 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in cc_aead_setkey()
1927 crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_BLOCK_LEN); in cc_proc_aead()

12