Home
last modified time | relevance | path

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

/linux/crypto/
H A Dauthenc.c84 static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key, in crypto_authenc_setkey() argument
87 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey()
97 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
104 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
115 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
135 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_genicv()
136 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv()
[all …]
/linux/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()
348 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize() argument
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
[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()
382 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize() argument
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
[all …]
H A Dcaamalg_qi2.c279 static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in aead_setauthsize() argument
281 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
284 aead_set_sh_desc(authenc); in aead_setauthsize()
708 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize() argument
710 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
718 gcm_set_sh_desc(authenc); in gcm_setauthsize()
802 static int rfc4106_setauthsize(struct crypto_aead *authenc, in rfc4106_setauthsize() argument
805 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize()
813 rfc4106_set_sh_desc(authenc); in rfc4106_setauthsize()
903 static int rfc4543_setauthsize(struct crypto_aead *authenc, in rfc4543_setauthsize() argument
[all …]
/linux/drivers/crypto/chelsio/
H A Dchcr_crypto.h227 DECLARE_FLEX_ARRAY(struct chcr_authenc_ctx, authenc);
/linux/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/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst46 capi:authenc(hmac(sha256),xts(aes))-random