Lines Matching refs:in_len
219 void *buf, int buf_len, int in_len, int *pout_len) in ceph_aes_crypt() argument
225 int pad_byte = AES_BLOCK_SIZE - (in_len & (AES_BLOCK_SIZE - 1)); in ceph_aes_crypt()
226 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt()
231 memset(buf + in_len, pad_byte, pad_byte); in ceph_aes_crypt()
265 pad_byte = *(char *)(buf + in_len - 1); in ceph_aes_crypt()
267 in_len >= pad_byte) { in ceph_aes_crypt()
268 *pout_len = in_len - pad_byte; in ceph_aes_crypt()
271 __func__, pad_byte, in_len); in ceph_aes_crypt()
283 void *buf, int buf_len, int in_len, int *pout_len) in ceph_crypt() argument
287 *pout_len = in_len; in ceph_crypt()
290 return ceph_aes_crypt(key, encrypt, buf, buf_len, in_len, in ceph_crypt()