Searched refs:keySize (Results 1 – 7 of 7) sorted by relevance
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcsi_ps.c | 418 UINT16 keySize = sizeof (tcpaKeyBlob); in TCS_GetRegisteredKey_Internal() local 474 UINT16 keySize; in TCS_GetRegisteredKeyBlob_Internal() local 481 keySize = sizeof(buffer); in TCS_GetRegisteredKeyBlob_Internal() 485 *prgbKey = calloc(1, keySize); in TCS_GetRegisteredKeyBlob_Internal() 490 memcpy(*prgbKey, buffer, keySize); in TCS_GetRegisteredKeyBlob_Internal() 492 *pcKeySize = keySize; in TCS_GetRegisteredKeyBlob_Internal() 503 UINT32 keyslot = 0, keySize; in TCSP_LoadKeyByUUID_Internal() local 559 keySize = blobSize; in TCSP_LoadKeyByUUID_Internal() 576 keySize, keyBlob, in TCSP_LoadKeyByUUID_Internal() 590 LoadBlob(&offset, keySize, blob, keyBlob); in TCSP_LoadKeyByUUID_Internal() [all …]
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tspi_key.c | 58 UINT32 keySize; in Tspi_Key_LoadKey() local 75 if ((result = obj_rsakey_get_blob(hKey, &keySize, &keyBlob))) in Tspi_Key_LoadKey() 90 result |= Trspi_HashUpdate(&hashCtx, keySize, keyBlob); in Tspi_Key_LoadKey() 219 UINT32 keySize; in Tspi_Key_CreateKey() local 272 result |= Trspi_HashUpdate(&hashCtx, keySize, keyBlob); in Tspi_Key_CreateKey() 279 result |= Trspi_HashUpdate(&hashCtx, keySize, keyBlob); in Tspi_Key_CreateKey() 292 if ((newKey = malloc(keySize)) == NULL) { in Tspi_Key_CreateKey() 293 LogError("malloc of %u bytes failed.", keySize); in Tspi_Key_CreateKey() 297 memcpy(newKey, keyBlob, keySize); in Tspi_Key_CreateKey() 298 newKeySize = keySize; in Tspi_Key_CreateKey() [all …]
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
H A D | rpc_ps.c | 33 UINT32 * keySize, /* out */ in RPC_GetRegisteredKeyByPublicInfo_TP() argument 57 if (getData(TCSD_PACKET_TYPE_UINT32, 0, keySize, 0, &hte->comm)) { in RPC_GetRegisteredKeyByPublicInfo_TP() 61 *keyBlob = (BYTE *) malloc(*keySize); in RPC_GetRegisteredKeyByPublicInfo_TP() 63 LogError("malloc of %u bytes failed.", *keySize); in RPC_GetRegisteredKeyByPublicInfo_TP() 67 if (getData(TCSD_PACKET_TYPE_PBYTE, 1, *keyBlob, *keySize, &hte->comm)) { in RPC_GetRegisteredKeyByPublicInfo_TP()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
H A D | rpc_ps.c | 337 UINT32 algId, ulPublicInfoLength, keySize; in tcs_wrap_GetRegisteredKeyByPublicInfo() local 364 ulPublicInfoLength, rgbPublicInfo, &keySize, &keyBlob); in tcs_wrap_GetRegisteredKeyByPublicInfo() 369 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &keySize, 0, &data->comm)) { in tcs_wrap_GetRegisteredKeyByPublicInfo() 373 if (setData(TCSD_PACKET_TYPE_PBYTE, 1, keyBlob, keySize, &data->comm)) { in tcs_wrap_GetRegisteredKeyByPublicInfo()
|
/netbsd/crypto/external/cpl/trousers/dist/src/include/tss/ |
H A D | tcs.h | 89 UINT32* keySize, // out
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/rpc/ |
H A D | tcs_api.c | 68 UINT32 * keySize, BYTE ** keyBlob) in RPC_GetRegisteredKeyByPublicInfo() argument 80 rgbPublicInfo, keySize, in RPC_GetRegisteredKeyByPublicInfo()
|
/netbsd/crypto/external/cpl/trousers/dist/src/include/ |
H A D | tcs_utils.h | 282 UINT32 * keySize, BYTE ** keyBlob);
|