Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/crypto/
H A Dsm4-ce-gcm-glue.c137 static int gcm_crypt(struct aead_request *req, struct skcipher_walk *walk, in gcm_crypt() function
206 err = gcm_crypt(req, &walk, ghash, err, sm4_ce_pmull_gcm_enc); in gcm_encrypt()
227 err = gcm_crypt(req, &walk, ghash, err, sm4_ce_pmull_gcm_dec); in gcm_decrypt()
/openbmc/linux/net/ceph/
H A Dmessenger_v2.c842 static int gcm_crypt(struct ceph_connection *con, bool encrypt, in gcm_crypt() function
1069 return gcm_crypt(con, false, &sg, &sg, CEPH_PREAMBLE_SECURE_LEN); in decrypt_preamble()
1086 return gcm_crypt(con, false, sgs, sgs, in decrypt_control_remainder()
1160 ret = gcm_crypt(con, false, enc_sgt.sgl, sgt.sgl, tail_len); in decrypt_tail()
1263 ret = gcm_crypt(con, true, &sg, &sg, in prepare_head_secure_small()
1305 ret = gcm_crypt(con, true, sgs, sgs, rem - base); in prepare_head_secure_big()
1314 ret = gcm_crypt(con, true, sgs, sgs, rem_tag - rem); in prepare_head_secure_big()
1715 ret = gcm_crypt(con, true, sgt.sgl, enc_sgt.sgl, in prepare_message_secure()
/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg.c1565 static inline int gcm_crypt(struct aead_request *req, bool encrypt) in gcm_crypt() function
1591 return gcm_crypt(req, true); in gcm_encrypt()
1596 return gcm_crypt(req, false); in gcm_decrypt()