Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
De4crypt.c275 unsigned char buf[EXT4_MAX_SALT_SIZE]; in parse_salt()
285 if (salt_len >= EXT4_MAX_SALT_SIZE) in parse_salt()
321 if (salt_len >= EXT4_MAX_SALT_SIZE) in parse_salt()
413 unsigned char saltbuf[EXT4_MAX_SALT_SIZE + EXT4_MAX_PASSPHRASE_SIZE] = {0}; in pbkdf2_sha512()
415 int actual_saltbuf_len = EXT4_MAX_SALT_SIZE + passphrase_size; in pbkdf2_sha512()
425 if (salt->salt_len > EXT4_MAX_SALT_SIZE) { in pbkdf2_sha512()
427 EXT4_MAX_SALT_SIZE); in pbkdf2_sha512()
433 memcpy(&saltbuf[EXT4_MAX_SALT_SIZE], passphrase, passphrase_size); in pbkdf2_sha512()
/external/e2fsprogs/lib/ext2fs/
Dext2_fs.h612 #define EXT4_MAX_SALT_SIZE 256 macro