Home
last modified time | relevance | path

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

/linux-4.1.27/crypto/
Dauthenc.c85 static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key, in crypto_authenc_setkey() argument
88 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey()
98 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
101 crypto_aead_set_flags(authenc, crypto_ahash_get_flags(auth) & in crypto_authenc_setkey()
108 crypto_ablkcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
111 crypto_aead_set_flags(authenc, crypto_ablkcipher_get_flags(enc) & in crypto_authenc_setkey()
118 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); in crypto_authenc_setkey()
126 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_update_done() local
127 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in authenc_geniv_ahash_update_done()
146 crypto_aead_authsize(authenc), 1); in authenc_geniv_ahash_update_done()
[all …]
DMakefile88 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o
/linux-4.1.27/drivers/crypto/
Dtalitos.c669 static int aead_setauthsize(struct crypto_aead *authenc, in aead_setauthsize() argument
672 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
679 static int aead_setkey(struct crypto_aead *authenc, in aead_setkey() argument
682 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_setkey()
701 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); in aead_setkey()
821 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in ipsec_esp_encrypt_done() local
822 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in ipsec_esp_encrypt_done()
851 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in ipsec_esp_decrypt_swauth_done() local
852 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in ipsec_esp_decrypt_swauth_done()
1220 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in aead_edesc_alloc() local
[all …]
/linux-4.1.27/drivers/crypto/caam/
Dcaamalg.c728 static int aead_setauthsize(struct crypto_aead *authenc, in aead_setauthsize() argument
731 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
734 aead_set_sh_desc(authenc); in aead_setauthsize()
959 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize() argument
961 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
964 gcm_set_sh_desc(authenc); in gcm_setauthsize()
1239 static int rfc4106_setauthsize(struct crypto_aead *authenc, in rfc4106_setauthsize() argument
1242 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
1245 rfc4106_set_sh_desc(authenc); in rfc4106_setauthsize()
1634 static int rfc4543_setauthsize(struct crypto_aead *authenc, in rfc4543_setauthsize() argument
[all …]
/linux-4.1.27/Documentation/
Dcoccinelle.txt205 /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…