HomeSort by: relevance | last modified time | path
    Searched refs:randomSize (Results 1 - 15 of 15) sorted by relevancy

  /src/crypto/external/cpl/trousers/dist/src/tspi/
tsp_maint.c 29 UINT32 * randomSize, /* out */
51 Trspi_UnloadBlob_UINT32(&offset, randomSize, dec);
52 if (*randomSize > 0) {
53 if ((*random = malloc(*randomSize)) == NULL) {
54 *randomSize = 0;
56 LogError("malloc of %u bytes failed", *randomSize);
59 Trspi_UnloadBlob(&offset, *randomSize, dec, *random);
66 *randomSize = 0;
tsp_migration.c 35 UINT32 * randomSize, /* out */
91 Trspi_UnloadBlob_UINT32(&offset, randomSize, dec);
93 if ((*random = malloc(*randomSize)) == NULL) {
95 LogError("malloc of %u bytes failed", *randomSize);
96 *randomSize = 0;
99 Trspi_UnloadBlob(&offset, *randomSize, dec, *random);
106 *randomSize = 0;
123 UINT32 randomSize, /* in */
155 dataLen = (2 * sizeof(UINT32)) + randomSize + inDataSize;
164 Trspi_LoadBlob_UINT32(&offset, randomSize, data)
    [all...]
tspi_migration.c 168 UINT32 randomSize;
247 &randomSize, &random,
254 result |= Trspi_Hash_UINT32(&hashCtx, randomSize);
255 result |= Trspi_HashUpdate(&hashCtx, randomSize, random);
288 if (randomSize) {
292 *pulRandomLength = randomSize;
  /src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
rpc_migration.c 38 UINT32 * randomSize, /* out */
95 if (getData(TCSD_PACKET_TYPE_UINT32, i++, randomSize, 0, &hte->comm)) {
100 if (*randomSize > 0) {
101 *random = (BYTE *)malloc(*randomSize);
103 LogError("malloc of %u bytes failed.", *randomSize);
107 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *random, *randomSize, &hte->comm)) {
115 if (*randomSize > 0)
123 if (*randomSize > 0)
130 if (*randomSize > 0)
147 UINT32 randomSize, /* in *
    [all...]
rpc_maint.c 32 UINT32 * randomSize, /* out */
58 if (getData(TCSD_PACKET_TYPE_UINT32, 1, randomSize, 0, &hte->comm))
61 if (*randomSize > 0) {
62 *random = malloc(*randomSize);
64 LogError("malloc of %u bytes failed.", *randomSize);
69 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, *random, *randomSize, &hte->comm)) {
78 /* Assume all elements are in the list, even when *randomSize == 0. */
rpc_cmk.c 224 UINT32 *randomSize, /* out */
286 if (getData(TCSD_PACKET_TYPE_UINT32, i++, randomSize, 0, &hte->comm))
288 *random = (BYTE *)malloc(*randomSize);
290 LogError("malloc of %u bytes failed.", *randomSize);
293 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *random, *randomSize, &hte->comm)) {
324 UINT32 randomSize, /* in */
353 if (setData(TCSD_PACKET_TYPE_UINT32, 8, &randomSize, 0, &hte->comm))
355 if (setData(TCSD_PACKET_TYPE_PBYTE, 9, random, randomSize, &hte->comm))
  /src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
rpc_migration.c 37 UINT32 MigrationKeyAuthSize, encDataSize, randomSize, outDataSize;
106 &randomSize, &random, &outDataSize, &outData);
129 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &randomSize, 0, &data->comm)) {
134 if (randomSize > 0) {
135 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, random, randomSize, &data->comm)) {
169 UINT32 outDataSize, randomSize, inDataSize;
198 if (getData(TCSD_PACKET_TYPE_UINT32, 4, &randomSize, 0, &data->comm)) {
203 random = (BYTE *)malloc(randomSize);
206 LogError("malloc of %d bytes failed.", randomSize);
209 if (getData(TCSD_PACKET_TYPE_PBYTE, 5, random, randomSize, &data->comm))
    [all...]
rpc_maint.c 74 UINT32 randomSize, archiveSize;
94 &randomSize, &random, &archiveSize,
107 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &randomSize, 0, &data->comm)) {
112 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, random, randomSize, &data->comm)) {
rpc_cmk.c 304 UINT32 randomSize, outDataSize;
449 &randomSize, &random, &outDataSize, &outData);
469 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &randomSize, 0, &data->comm)) {
475 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, random, randomSize, &data->comm)) {
507 UINT32 keyDataSize, msaListSize, randomSize;
565 if (getData(TCSD_PACKET_TYPE_UINT32, 8, &randomSize, 0, &data->comm)) {
571 random = malloc(randomSize);
573 LogError("malloc of %u bytes failed.", randomSize);
578 if (getData(TCSD_PACKET_TYPE_PBYTE, 9, random, randomSize, &data->comm)) {
600 keyDataSize, keyData, msaListSize, msaList, randomSize, random
    [all...]
  /src/crypto/external/cpl/trousers/dist/src/tcs/
tcsi_migration.c 39 UINT32 * randomSize, /* out */
91 result = tpm_rsp_parse(TPM_ORD_CreateMigrationBlob, txBlob, paramSize, randomSize,
106 UINT32 randomSize, /* in */
133 inDataSize, inData, randomSize, random, parentAuth)))
tcsi_cmk.c 222 UINT32* randomSize, /* out */
259 randomSize, random, outDataSize, outData, parentAuth, NULL);
279 UINT32 randomSize, /* in */
307 randomSize, random, parentAuth)))
tcsi_maint.c 33 UINT32 * randomSize, /* out */
61 randomSize, random, archiveSize, archive, ownerAuth);
  /src/crypto/external/cpl/trousers/dist/src/include/tss/
tcs.h 474 UINT32* randomSize, // out
485 UINT32 randomSize, // in
847 UINT32* randomSize, // out
1046 UINT32* randomSize, // out
1061 UINT32 randomSize, // in
  /src/crypto/external/cpl/trousers/dist/src/tspi/rpc/
tcs_api.c 1203 UINT32 * randomSize, /* out */
1219 parentAuth, entityAuth, randomSize,
1235 UINT32 randomSize, /* in */
1250 inDataSize, inData, randomSize,
2093 UINT32 * randomSize, /* out */
2107 randomSize, random, archiveSize,
3251 UINT32 *randomSize, /* out */
3268 randomSize, random, outDataSize, outData);
3288 UINT32 randomSize, /* in */
3304 randomSize, random, pAuth, outDataSize, outData)
    [all...]
  /src/crypto/external/cpl/trousers/dist/src/include/
tcs_utils.h 628 UINT32 * randomSize, /* out */
638 UINT32 randomSize, /* in */
834 UINT32 * randomSize, /* out */
1157 UINT32* randomSize, /* out */
1171 UINT32 randomSize, /* in */

Completed in 36 milliseconds