Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.h38 #define CRYPT_PERSIST_DATA_SIZE 0x1000 macro
Dcryptfs.c690 pdata = malloc(CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
695 memset(pdata, 0, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
704 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
707 init_empty_persist_data(pdata, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
708 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
711 crypt_ftr->persist_data_size = CRYPT_PERSIST_DATA_SIZE; in upgrade_crypt_ftr()
713 crypt_ftr->persist_data_offset[1] = pdata_offset + CRYPT_PERSIST_DATA_SIZE; in upgrade_crypt_ftr()
858 pdata = malloc(CRYPT_PERSIST_DATA_SIZE); in load_persistent_data()
860 init_empty_persist_data(pdata, CRYPT_PERSIST_DATA_SIZE); in load_persistent_data()
2135 ftr->persist_data_size = CRYPT_PERSIST_DATA_SIZE;
[all …]