/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
H A D | rpc_random.c | 30 UINT32 bytesRequested, /* in */ in RPC_GetRandom_TP() argument 41 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &bytesRequested, 0, &hte->comm)) in RPC_GetRandom_TP() 50 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &bytesRequested, 0, &hte->comm)) { in RPC_GetRandom_TP() 54 *randomBytes = (BYTE *) malloc(bytesRequested); in RPC_GetRandom_TP() 56 LogError("malloc of %u bytes failed.", bytesRequested); in RPC_GetRandom_TP() 60 if (getData(TCSD_PACKET_TYPE_PBYTE, 1, *randomBytes, bytesRequested, &hte->comm)) { in RPC_GetRandom_TP()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
H A D | rpc_random.c | 34 UINT32 bytesRequested; in tcs_wrap_GetRandom() local 46 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &bytesRequested, 0, &data->comm)) in tcs_wrap_GetRandom() 51 result = TCSP_GetRandom_Internal(hContext, &bytesRequested, &randomBytes); in tcs_wrap_GetRandom() 57 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &bytesRequested, 0, &data->comm)) { in tcs_wrap_GetRandom() 61 if (setData(TCSD_PACKET_TYPE_PBYTE, 1, randomBytes, bytesRequested, &data->comm)) { in tcs_wrap_GetRandom()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcsi_random.c | 40 UINT32 * bytesRequested, /* in, out */ in TCSP_GetRandom_Internal() argument 48 LogDebugFn("%u bytes", *bytesRequested); in TCSP_GetRandom_Internal() 56 *bytesRequested - totalReturned, NULL))) in TCSP_GetRandom_Internal() 100 } while (totalReturned < *bytesRequested && retries--); in TCSP_GetRandom_Internal() 102 if (totalReturned != *bytesRequested) { in TCSP_GetRandom_Internal()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tspi_changeauth.c | 102 UINT32 bytesRequested; in Tspi_ChangeAuthAsym() 190 bytesRequested = 20; in Tspi_ChangeAuthAsym() 191 if ((result = get_local_random(tspContext, FALSE, bytesRequested, in Tspi_ChangeAuthAsym() 242 if ((result = get_local_random(tspContext, FALSE, bytesRequested, in Tspi_ChangeAuthAsym() 246 if ((result = get_local_random(tspContext, FALSE, bytesRequested, in Tspi_ChangeAuthAsym() 250 if ((result = get_local_random(tspContext, FALSE, bytesRequested, in Tspi_ChangeAuthAsym()
|
H A D | tsp_random.c | 27 UINT32 bytesRequested, /* in */ in Transport_GetRandom() argument 43 Trspi_LoadBlob_UINT32(&offset, bytesRequested, data); in Transport_GetRandom()
|
/netbsd-src/sys/dev/ic/ |
H A D | tpm.c | 495 uint32_t bytesRequested; in tpm12_rng() member 513 command.bytesRequested = htobe32(sizeof(response.bytes)); in tpm12_rng() 635 uint16_t bytesRequested; in tpm20_rng() member 653 command.bytesRequested = htobe16(sizeof(response.bytes)); in tpm20_rng()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/ |
H A D | tcs.h | 541 UINT32* bytesRequested, // in, out
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/ |
H A D | tcs_api.c | 1354 UINT32 bytesRequested, /* in */ in RPC_GetRandom() argument 1365 result = RPC_GetRandom_TP(entry, bytesRequested, randomBytes); in RPC_GetRandom()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/ |
H A D | tcs_utils.h | 676 UINT32 * bytesRequested, /* in, out */
|