Lines Matching refs:VbPublicKey
147 VbPublicKey* PublicKeyAlloc(uint64_t key_size, uint64_t algorithm, in PublicKeyAlloc()
149 VbPublicKey* key = (VbPublicKey*)malloc(sizeof(VbPublicKey) + key_size); in PublicKeyAlloc()
156 key->key_offset = sizeof(VbPublicKey); in PublicKeyAlloc()
160 VbPublicKey* PublicKeyReadKeyb(const char* filename, uint64_t algorithm, in PublicKeyReadKeyb()
162 VbPublicKey* key; in PublicKeyReadKeyb()
200 int PublicKeyLooksOkay(VbPublicKey *key, uint64_t file_size) in PublicKeyLooksOkay()
229 VbPublicKey* PublicKeyRead(const char* filename) { in PublicKeyRead()
230 VbPublicKey* key; in PublicKeyRead()
233 key = (VbPublicKey*)ReadFile(filename, &file_size); in PublicKeyRead()
245 int PublicKeyWrite(const char* filename, const VbPublicKey* key) { in PublicKeyWrite()
246 VbPublicKey* kcopy; in PublicKeyWrite()