• Home
  • Raw
  • Download

Lines Matching refs:src

50 void ecryptfs_to_hex(char *dst, char *src, size_t src_size)  in ecryptfs_to_hex()  argument
55 sprintf(&dst[x * 2], "%.2x", (unsigned char)src[x]); in ecryptfs_to_hex()
65 void ecryptfs_from_hex(char *dst, char *src, int dst_size) in ecryptfs_from_hex() argument
71 tmp[0] = src[x * 2]; in ecryptfs_from_hex()
72 tmp[1] = src[x * 2 + 1]; in ecryptfs_from_hex()
89 char *src, int len) in ecryptfs_calculate_md5() argument
99 sg_init_one(&sg, (u8 *)src, len); in ecryptfs_calculate_md5()
176 char src[ECRYPTFS_MAX_IV_BYTES + 16]; in ecryptfs_derive_iv() local
186 memcpy(src, crypt_stat->root_iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
187 memset((src + crypt_stat->iv_bytes), 0, 16); in ecryptfs_derive_iv()
188 snprintf((src + crypt_stat->iv_bytes), 16, "%lld", offset); in ecryptfs_derive_iv()
191 ecryptfs_dump_hex(src, (crypt_stat->iv_bytes + 16)); in ecryptfs_derive_iv()
193 rc = ecryptfs_calculate_md5(dst, crypt_stat, src, in ecryptfs_derive_iv()
1815 unsigned char *src, size_t src_size) in ecryptfs_encode_for_filename() argument
1828 memcpy(last_block, (&src[src_size - 3]), 3); in ecryptfs_encode_for_filename()
1834 last_block[0] = src[src_size - 1]; in ecryptfs_encode_for_filename()
1838 last_block[0] = src[src_size - 2]; in ecryptfs_encode_for_filename()
1839 last_block[1] = src[src_size - 1]; in ecryptfs_encode_for_filename()
1852 src_block = &src[block_num * 3]; in ecryptfs_encode_for_filename()
1891 const unsigned char *src, size_t src_size) in ecryptfs_decode_from_filename() argument
1903 filename_rev_map[(int)src[src_byte_offset]]; in ecryptfs_decode_from_filename()