Lines Matching refs:iv_bytes
119 ecryptfs_dump_hex(crypt_stat->root_iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
125 memcpy(src, crypt_stat->root_iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
126 memset((src + crypt_stat->iv_bytes), 0, 16); in ecryptfs_derive_iv()
127 snprintf((src + crypt_stat->iv_bytes), 16, "%lld", offset); in ecryptfs_derive_iv()
130 ecryptfs_dump_hex(src, (crypt_stat->iv_bytes + 16)); in ecryptfs_derive_iv()
133 (crypt_stat->iv_bytes + 16)); in ecryptfs_derive_iv()
139 memcpy(iv, dst, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
142 ecryptfs_dump_hex(iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
614 crypt_stat->iv_bytes = ECRYPTFS_DEFAULT_IV_BYTES; in ecryptfs_set_default_sizes()
636 BUG_ON(crypt_stat->iv_bytes > MD5_DIGEST_SIZE); in ecryptfs_compute_root_iv()
637 BUG_ON(crypt_stat->iv_bytes <= 0); in ecryptfs_compute_root_iv()
651 memcpy(crypt_stat->root_iv, dst, crypt_stat->iv_bytes); in ecryptfs_compute_root_iv()
654 memset(crypt_stat->root_iv, 0, crypt_stat->iv_bytes); in ecryptfs_compute_root_iv()