Home
last modified time | relevance | path

Searched refs:iv_bytes (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/fs/ecryptfs/
Dcrypto.c148 ecryptfs_dump_hex(crypt_stat->root_iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
154 memcpy(src, crypt_stat->root_iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
155 memset((src + crypt_stat->iv_bytes), 0, 16); in ecryptfs_derive_iv()
156 snprintf((src + crypt_stat->iv_bytes), 16, "%lld", offset); in ecryptfs_derive_iv()
159 ecryptfs_dump_hex(src, (crypt_stat->iv_bytes + 16)); in ecryptfs_derive_iv()
162 (crypt_stat->iv_bytes + 16)); in ecryptfs_derive_iv()
168 memcpy(iv, dst, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
171 ecryptfs_dump_hex(iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
644 crypt_stat->iv_bytes = ECRYPTFS_DEFAULT_IV_BYTES; in ecryptfs_set_default_sizes()
667 BUG_ON(crypt_stat->iv_bytes > MD5_DIGEST_SIZE); in ecryptfs_compute_root_iv()
[all …]
Decryptfs_kernel.h246 size_t iv_bytes; member