Searched refs:salt_list (Results 1 – 2 of 2) sorted by relevance
/third_party/e2fsprogs/misc/ |
D | e4crypt.c | 188 struct salt *salt_list; variable 198 for (i = 0, p = salt_list; i < num_salt; i++, p++) in find_by_salt() 211 salt_list = realloc(salt_list, max_salt * sizeof(struct salt)); in add_salt() 212 if (!salt_list) { in add_salt() 217 salt_list[num_salt].salt = salt; in add_salt() 218 salt_list[num_salt].salt_len = salt_len; in add_salt() 224 if (salt_list) { in clear_secrets() 225 memset(salt_list, 0, sizeof(struct salt) * max_salt); in clear_secrets() 226 free(salt_list); in clear_secrets() 227 salt_list = NULL; in clear_secrets() [all …]
|
/third_party/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 …]
|