Home
last modified time | relevance | path

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

/net/ceph/
Dcrypto.c144 const void *src1, size_t src1_len, in ceph_aes_encrypt2() argument
153 size_t zero_padding = (0x10 - ((src1_len + src2_len) & 0x0f)); in ceph_aes_encrypt2()
161 *dst_len = src1_len + src2_len + zero_padding; in ceph_aes_encrypt2()
165 sg_set_buf(&sg_in[0], src1, src1_len); in ceph_aes_encrypt2()
185 src1_len + src2_len + zero_padding); in ceph_aes_encrypt2()
405 const void *src1, size_t src1_len, in ceph_encrypt2() argument
410 if (*dst_len < src1_len + src2_len) in ceph_encrypt2()
412 memcpy(dst, src1, src1_len); in ceph_encrypt2()
413 memcpy(dst + src1_len, src2, src2_len); in ceph_encrypt2()
414 *dst_len = src1_len + src2_len; in ceph_encrypt2()
[all …]
Dcrypto.h44 const void *src1, size_t src1_len,