Home
last modified time | relevance | path

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

/system/core/fs_mgr/
Dfs_mgr_verity.c111 static int verify_table(char *signature, char *table, int table_length) in verify_table() argument
118 SHA256_hash((uint8_t*)table, table_length, hash_buf); in verify_table()
211 unsigned table_length; in read_verity_metadata() local
281 if (TEMP_FAILURE_RETRY(read(device, &table_length, sizeof(table_length))) != in read_verity_metadata()
282 sizeof(table_length)) { in read_verity_metadata()
288 *table = malloc(table_length + 1); in read_verity_metadata()
293 if (TEMP_FAILURE_RETRY(read(device, *table, table_length)) != in read_verity_metadata()
294 (ssize_t)table_length) { in read_verity_metadata()
299 (*table)[table_length] = 0; in read_verity_metadata()