Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
De4crypt.c188 unsigned num_salt; variable
197 for (i = 0, p = salt_list; i < num_salt; i++, p++) in find_by_salt()
208 if (num_salt >= max_salt) { in add_salt()
209 max_salt = num_salt + 10; in add_salt()
216 salt_list[num_salt].salt = salt; in add_salt()
217 salt_list[num_salt].salt_len = salt_len; in add_salt()
218 num_salt++; in add_salt()
688 if (num_salt == 0) in do_add_key()
690 if (num_salt == 0) { in do_add_key()
699 for (j = 0, salt = salt_list; j < num_salt; j++, salt++) { in do_add_key()
/external/f2fs-tools/tools/
Df2fscrypt.c235 unsigned num_salt; variable
244 for (i = 0, p = salt_list; i < num_salt; i++, p++) in find_by_salt()
255 if (num_salt >= max_salt) { in add_salt()
256 max_salt = num_salt + 10; in add_salt()
263 salt_list[num_salt].salt = salt; in add_salt()
264 salt_list[num_salt].salt_len = salt_len; in add_salt()
265 num_salt++; in add_salt()
723 if (num_salt == 0) in do_add_key()
725 if (num_salt == 0) { in do_add_key()
734 for (j = 0, salt = salt_list; j < num_salt; j++, salt++) { in do_add_key()