Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
De4crypt.c189 unsigned max_salt; variable
208 if (num_salt >= max_salt) { in add_salt()
209 max_salt = num_salt + 10; in add_salt()
210 salt_list = realloc(salt_list, max_salt * sizeof(struct salt)); in add_salt()
224 memset(salt_list, 0, sizeof(struct salt) * max_salt); in clear_secrets()
/external/f2fs-tools/tools/
Df2fscrypt.c231 unsigned max_salt; variable
250 if (num_salt >= max_salt) { in add_salt()
251 max_salt = num_salt + 10; in add_salt()
252 salt_list = realloc(salt_list, max_salt * sizeof(struct salt)); in add_salt()
266 memset(salt_list, 0, sizeof(struct salt) * max_salt); in clear_secrets()