Lines Matching refs:VbKeyBlockHeader
15 VbKeyBlockHeader* KeyBlockCreate(const VbPublicKey* data_key, in KeyBlockCreate()
19 VbKeyBlockHeader* h; in KeyBlockCreate()
20 uint64_t signed_size = sizeof(VbKeyBlockHeader) + data_key->key_size; in KeyBlockCreate()
30 h = (VbKeyBlockHeader*)malloc(block_size); in KeyBlockCreate()
75 VbKeyBlockHeader* KeyBlockCreate_external(const VbPublicKey* data_key, in KeyBlockCreate_external()
80 VbKeyBlockHeader* h; in KeyBlockCreate_external()
81 uint64_t signed_size = sizeof(VbKeyBlockHeader) + data_key->key_size; in KeyBlockCreate_external()
90 h = (VbKeyBlockHeader*)malloc(block_size); in KeyBlockCreate_external()
136 VbKeyBlockHeader* KeyBlockRead(const char* filename) { in KeyBlockRead()
138 VbKeyBlockHeader* block; in KeyBlockRead()
141 block = (VbKeyBlockHeader*)ReadFile(filename, &file_size); in KeyBlockRead()
160 int KeyBlockWrite(const char* filename, const VbKeyBlockHeader* key_block) { in KeyBlockWrite()