Home
last modified time | relevance | path

Searched refs:randomBytes (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
Drpc_random.c35 BYTE *randomBytes = NULL; in tcs_wrap_GetRandom() local
51 result = TCSP_GetRandom_Internal(hContext, &bytesRequested, &randomBytes); in tcs_wrap_GetRandom()
58 free(randomBytes); in tcs_wrap_GetRandom()
61 … if (setData(TCSD_PACKET_TYPE_PBYTE, 1, randomBytes, bytesRequested, &data->comm)) { in tcs_wrap_GetRandom()
62 free(randomBytes); in tcs_wrap_GetRandom()
65 free(randomBytes); in tcs_wrap_GetRandom()
/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
Drpc_random.c31 BYTE ** randomBytes) /* out */ in RPC_GetRandom_TP() argument
54 *randomBytes = (BYTE *) malloc(bytesRequested); in RPC_GetRandom_TP()
55 if (*randomBytes == NULL) { in RPC_GetRandom_TP()
60 … if (getData(TCSD_PACKET_TYPE_PBYTE, 1, *randomBytes, bytesRequested, &hte->comm)) { in RPC_GetRandom_TP()
61 free(*randomBytes); in RPC_GetRandom_TP()
/netbsd/src/crypto/external/cpl/trousers/dist/src/tcs/
Dtcsi_random.c41 BYTE ** randomBytes) /* out */ in TCSP_GetRandom_Internal() argument
82 rnd_tmp2 = realloc(*randomBytes, totalReturned + bytesReturned); in TCSP_GetRandom_Internal()
90 *randomBytes = rnd_tmp2; in TCSP_GetRandom_Internal()
91 memcpy(*randomBytes + totalReturned, rnd_tmp, bytesReturned); in TCSP_GetRandom_Internal()
108 *randomBytes = rnd_tmp; in TCSP_GetRandom_Internal()
/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/
Dtsp_random.c28 BYTE ** randomBytes) /* out */ in Transport_GetRandom() argument
50 *randomBytes = dec; in Transport_GetRandom()
/netbsd/src/crypto/external/cpl/trousers/dist/src/include/tss/
Dtcs.h542 BYTE** randomBytes // out
/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/rpc/
Dtcs_api.c1355 BYTE ** randomBytes) /* out */ in RPC_GetRandom() argument
1365 result = RPC_GetRandom_TP(entry, bytesRequested, randomBytes); in RPC_GetRandom()
/netbsd/src/crypto/external/cpl/trousers/dist/src/include/
Dtcs_utils.h677 BYTE ** randomBytes /* out */