Home
last modified time | relevance | path

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

/linux-6.15/crypto/
H A Dauthenc.c115 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_done() local
116 struct aead_instance *inst = aead_alg_instance(authenc); in authenc_geniv_ahash_done()
126 crypto_aead_authsize(authenc), 1); in authenc_geniv_ahash_done()
134 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_genicv() local
155 crypto_aead_authsize(authenc), 1); in crypto_authenc_genicv()
175 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc() local
190 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt() local
228 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail() local
236 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt_tail()
275 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt() local
[all …]
H A DMakefile159 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o
H A DKconfig862 that the keys are presented in the same format used by the authenc
/linux-6.15/drivers/crypto/inside-secure/eip93/
H A DKconfig20 Also provide AEAD authenc(hmac(x), cipher(y)) for supported algo.
/linux-6.15/drivers/crypto/ccree/
H A Dcc_aead.c669 static int cc_aead_setauthsize(struct crypto_aead *authenc, in cc_aead_setauthsize() argument
672 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_aead_setauthsize()
677 authsize > crypto_aead_maxauthsize(authenc)) { in cc_aead_setauthsize()
699 return cc_aead_setauthsize(authenc, authsize); in cc_rfc4309_ccm_setauthsize()
702 static int cc_ccm_setauthsize(struct crypto_aead *authenc, in cc_ccm_setauthsize() argument
718 return cc_aead_setauthsize(authenc, authsize); in cc_ccm_setauthsize()
2157 return cc_aead_setauthsize(authenc, authsize); in cc_gcm_setauthsize()
2163 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_rfc4106_gcm_setauthsize()
2177 return cc_aead_setauthsize(authenc, authsize); in cc_rfc4106_gcm_setauthsize()
2183 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_rfc4543_gcm_setauthsize()
[all …]
/linux-6.15/drivers/crypto/
H A Dtalitos.c889 static int aead_setkey(struct crypto_aead *authenc, in aead_setkey() argument
892 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_setkey()
925 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_des3_setkey()
1028 unsigned int ivsize = crypto_aead_ivsize(authenc); in ipsec_esp_encrypt_done()
1047 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in ipsec_esp_decrypt_swauth_done() local
1048 unsigned int authsize = crypto_aead_authsize(authenc); in ipsec_esp_decrypt_swauth_done()
1421 unsigned int authsize = crypto_aead_authsize(authenc); in aead_edesc_alloc()
1422 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_edesc_alloc()
1423 unsigned int ivsize = crypto_aead_ivsize(authenc); in aead_edesc_alloc()
1435 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_encrypt()
[all …]
H A Dsa2ul.c1800 static int sa_aead_setkey(struct crypto_aead *authenc, in sa_aead_setkey() argument
1804 struct sa_tfm_ctx *ctx = crypto_aead_ctx(authenc); in sa_aead_setkey()
1835 cfg.iv_size = crypto_aead_ivsize(authenc); in sa_aead_setkey()
1870 crypto_aead_get_flags(authenc) & in sa_aead_setkey()
1883 static int sa_aead_cbc_sha1_setkey(struct crypto_aead *authenc, in sa_aead_cbc_sha1_setkey() argument
1893 return sa_aead_setkey(authenc, key, keylen, &ad); in sa_aead_cbc_sha1_setkey()
1896 static int sa_aead_cbc_sha256_setkey(struct crypto_aead *authenc, in sa_aead_cbc_sha256_setkey() argument
1906 return sa_aead_setkey(authenc, key, keylen, &ad); in sa_aead_cbc_sha256_setkey()
H A DKconfig424 authenc(hmac(shaX),Y(cbc)) algorithms.
623 - authenc()
/linux-6.15/drivers/crypto/caam/
H A Dcaamalg_qi.c190 static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in aead_setauthsize() argument
192 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
195 aead_set_sh_desc(authenc); in aead_setauthsize()
350 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
358 gcm_set_sh_desc(authenc); in gcm_setauthsize()
451 static int rfc4106_setauthsize(struct crypto_aead *authenc, in rfc4106_setauthsize() argument
454 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize()
462 rfc4106_set_sh_desc(authenc); in rfc4106_setauthsize()
559 static int rfc4543_setauthsize(struct crypto_aead *authenc, in rfc4543_setauthsize() argument
562 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4543_setauthsize()
[all …]
H A Dcaamalg.c321 static int aead_setauthsize(struct crypto_aead *authenc, in aead_setauthsize() argument
324 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
327 aead_set_sh_desc(authenc); in aead_setauthsize()
384 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
392 gcm_set_sh_desc(authenc); in gcm_setauthsize()
449 static int rfc4106_setauthsize(struct crypto_aead *authenc, in rfc4106_setauthsize() argument
452 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize()
460 rfc4106_set_sh_desc(authenc); in rfc4106_setauthsize()
517 static int rfc4543_setauthsize(struct crypto_aead *authenc, in rfc4543_setauthsize() argument
520 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4543_setauthsize()
[all …]
H A Dcaamalg_qi2.c280 static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in aead_setauthsize() argument
282 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
285 aead_set_sh_desc(authenc); in aead_setauthsize()
711 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
719 gcm_set_sh_desc(authenc); in gcm_setauthsize()
803 static int rfc4106_setauthsize(struct crypto_aead *authenc, in rfc4106_setauthsize() argument
806 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize()
814 rfc4106_set_sh_desc(authenc); in rfc4106_setauthsize()
904 static int rfc4543_setauthsize(struct crypto_aead *authenc, in rfc4543_setauthsize() argument
907 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4543_setauthsize()
[all …]
/linux-6.15/drivers/crypto/chelsio/
H A Dchcr_crypto.h227 DECLARE_FLEX_ARRAY(struct chcr_authenc_ctx, authenc);
H A Dchcr_algo.c121 return gctx->ctx->authenc; in AUTHENC_CTX()
3553 static int chcr_authenc_setkey(struct crypto_aead *authenc, const u8 *key, in chcr_authenc_setkey() argument
3556 struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc)); in chcr_authenc_setkey()
3561 unsigned int max_authsize = crypto_aead_alg(authenc)->maxauthsize; in chcr_authenc_setkey()
3571 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc) in chcr_authenc_setkey()
3584 subtype = get_aead_subtype(authenc); in chcr_authenc_setkey()
3681 static int chcr_aead_digest_null_setkey(struct crypto_aead *authenc, in chcr_aead_digest_null_setkey() argument
3684 struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc)); in chcr_aead_digest_null_setkey()
3694 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc) in chcr_aead_digest_null_setkey()
3703 subtype = get_aead_subtype(authenc); in chcr_aead_digest_null_setkey()
/linux-6.15/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst46 capi:authenc(hmac(sha256),xts(aes))-random
/linux-6.15/Documentation/dev-tools/
H A Dcoccinelle.rst386 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth
510 …* TODO [[view:/home/user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CA…
/linux-6.15/Documentation/crypto/
H A Dkrb5.rst252 plaintext before encrypting it (the reverse of authenc). The handle returned
H A Darchitecture.rst52 - authenc(hmac(sha1),cbc(aes))