Home
last modified time | relevance | path

Searched refs:gcm_crypt (Results 1 – 4 of 4) sorted by relevance

/linux/arch/arm64/crypto/
H A Dsm4-ce-gcm-glue.c130 static int gcm_crypt(struct aead_request *req, struct skcipher_walk *walk, in gcm_crypt() function
183 err = gcm_crypt(req, &walk, ghash, err, sm4_ce_pmull_gcm_enc); in gcm_encrypt()
204 err = gcm_crypt(req, &walk, ghash, err, sm4_ce_pmull_gcm_dec); in gcm_decrypt()
/linux/arch/x86/crypto/
H A Daesni-intel_glue.c1391 gcm_crypt(struct aead_request *req, int flags) in gcm_crypt() function
1509 return gcm_crypt(req, (flags) | FLAG_ENC); \
1514 return gcm_crypt(req, (flags)); \
1525 return gcm_crypt(req, (flags) | FLAG_RFC4106 | FLAG_ENC); \
1530 return gcm_crypt(req, (flags) | FLAG_RFC4106); \
/linux/net/ceph/
H A Dmessenger_v2.c812 static int gcm_crypt(struct ceph_connection *con, bool encrypt, in gcm_crypt() function
1039 return gcm_crypt(con, false, &sg, &sg, CEPH_PREAMBLE_SECURE_LEN); in decrypt_preamble()
1056 return gcm_crypt(con, false, sgs, sgs, in decrypt_control_remainder()
1133 ret = gcm_crypt(con, false, enc_sgt.sgl, sgt.sgl, tail_len); in decrypt_tail()
1236 ret = gcm_crypt(con, true, &sg, &sg, in prepare_head_secure_small()
1278 ret = gcm_crypt(con, true, sgs, sgs, rem - base); in prepare_head_secure_big()
1287 ret = gcm_crypt(con, true, sgs, sgs, rem_tag - rem); in prepare_head_secure_big()
1685 ret = gcm_crypt(con, true, sgt.sgl, enc_sgt.sgl, in prepare_message_secure()
/linux/drivers/crypto/caam/
H A Dcaamalg.c1645 static inline int gcm_crypt(struct aead_request *req, bool encrypt) in gcm_crypt() function
1671 return gcm_crypt(req, true); in gcm_encrypt()
1676 return gcm_crypt(req, false); in gcm_decrypt()