Searched refs:authenc (Results 1 – 6 of 6) sorted by relevance
| /linux/crypto/ |
| H A D | authenc.c | 82 static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key, in crypto_authenc_setkey() argument 85 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey() 95 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 102 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 112 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_finish() local 113 struct aead_instance *inst = aead_alg_instance(authenc); in authenc_geniv_ahash_finish() 120 crypto_aead_authsize(authenc), 1); in authenc_geniv_ahash_finish() 147 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_genicv() local 148 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_genicv() 149 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv() [all …]
|
| H A D | Kconfig | 845 that the keys are presented in the same format used by the authenc
|
| /linux/drivers/crypto/caam/ |
| H A D | caamalg_qi.c | 190 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 D | caamalg.c | 327 static int aead_setauthsize(struct crypto_aead *authenc, in aead_setauthsize() argument 330 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize() 333 aead_set_sh_desc(authenc); in aead_setauthsize() 388 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize() argument 390 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize() 398 gcm_set_sh_desc(authenc); in gcm_setauthsize() 455 static int rfc4106_setauthsize(struct crypto_aead *authenc, in rfc4106_setauthsize() argument 458 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize() 466 rfc4106_set_sh_desc(authenc); in rfc4106_setauthsize() 523 static int rfc4543_setauthsize(struct crypto_aead *authenc, in rfc4543_setauthsize() argument [all …]
|
| H A D | caamalg_qi2.c | 281 static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in aead_setauthsize() argument 283 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize() 286 aead_set_sh_desc(authenc); in aead_setauthsize() 710 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize() argument 712 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize() 720 gcm_set_sh_desc(authenc); in gcm_setauthsize() 804 static int rfc4106_setauthsize(struct crypto_aead *authenc, in rfc4106_setauthsize() argument 807 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize() 815 rfc4106_set_sh_desc(authenc); in rfc4106_setauthsize() 905 static int rfc4543_setauthsize(struct crypto_aead *authenc, in rfc4543_setauthsize() argument [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-crypt.rst | 46 capi:authenc(hmac(sha256),xts(aes))-random
|