Lines Matching refs:authenc
888 static int aead_setkey(struct crypto_aead *authenc, in aead_setkey() argument
891 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_setkey()
917 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); in aead_setkey()
922 static int aead_des3_setkey(struct crypto_aead *authenc, in aead_des3_setkey() argument
925 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_des3_setkey()
938 err = verify_aead_des3_key(authenc, keys.enckey, keys.enckeylen); in aead_des3_setkey()
959 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); in aead_des3_setkey()
1031 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in ipsec_esp_encrypt_done() local
1032 unsigned int ivsize = crypto_aead_ivsize(authenc); in ipsec_esp_encrypt_done()
1051 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in ipsec_esp_decrypt_swauth_done() local
1052 unsigned int authsize = crypto_aead_authsize(authenc); in ipsec_esp_decrypt_swauth_done()
1422 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in aead_edesc_alloc() local
1423 unsigned int authsize = crypto_aead_authsize(authenc); in aead_edesc_alloc()
1424 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_edesc_alloc()
1425 unsigned int ivsize = crypto_aead_ivsize(authenc); in aead_edesc_alloc()
1436 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in aead_encrypt() local
1437 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_encrypt()
1453 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in aead_decrypt() local
1454 unsigned int authsize = crypto_aead_authsize(authenc); in aead_decrypt()
1455 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_decrypt()