| /src/crypto/external/cpl/trousers/dist/src/tspi/ |
| tsp_nv.c | 34 UINT32 dataLen; 44 dataLen = sizeof(TCPA_ENCAUTH) + cPubInfoSize; 45 if ((data = malloc(dataLen)) == NULL) { 46 LogError("malloc of %u bytes failed", dataLen); 54 result = obj_context_transport_execute(tspContext, TPM_ORD_NV_DefineSpace, dataLen, data, 70 UINT32 dataLen; 80 dataLen = sizeof(TSS_NV_INDEX) + (2 * sizeof(UINT32)) + ulDataLength; 81 if ((data = malloc(dataLen)) == NULL) { 82 LogError("malloc of %u bytes failed", dataLen); 92 result = obj_context_transport_execute(tspContext, TPM_ORD_NV_WriteValue, dataLen, data [all...] |
| tsp_random.c | 63 UINT32 dataLen; 72 dataLen = sizeof(UINT32) + inDataSize; 73 if ((data = malloc(dataLen)) == NULL) { 74 LogError("malloc of %u bytes failed", dataLen); 82 result = obj_context_transport_execute(tspContext, TPM_ORD_StirRandom, dataLen, data, NULL,
|
| tsp_caps_tpm.c | 82 UINT32 decLen = 0, dataLen; 93 dataLen = (2 * sizeof(UINT32)) + subCapLen; 94 if ((data = malloc(dataLen)) == NULL) { 95 LogError("malloc of %u bytes failed", dataLen); 104 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_GetCapability, dataLen, 138 UINT32 dataLen; 148 dataLen = (3 * sizeof(UINT32)) + subCapSize + valueSize; 149 if ((data = malloc(dataLen)) == NULL) { 150 LogError("malloc of %u bytes failed", dataLen); 161 result = obj_context_transport_execute(tspContext, TPM_ORD_SetCapability, dataLen, data [all...] |
| tsp_bind.c | 35 UINT32 handlesLen, dataLen, decLen; 59 dataLen = sizeof(UINT32) + inDataSize; 60 if ((data = malloc(dataLen)) == NULL) { 61 LogError("malloc of %u bytes failed", dataLen); 69 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_UnBind, dataLen, data,
|
| tsp_sign.c | 36 UINT32 handlesLen, decLen, dataLen; 60 dataLen = sizeof(UINT32) + areaToSignSize; 61 if ((data = malloc(dataLen)) == NULL) { 62 LogError("malloc of %u bytes failed", dataLen); 70 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_Sign, dataLen, data,
|
| tsp_migration.c | 42 UINT32 handlesLen, dataLen, decLen; 66 dataLen = sizeof(TCPA_MIGRATE_SCHEME) 70 if ((data = malloc(dataLen)) == NULL) { 71 LogError("malloc of %u bytes failed", dataLen); 82 dataLen, data, &pubKeyHash, &handlesLen, 131 UINT32 handlesLen, dataLen, decLen; 155 dataLen = (2 * sizeof(UINT32)) + randomSize + inDataSize; 156 if ((data = malloc(dataLen)) == NULL) { 157 LogError("malloc of %u bytes failed", dataLen); 168 dataLen, data, &pubKeyHash, &handlesLen [all...] |
| tsp_quote.c | 39 UINT32 handlesLen, dataLen, decLen; 65 dataLen = sizeof(TCPA_NONCE) + pcrDataSizeIn; 66 if ((data = malloc(dataLen)) == NULL) { 67 LogError("malloc of %u bytes failed", dataLen); 75 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_Quote, dataLen, data,
|
| tsp_quote2.c | 42 UINT32 handlesLen, dataLen, decLen; 68 dataLen = sizeof(TCPA_NONCE) + pcrDataSizeIn + sizeof(TSS_BOOL); 69 if ((data = malloc(dataLen)) == NULL) { 70 LogError("malloc of %u bytes failed", dataLen); 79 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_Quote2, dataLen, data,
|
| tsp_seal.c | 88 UINT32 handlesLen, decLen, dataLen; 113 dataLen = (2 * sizeof(UINT32)) + sizeof(TPM_ENCAUTH) + pcrInfoSize + inDataSize; 114 if ((data = malloc(dataLen)) == NULL) { 115 LogError("malloc of %u bytes failed", dataLen); 126 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_Seal, dataLen, data, 150 UINT32 handlesLen, decLen, dataLen; 175 dataLen = (2 * sizeof(UINT32)) + sizeof(TPM_ENCAUTH) + pcrInfoSize + inDataSize; 176 if ((data = malloc(dataLen)) == NULL) { 177 LogError("malloc of %u bytes failed", dataLen); 188 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_Sealx, dataLen, data [all...] |
| tsp_delegate.c | 444 UINT32 handlesLen = 0, decLen, dataLen; 454 dataLen = sizeof(TPM_FAMILY_ID) 458 if ((data = malloc(dataLen)) == NULL) { 459 LogError("malloc of %u bytes failed", dataLen); 469 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_Delegate_Manage, dataLen, 504 UINT32 handlesLen, decLen, dataLen; 528 dataLen = publicInfoSize + sizeof(TPM_ENCAUTH); 529 if ((data = malloc(dataLen)) == NULL) { 530 LogError("malloc of %u bytes failed", dataLen); 539 TPM_ORD_Delegate_CreateKeyDelegation, dataLen, [all...] |
| tsp_aik.c | 86 UINT32 handlesLen = 0, decLen, dataLen; 94 dataLen = sizeof(TCPA_ENCAUTH) + sizeof(TCPA_CHOSENID_HASH) + idKeyInfoSize; 95 if ((data = malloc(dataLen)) == NULL) { 96 LogError("malloc of %u bytes failed", dataLen); 105 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_MakeIdentity, dataLen,
|
| tsp_maint.c | 136 UINT32 handlesLen = 0, dataLen, decLen; 144 dataLen = sizeof(TCPA_NONCE) + PubKeySize; 145 if ((data = malloc(dataLen)) == NULL) { 146 LogError("malloc of %u bytes failed", dataLen); 155 dataLen, data, NULL, &handlesLen, NULL, NULL,
|
| tspi_audit.c | 205 signInfo.dataLen = sizeof(auditDigest.digest) + counterValueSize + 207 if ((signInfo.data = malloc(signInfo.dataLen)) == NULL) { 208 LogError("malloc of %u bytes failed.", signInfo.dataLen);
|
| obj_nv.c | 656 UINT32 dataLen; 675 if ((result = obj_pcrs_get_selection(hPcrComposite, &dataLen, pdata))) { 681 if (dataLen - sizeof(UINT16) > 3) { 690 &dataLen, &ppbHashData))) { 694 memcpy(digAtRelease, ppbHashData, dataLen);
|
| tsp_changeauth.c | 379 UINT32 handlesLen, dataLen, decLen; 404 dataLen = sizeof(TCPA_PROTOCOL_ID) + sizeof(TCPA_ENCAUTH) 408 if ((data = malloc(dataLen)) == NULL) { 409 LogError("malloc of %u bytes failed", dataLen); 420 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_ChangeAuth, dataLen, data,
|
| /src/sys/arch/acorn32/include/ |
| scrio.h | 68 unsigned int dataLen; /* data length, used on write, set of read */
|
| /src/sys/arch/shark/include/ |
| scrio.h | 68 unsigned int dataLen; /* data length, used on write, set of read */
|
| /src/usr.sbin/mopd/common/ |
| pf-linux2.c | 60 u_short dataLen; 262 RDS[0].dataLen = 0; 273 RDS[0].dataLen = cc; 275 RDS[1].dataLen = 0;
|
| /src/external/gpl3/binutils/dist/zlib/contrib/minizip/ |
| zip.h | 342 extern int ZEXPORT zipRemoveExtraInfoBlock(char* pData, int* dataLen, short sHeader);
|
| zip.c | 1901 extern int ZEXPORT zipRemoveExtraInfoBlock(char* pData, int* dataLen, short sHeader) { 1911 if(pData == NULL || dataLen == NULL || *dataLen < 4) 1914 pNewHeader = (char*)ALLOC((unsigned)*dataLen); 1917 while(p < (pData + *dataLen)) 1936 if(size < *dataLen) 1939 memset(pData,0, *dataLen); 1946 *dataLen = size;
|
| /src/external/gpl3/binutils.old/dist/zlib/contrib/minizip/ |
| zip.h | 345 extern int ZEXPORT zipRemoveExtraInfoBlock OF((char* pData, int* dataLen, short sHeader));
|
| /src/external/gpl3/gdb.old/dist/zlib/contrib/minizip/ |
| zip.h | 345 extern int ZEXPORT zipRemoveExtraInfoBlock OF((char* pData, int* dataLen, short sHeader));
|
| /src/external/gpl3/gdb/dist/zlib/contrib/minizip/ |
| zip.h | 342 extern int ZEXPORT zipRemoveExtraInfoBlock(char* pData, int* dataLen, short sHeader);
|
| zip.c | 1901 extern int ZEXPORT zipRemoveExtraInfoBlock(char* pData, int* dataLen, short sHeader) { 1911 if(pData == NULL || dataLen == NULL || *dataLen < 4) 1914 pNewHeader = (char*)ALLOC((unsigned)*dataLen); 1917 while(p < (pData + *dataLen)) 1936 if(size < *dataLen) 1939 memset(pData,0, *dataLen); 1946 *dataLen = size;
|
| /src/common/dist/zlib/contrib/minizip/ |
| zip.h | 349 extern int ZEXPORT zipRemoveExtraInfoBlock(char* pData, int* dataLen, short sHeader);
|