Home
last modified time | relevance | path

Searched refs:crypt_len (Results 1 – 2 of 2) sorted by relevance

/linux/net/ceph/
H A Dcrypto.c272 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt() local
275 WARN_ON(crypt_len > buf_len); in ceph_aes_crypt()
278 ret = setup_sgtable(&sgt, &prealloc_sg, buf, crypt_len); in ceph_aes_crypt()
285 skcipher_request_set_crypt(req, sgt.sgl, sgt.sgl, crypt_len, iv); in ceph_aes_crypt()
309 *pout_len = crypt_len; in ceph_aes_crypt()
/linux/fs/smb/server/
H A Dauth.c813 unsigned int crypt_len = le32_to_cpu(tr_hdr->OriginalMessageSize); in ksmbd_crypt_message() local
865 crypt_len += SMB2_SIGNATURE_SIZE; in ksmbd_crypt_message()
890 aead_request_set_crypt(req, sg, sg, crypt_len, iv); in ksmbd_crypt_message()