Searched refs:VbExMalloc (Results 1 – 18 of 18) sorted by relevance
19 ctx->sha1_ctx = (SHA1_CTX*) VbExMalloc(sizeof(SHA1_CTX)); in DigestInit()24 ctx->sha256_ctx = (VB_SHA256_CTX*) VbExMalloc(sizeof(VB_SHA256_CTX)); in DigestInit()29 ctx->sha512_ctx = (VB_SHA512_CTX*) VbExMalloc(sizeof(VB_SHA512_CTX)); in DigestInit()59 digest = (uint8_t*) VbExMalloc(SHA1_DIGEST_SIZE); in DigestFinal()65 digest = (uint8_t*) VbExMalloc(SHA256_DIGEST_SIZE); in DigestFinal()71 digest = (uint8_t*) VbExMalloc(SHA512_DIGEST_SIZE); in DigestFinal()82 uint8_t* digest = (uint8_t*) VbExMalloc(SHA512_DIGEST_SIZE); in DigestBuf()
83 uint32_t* a = (uint32_t*) VbExMalloc(key->len * sizeof(uint32_t)); in modpowF4()84 uint32_t* aR = (uint32_t*) VbExMalloc(key->len * sizeof(uint32_t)); in modpowF4()85 uint32_t* aaR = (uint32_t*) VbExMalloc(key->len * sizeof(uint32_t)); in modpowF4()158 buf = (uint8_t*) VbExMalloc(sig_len); in RSAVerify()
30 RSAPublicKey* key = (RSAPublicKey*) VbExMalloc(sizeof(RSAPublicKey)); in RSAPublicKeyNew()69 key->n = (uint32_t*) VbExMalloc(key_len); in RSAPublicKeyFromBuf()70 key->rr = (uint32_t*) VbExMalloc(key_len); in RSAPublicKeyFromBuf()
33 gptdata->primary_header = (uint8_t *)VbExMalloc(gptdata->sector_bytes); in AllocAndReadGptData()35 (uint8_t *)VbExMalloc(gptdata->sector_bytes); in AllocAndReadGptData()36 gptdata->primary_entries = (uint8_t *)VbExMalloc(max_entries_bytes); in AllocAndReadGptData()37 gptdata->secondary_entries = (uint8_t *)VbExMalloc(max_entries_bytes); in AllocAndReadGptData()
39 hdr = VbExMalloc(sizeof(*hdr)); in VbGbbReadBmpHeader()139 data = VbExMalloc(image_info->compressed_size); in VbGbbReadImage()149 orig_data = VbExMalloc(image_info->original_size); in VbGbbReadImage()
49 cparams->gbb = VbExMalloc(sizeof(*cparams->gbb)); in VbSelectFirmware()60 cparams->gbb = VbExMalloc(sizeof(*cparams->gbb)); in VbSelectFirmware()
36 key = VbExMalloc(size); in VbGbbReadKey()
173 notebuf = VbExMalloc((hdr->count + 1) * sizeof(VbDevMusicNote)); in VbGetDevMusicNotes()
87 VbExMalloc(sizeof(VbLoadFirmwareInternal)); in LoadFirmware()
137 kbuf = (uint8_t*)VbExMalloc(KBUF_SIZE); in LoadKernel()
991 cparams->gbb = VbExMalloc(sizeof(*cparams->gbb)); in VbSelectAndLoadKernel()
15 void *VbExMalloc(size_t size) in VbExMalloc() function
39 s = VbExMalloc(sizeof(*s)); in VbExStreamOpen()
44 void *VbExMalloc(size_t size) in VbExMalloc() function
26 return VbExMalloc(4); in DigestBuf()
68 cparams.gbb = VbExMalloc(sizeof(*gbb)); in ResetMocks()
157 digest_returned = (uint8_t*)VbExMalloc(4); in DigestFinal()
412 void *VbExMalloc(size_t size);