Searched refs:salt_list (Results 1 – 2 of 2) sorted by relevance
/external/f2fs-tools/tools/ |
D | f2fscrypt.c | 234 struct salt *salt_list; variable 244 for (i = 0, p = salt_list; i < num_salt; i++, p++) in find_by_salt() 257 salt_list = realloc(salt_list, max_salt * sizeof(struct salt)); in add_salt() 258 if (!salt_list) { 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() 270 if (salt_list) { in clear_secrets() 271 memset(salt_list, 0, sizeof(struct salt) * max_salt); in clear_secrets() 272 free(salt_list); in clear_secrets() 273 salt_list = NULL; in clear_secrets() [all …]
|
/external/e2fsprogs/misc/ |
D | e4crypt.c | 187 struct salt *salt_list; variable 197 for (i = 0, p = salt_list; i < num_salt; i++, p++) in find_by_salt() 210 salt_list = realloc(salt_list, max_salt * sizeof(struct salt)); in add_salt() 211 if (!salt_list) { 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() 223 if (salt_list) { in clear_secrets() 224 memset(salt_list, 0, sizeof(struct salt) * max_salt); in clear_secrets() 225 free(salt_list); in clear_secrets() 226 salt_list = NULL; in clear_secrets() [all …]
|