Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/
Df2fscrypt.c58 #define F2FS_MAX_SALT_SIZE 256 macro
75 #define F2FS_MAX_SALT_SIZE 256 macro
321 unsigned char buf[F2FS_MAX_SALT_SIZE]; in parse_salt()
331 if (salt_len >= F2FS_MAX_SALT_SIZE) in parse_salt()
367 if (salt_len >= F2FS_MAX_SALT_SIZE) in parse_salt()
459 unsigned char saltbuf[F2FS_MAX_SALT_SIZE + F2FS_MAX_PASSPHRASE_SIZE] = {0}; in pbkdf2_sha512()
461 int actual_saltbuf_len = F2FS_MAX_SALT_SIZE + passphrase_size; in pbkdf2_sha512()
471 if (salt->salt_len > F2FS_MAX_SALT_SIZE) { in pbkdf2_sha512()
473 F2FS_MAX_SALT_SIZE); in pbkdf2_sha512()
479 memcpy(&saltbuf[F2FS_MAX_SALT_SIZE], passphrase, passphrase_size); in pbkdf2_sha512()