Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cryptolib/
Dsha_utility.c19 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()
Drsa.c83 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()
Drsa_utility.c30 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()
/external/vboot_reference/firmware/lib/
Dgpt_misc.c33 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()
Dregion-kernel.c39 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()
Dvboot_api_firmware.c49 cparams->gbb = VbExMalloc(sizeof(*cparams->gbb)); in VbSelectFirmware()
60 cparams->gbb = VbExMalloc(sizeof(*cparams->gbb)); in VbSelectFirmware()
Dregion-fw.c36 key = VbExMalloc(size); in VbGbbReadKey()
Dvboot_audio.c173 notebuf = VbExMalloc((hdr->count + 1) * sizeof(VbDevMusicNote)); in VbGetDevMusicNotes()
Dvboot_firmware.c87 VbExMalloc(sizeof(VbLoadFirmwareInternal)); in LoadFirmware()
Dvboot_kernel.c137 kbuf = (uint8_t*)VbExMalloc(KBUF_SIZE); in LoadKernel()
Dvboot_api_kernel.c991 cparams->gbb = VbExMalloc(sizeof(*cparams->gbb)); in VbSelectAndLoadKernel()
/external/vboot_reference/firmware/stub/
Dvboot_api_stub_static_sf.c15 void *VbExMalloc(size_t size) in VbExMalloc() function
Dvboot_api_stub_stream.c39 s = VbExMalloc(sizeof(*s)); in VbExStreamOpen()
Dvboot_api_stub_sf.c44 void *VbExMalloc(size_t size) in VbExMalloc() function
/external/vboot_reference/tests/
Drsa_utility_tests.c26 return VbExMalloc(4); in DigestBuf()
Dvboot_display_tests.c68 cparams.gbb = VbExMalloc(sizeof(*gbb)); in ResetMocks()
Dvboot_firmware_tests.c157 digest_returned = (uint8_t*)VbExMalloc(4); in DigestFinal()
/external/vboot_reference/firmware/include/
Dvboot_api.h412 void *VbExMalloc(size_t size);