Searched refs:iv_bytes (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/ecryptfs/ |
| H A D | crypto.c | 90 ecryptfs_dump_hex(crypt_stat->root_iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv() 96 memcpy(src, crypt_stat->root_iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv() 97 memset((src + crypt_stat->iv_bytes), 0, 16); in ecryptfs_derive_iv() 98 snprintf((src + crypt_stat->iv_bytes), 16, "%lld", offset); in ecryptfs_derive_iv() 101 ecryptfs_dump_hex(src, (crypt_stat->iv_bytes + 16)); in ecryptfs_derive_iv() 103 md5(src, crypt_stat->iv_bytes + 16, dst); in ecryptfs_derive_iv() 104 memcpy(iv, dst, crypt_stat->iv_bytes); in ecryptfs_derive_iv() 107 ecryptfs_dump_hex(iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv() 533 crypt_stat->iv_bytes = ECRYPTFS_DEFAULT_IV_BYTES; in ecryptfs_set_default_sizes() 554 BUG_ON(crypt_stat->iv_bytes > MD5_DIGEST_SIZE); in ecryptfs_compute_root_iv() [all …]
|
| H A D | ecryptfs_kernel.h | 230 size_t iv_bytes; member
|