Searched refs:authenc (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/crypto/ |
D | authenc.c | 81 static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key, in crypto_authenc_setkey() argument 84 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey() 94 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 97 crypto_aead_set_flags(authenc, crypto_ahash_get_flags(auth) & in crypto_authenc_setkey() 104 crypto_ablkcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 107 crypto_aead_set_flags(authenc, crypto_ablkcipher_get_flags(enc) & in crypto_authenc_setkey() 114 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); in crypto_authenc_setkey() 121 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_done() local 122 struct aead_instance *inst = aead_alg_instance(authenc); in authenc_geniv_ahash_done() 132 crypto_aead_authsize(authenc), 1); in authenc_geniv_ahash_done() [all …]
|
D | Makefile | 106 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o
|
/linux-4.4.14/drivers/crypto/ |
D | talitos.c | 848 static int aead_setkey(struct crypto_aead *authenc, in aead_setkey() argument 851 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_setkey() 870 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); in aead_setkey() 946 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in ipsec_esp_encrypt_done() local 947 unsigned int authsize = crypto_aead_authsize(authenc); in ipsec_esp_encrypt_done() 975 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in ipsec_esp_decrypt_swauth_done() local 976 unsigned int authsize = crypto_aead_authsize(authenc); in ipsec_esp_decrypt_swauth_done() 1309 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in aead_edesc_alloc() local 1310 unsigned int authsize = crypto_aead_authsize(authenc); in aead_edesc_alloc() 1311 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_edesc_alloc() [all …]
|
/linux-4.4.14/drivers/crypto/caam/ |
D | caamalg.c | 714 static int aead_setauthsize(struct crypto_aead *authenc, in aead_setauthsize() argument 717 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize() 720 aead_set_sh_desc(authenc); in aead_setauthsize() 915 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize() argument 917 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize() 920 gcm_set_sh_desc(authenc); in gcm_setauthsize() 1087 static int rfc4106_setauthsize(struct crypto_aead *authenc, in rfc4106_setauthsize() argument 1090 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize() 1093 rfc4106_set_sh_desc(authenc); in rfc4106_setauthsize() 1264 static int rfc4543_setauthsize(struct crypto_aead *authenc, in rfc4543_setauthsize() argument [all …]
|
/linux-4.4.14/Documentation/ |
D | coccinelle.txt | 205 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth 323 * TODO [[view:/home/user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAS…
|