Lines Matching refs:src_size
1783 unsigned char *src, size_t src_size) in ecryptfs_encode_for_filename() argument
1790 if (src_size == 0) { in ecryptfs_encode_for_filename()
1794 num_blocks = (src_size / 3); in ecryptfs_encode_for_filename()
1795 if ((src_size % 3) == 0) { in ecryptfs_encode_for_filename()
1796 memcpy(last_block, (&src[src_size - 3]), 3); in ecryptfs_encode_for_filename()
1800 switch (src_size % 3) { in ecryptfs_encode_for_filename()
1802 last_block[0] = src[src_size - 1]; in ecryptfs_encode_for_filename()
1806 last_block[0] = src[src_size - 2]; in ecryptfs_encode_for_filename()
1807 last_block[1] = src[src_size - 1]; in ecryptfs_encode_for_filename()
1859 const unsigned char *src, size_t src_size) in ecryptfs_decode_from_filename() argument
1866 (*dst_size) = ecryptfs_max_decoded_size(src_size); in ecryptfs_decode_from_filename()
1869 while (src_byte_offset < src_size) { in ecryptfs_decode_from_filename()