Home
last modified time | relevance | path

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

/third_party/e2fsprogs/misc/
De4crypt.c276 unsigned char buf[EXT4_MAX_SALT_SIZE]; in parse_salt()
286 if (salt_len >= EXT4_MAX_SALT_SIZE) in parse_salt()
322 if (salt_len >= EXT4_MAX_SALT_SIZE) in parse_salt()
414 unsigned char saltbuf[EXT4_MAX_SALT_SIZE + EXT4_MAX_PASSPHRASE_SIZE] = {0}; in pbkdf2_sha512()
416 int actual_saltbuf_len = EXT4_MAX_SALT_SIZE + passphrase_size; in pbkdf2_sha512()
426 if (salt->salt_len > EXT4_MAX_SALT_SIZE) { in pbkdf2_sha512()
428 EXT4_MAX_SALT_SIZE); in pbkdf2_sha512()
434 memcpy(&saltbuf[EXT4_MAX_SALT_SIZE], passphrase, passphrase_size); in pbkdf2_sha512()
/third_party/e2fsprogs/lib/ext2fs/
Dext2_fs.h627 #define EXT4_MAX_SALT_SIZE 256 macro