/linux-master/crypto/ |
H A D | authenc.c | 11 #include <crypto/authenc.h> 84 static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key, argument 87 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); 97 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & 104 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & 115 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local 116 struct aead_instance *inst = aead_alg_instance(authenc); 126 crypto_aead_authsize(authenc), 1); 134 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local 135 struct aead_instance *inst = aead_alg_instance(authenc); 175 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local 190 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local 228 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local 275 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local [all...] |
H A D | Makefile | 164 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o
|
H A D | essiv.c | 15 * also permits ESSIV to be used in combination with the authenc template, 16 * e.g., 'essiv(authenc(hmac(sha256),cbc(aes)),sha256)', in which case 18 * as the authenc template, and deals with the way the encrypted IV is 31 #include <crypto/authenc.h> 507 /* AEAD cipher, e.g., "authenc(hmac(sha256),cbc(aes))" */ 514 if (!strstarts(block_base->cra_name, "authenc(")) { 515 pr_warn("Only authenc() type AEADs are supported by ESSIV\n");
|
H A D | authencesn.c | 4 * derived from authenc.c 14 #include <crypto/authenc.h>
|
/linux-master/drivers/crypto/ |
H A D | atmel-authenc.h | 17 #include <crypto/authenc.h>
|
H A D | talitos.c | 38 #include <crypto/authenc.h> 889 static int aead_setkey(struct crypto_aead *authenc, argument 892 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); 922 static int aead_des3_setkey(struct crypto_aead *authenc, argument 925 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); 938 err = verify_aead_des3_key(authenc, keys.enckey, keys.enckeylen); 1027 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); local 1028 unsigned int ivsize = crypto_aead_ivsize(authenc); 1047 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local 1048 unsigned int authsize = crypto_aead_authsize(authenc); 1420 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); local 1434 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local 1451 struct crypto_aead *authenc = crypto_aead_reqtfm(req); local [all...] |
H A D | sa2ul.c | 24 #include <crypto/authenc.h> 1778 "authenc(hmac(sha1-ce),cbc(aes-ce))"); 1784 "authenc(hmac(sha256-ce),cbc(aes-ce))"); 1800 static int sa_aead_setkey(struct crypto_aead *authenc, argument 1804 struct sa_tfm_ctx *ctx = crypto_aead_ctx(authenc); 1835 cfg.iv_size = crypto_aead_ivsize(authenc); 1870 crypto_aead_get_flags(authenc) & 1883 static int sa_aead_cbc_sha1_setkey(struct crypto_aead *authenc, argument 1893 return sa_aead_setkey(authenc, key, keylen, &ad); 1896 static int sa_aead_cbc_sha256_setkey(struct crypto_aead *authenc, argument [all...] |
/linux-master/drivers/crypto/caam/ |
H A D | compat.h | 43 #include <crypto/authenc.h>
|
H A D | caamalg_qi.c | 190 static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 192 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 195 aead_set_sh_desc(authenc); 348 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 350 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 358 gcm_set_sh_desc(authenc); 451 static int rfc4106_setauthsize(struct crypto_aead *authenc, argument 454 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 462 rfc4106_set_sh_desc(authenc); 559 static int rfc4543_setauthsize(struct crypto_aead *authenc, argument [all...] |
H A D | caamalg.c | 321 static int aead_setauthsize(struct crypto_aead *authenc, argument 324 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 327 aead_set_sh_desc(authenc); 382 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 384 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 392 gcm_set_sh_desc(authenc); 449 static int rfc4106_setauthsize(struct crypto_aead *authenc, argument 452 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 460 rfc4106_set_sh_desc(authenc); 517 static int rfc4543_setauthsize(struct crypto_aead *authenc, argument [all...] |
H A D | caamalg_qi2.c | 279 static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 281 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 284 aead_set_sh_desc(authenc); 708 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 710 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 718 gcm_set_sh_desc(authenc); 802 static int rfc4106_setauthsize(struct crypto_aead *authenc, argument 805 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); 813 rfc4106_set_sh_desc(authenc); 903 static int rfc4543_setauthsize(struct crypto_aead *authenc, argument [all...] |
/linux-master/drivers/crypto/ccree/ |
H A D | cc_driver.h | 23 #include <crypto/authenc.h>
|
H A D | cc_aead.c | 8 #include <crypto/authenc.h> 379 case DRV_HASH_NULL: /* Not authenc (e.g., CCM) - no auth_key) */ 557 if (ctx->auth_mode != DRV_HASH_NULL) { /* authenc() alg. */ 581 } else { /* non-authenc - has just one key */ 617 case DRV_HASH_NULL: /* non-authenc modes, e.g., CCM */ 620 dev_err(dev, "Unsupported authenc (%d)\n", ctx->auth_mode); 669 static int cc_aead_setauthsize(struct crypto_aead *authenc, argument 672 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); 677 authsize > crypto_aead_maxauthsize(authenc)) { 687 static int cc_rfc4309_ccm_setauthsize(struct crypto_aead *authenc, argument 702 cc_ccm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 2141 cc_gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 2160 cc_rfc4106_gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 2180 cc_rfc4543_gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument [all...] |
H A D | cc_buffer_mgr.c | 5 #include <crypto/authenc.h>
|
/linux-master/drivers/crypto/chelsio/ |
H A D | chcr_crypto.h | 227 DECLARE_FLEX_ARRAY(struct chcr_authenc_ctx, authenc);
|
H A D | chcr_algo.c | 58 #include <crypto/authenc.h> 121 return gctx->ctx->authenc; 3553 static int chcr_authenc_setkey(struct crypto_aead *authenc, const u8 *key, argument 3556 struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc)); 3561 unsigned int max_authsize = crypto_aead_alg(authenc)->maxauthsize; 3571 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc) 3584 subtype = get_aead_subtype(authenc); 3681 static int chcr_aead_digest_null_setkey(struct crypto_aead *authenc, argument 3684 struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc)); 3694 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc) [all...] |
/linux-master/net/ipv4/ |
H A D | esp4_offload.c | 16 #include <crypto/authenc.h>
|
H A D | esp4.c | 5 #include <crypto/authenc.h>
|
/linux-master/net/ipv6/ |
H A D | esp6_offload.c | 16 #include <crypto/authenc.h>
|
H A D | esp6.c | 17 #include <crypto/authenc.h>
|
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.c | 9 #include <crypto/authenc.h>
|
/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_aead.c | 8 #include <crypto/authenc.h>
|
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls.h | 13 #include <crypto/authenc.h>
|
/linux-master/drivers/crypto/qce/ |
H A D | aead.c | 9 #include <crypto/authenc.h> 703 .name = "authenc(hmac(sha1),cbc(des))", 704 .drv_name = "authenc-hmac-sha1-cbc-des-qce", 711 .name = "authenc(hmac(sha1),cbc(des3_ede))", 712 .drv_name = "authenc-hmac-sha1-cbc-3des-qce", 719 .name = "authenc(hmac(sha256),cbc(des))", 720 .drv_name = "authenc-hmac-sha256-cbc-des-qce", 727 .name = "authenc(hmac(sha256),cbc(des3_ede))", 728 .drv_name = "authenc-hmac-sha256-cbc-3des-qce", 735 .name = "authenc(hma [all...] |
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 54 #include <crypto/authenc.h>
|