/netbsd/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
H A D | rpc_nv.c | 99 BYTE *rgbDataToWrite = NULL; in tcs_wrap_NV_WriteValue() local 118 rgbDataToWrite = calloc(1, ulDataLength); in tcs_wrap_NV_WriteValue() 119 if (rgbDataToWrite == NULL) { in tcs_wrap_NV_WriteValue() 125 free(rgbDataToWrite); in tcs_wrap_NV_WriteValue() 141 free(rgbDataToWrite); in tcs_wrap_NV_WriteValue() 163 BYTE *rgbDataToWrite = NULL; in tcs_wrap_NV_WriteValueAuth() local 182 rgbDataToWrite = calloc(1, ulDataLength); in tcs_wrap_NV_WriteValueAuth() 183 if (rgbDataToWrite == NULL) { in tcs_wrap_NV_WriteValueAuth() 189 free(rgbDataToWrite); in tcs_wrap_NV_WriteValueAuth() 193 free(rgbDataToWrite); in tcs_wrap_NV_WriteValueAuth() [all …]
|
/netbsd/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/ |
H A D | tpm_nvwrite.c | 143 BYTE *rgbDataToWrite = NULL; in main() local 191 rgbDataToWrite = (BYTE *)data; in main() 204 rgbDataToWrite = malloc(ulDataLength); in main() 205 if (rgbDataToWrite == NULL) { in main() 214 read_bytes = read(fd, rgbDataToWrite, ulDataLength); in main() 228 rgbDataToWrite = malloc(ulDataLength); in main() 229 if (rgbDataToWrite == NULL) { in main() 233 __memset(rgbDataToWrite, fillvalue, ulDataLength); in main() 340 if (NVWriteValue(nvObject, off, chunk, &rgbDataToWrite[off-offset]) in main() 363 free(rgbDataToWrite); in main()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tspi_nv.c | 265 BYTE* rgbDataToWrite) /* in */ in Tspi_NV_WriteValue() argument 278 if ((ulDataLength != 0) && (rgbDataToWrite == NULL)) in Tspi_NV_WriteValue() 310 result |= Trspi_HashUpdate(&hashCtx, ulDataLength, rgbDataToWrite); in Tspi_NV_WriteValue() 324 rgbDataToWrite, &auth))) in Tspi_NV_WriteValue() 342 result |= Trspi_HashUpdate(&hashCtx, ulDataLength, rgbDataToWrite); in Tspi_NV_WriteValue() 356 rgbDataToWrite, &auth))) in Tspi_NV_WriteValue() 373 rgbDataToWrite, NULL))) in Tspi_NV_WriteValue() 380 rgbDataToWrite, NULL))) in Tspi_NV_WriteValue()
|
H A D | tsp_nv.c | 66 BYTE* rgbDataToWrite, /* in */ in Transport_NV_WriteValue() argument 90 Trspi_LoadBlob(&offset64, ulDataLength, data, rgbDataToWrite); in Transport_NV_WriteValue() 104 BYTE* rgbDataToWrite, /* in */ in Transport_NV_WriteValueAuth() argument 128 Trspi_LoadBlob(&offset64, ulDataLength, data, rgbDataToWrite); in Transport_NV_WriteValueAuth()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcsi_nv.c | 74 BYTE * rgbDataToWrite, /* in */ in TCSP_NV_WriteValue_Internal() argument 91 ulDataLength, rgbDataToWrite, privAuth))) in TCSP_NV_WriteValue_Internal() 114 BYTE * rgbDataToWrite, /* in */ in TCSP_NV_WriteValueAuth_Internal() argument 129 ulDataLength, rgbDataToWrite, NVAuth))) in TCSP_NV_WriteValueAuth_Internal()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
H A D | rpc_nv.c | 78 BYTE* rgbDataToWrite, /* in */ in RPC_NV_WriteValue_TP() argument 94 if (setData(TCSD_PACKET_TYPE_PBYTE, 4, rgbDataToWrite, ulDataLength, &hte->comm)) in RPC_NV_WriteValue_TP() 126 BYTE* rgbDataToWrite, /* in */ in RPC_NV_WriteValueAuth_TP() argument 142 if (setData(TCSD_PACKET_TYPE_PBYTE, 4, rgbDataToWrite, ulDataLength, &hte->comm)) in RPC_NV_WriteValueAuth_TP()
|
/netbsd/crypto/external/cpl/tpm-tools/dist/include/ |
H A D | tpm_tspi.h | 131 UINT32 ulDataLength, BYTE *rgbDataToWrite);
|
/netbsd/crypto/external/cpl/tpm-tools/dist/lib/ |
H A D | tpm_tspi.c | 677 UINT32 ulDataLength, BYTE *rgbDataToWrite) in NVWriteValue() argument 681 ulDataLength, rgbDataToWrite); in NVWriteValue()
|
/netbsd/crypto/external/cpl/trousers/dist/src/include/tss/ |
H A D | tcs.h | 812 BYTE* rgbDataToWrite, // in 821 BYTE* rgbDataToWrite, // in
|
H A D | tspi.h | 958 BYTE* rgbDataToWrite // in
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/rpc/ |
H A D | tcs_api.c | 2628 BYTE* rgbDataToWrite, /* in */ in RPC_NV_WriteValue() argument 2640 rgbDataToWrite, privAuth); in RPC_NV_WriteValue() 2657 BYTE* rgbDataToWrite, /* in */ in RPC_NV_WriteValueAuth() argument 2670 rgbDataToWrite, NVAuth); in RPC_NV_WriteValueAuth()
|
/netbsd/crypto/external/cpl/trousers/dist/src/include/ |
H A D | tcs_utils.h | 986 BYTE* rgbDataToWrite, /* in */ 994 BYTE* rgbDataToWrite, /* in */
|