Searched refs:PCRInfo (Results 1 – 10 of 10) sorted by relevance
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
| H A D | rpc_seal.c | 39 BYTE *PCRInfo = NULL, *inData = NULL; in tcs_common_Seal() local 65 PCRInfo = calloc(1, PCRInfoSize); in tcs_common_Seal() 66 if (PCRInfo == NULL) { in tcs_common_Seal() 71 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, PCRInfo, PCRInfoSize, &data->comm)) { in tcs_common_Seal() 72 free(PCRInfo); in tcs_common_Seal() 78 free(PCRInfo); in tcs_common_Seal() 86 free(PCRInfo); in tcs_common_Seal() 92 free(PCRInfo); in tcs_common_Seal() 102 free(PCRInfo); in tcs_common_Seal() 110 PCRInfo, inDataSize, inData, pAuth, &outDataSize, &outData); in tcs_common_Seal() [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
| H A D | tcs_key.c | 467 key->PCRInfo = NULL; in UnloadBlob_TSS_KEY() 469 key->PCRInfo = malloc(key->PCRInfoSize); in UnloadBlob_TSS_KEY() 470 if (key->PCRInfo == NULL) { in UnloadBlob_TSS_KEY() 478 UnloadBlob(offset, key->PCRInfoSize, blob, key->PCRInfo); in UnloadBlob_TSS_KEY() 482 free(key->PCRInfo); in UnloadBlob_TSS_KEY() 483 key->PCRInfo = NULL; in UnloadBlob_TSS_KEY() 502 free(key->PCRInfo); in UnloadBlob_TSS_KEY() 503 key->PCRInfo = NULL; in UnloadBlob_TSS_KEY() 529 LoadBlob(offset, key->PCRInfoSize, blob, key->PCRInfo); in LoadBlob_TSS_KEY() 585 free(key->PCRInfo); in destroy_key_refs() [all …]
|
| H A D | tcs_utils.c | 436 certify->PCRInfo = (BYTE *)malloc(certify->PCRInfoSize); in UnloadBlob_CERTIFY_INFO() 437 if (certify->PCRInfo == NULL) { in UnloadBlob_CERTIFY_INFO() 445 UnloadBlob(offset, certify->PCRInfoSize, blob, certify->PCRInfo); in UnloadBlob_CERTIFY_INFO() 447 certify->PCRInfo = NULL; in UnloadBlob_CERTIFY_INFO()
|
| H A D | tcs_key_mem_cache.c | 361 entry->blob->PCRInfo = (BYTE *)malloc(key_blob->PCRInfoSize); in mc_add_entry() 362 if (entry->blob->PCRInfo == NULL) { in mc_add_entry() 370 memcpy(entry->blob->PCRInfo, key_blob->PCRInfo, key_blob->PCRInfoSize); in mc_add_entry() 379 free(entry->blob->PCRInfo); in mc_add_entry()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/trspi/ |
| H A D | trousers.c | 417 Trspi_LoadBlob(offset, key->PCRInfoSize, blob, key->PCRInfo); in Trspi_LoadBlob_KEY12() 432 Trspi_LoadBlob(offset, key->PCRInfoSize, blob, key->PCRInfo); in Trspi_LoadBlob_KEY() 571 key->PCRInfo = malloc(key->PCRInfoSize); in Trspi_UnloadBlob_KEY12() 572 if (key->PCRInfo == NULL) { in Trspi_UnloadBlob_KEY12() 576 Trspi_UnloadBlob(offset, key->PCRInfoSize, blob, key->PCRInfo); in Trspi_UnloadBlob_KEY12() 578 key->PCRInfo = NULL; in Trspi_UnloadBlob_KEY12() 630 key->PCRInfo = malloc(key->PCRInfoSize); in Trspi_UnloadBlob_KEY() 631 if (key->PCRInfo == NULL) { in Trspi_UnloadBlob_KEY() 635 Trspi_UnloadBlob(offset, key->PCRInfoSize, blob, key->PCRInfo); in Trspi_UnloadBlob_KEY() 637 key->PCRInfo = NULL; in Trspi_UnloadBlob_KEY() [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
| H A D | tsp_key.c | 39 free(key->PCRInfo); in free_key_refs() 40 key->PCRInfo = NULL; in free_key_refs()
|
| H A D | obj_rsakey.c | 1499 if (rsakey->key.PCRInfoSize && rsakey->key.PCRInfo) { in obj_rsakey_set_tcpakey() 1502 if ((result = Trspi_UnloadBlob_PCR_INFO_LONG(&offset, rsakey->key.PCRInfo, in obj_rsakey_set_tcpakey() 1506 if ((result = Trspi_UnloadBlob_PCR_INFO(&offset, rsakey->key.PCRInfo, in obj_rsakey_set_tcpakey() 1810 rsakey->key.PCRInfo = pcrInfo; in obj_rsakey_set_pcr_data() 1825 free(rsakey->key.PCRInfo); in __tspi_rsakey_free()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/include/ |
| H A D | trousers_types.h | 115 BYTE *PCRInfo; member
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/ |
| H A D | tpm.h | 863 BYTE *PCRInfo; 880 BYTE *PCRInfo; 928 BYTE *PCRInfo; 945 BYTE *PCRInfo;
|
| /netbsd-src/crypto/external/cpl/trousers/dist/ |
| H A D | ChangeLog | 35 - PCRInfo member allocation in Trspi_Unload_CERTIFY_INFO. 292 - Fixed bug in mc_add_entry, where the PCRInfo data was not being 543 and calculation of PCRInfo size were incorrect.
|