Searched refs:pubParam (Results 1 – 3 of 3) sorted by relevance
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
D | hks_ecc_key_mt.cpp | 480 HksParam *pubParam = nullptr; in RunTestCase() local 481 HksGetParam(paramOutSet, HKS_TAG_ASYMMETRIC_PUBLIC_KEY_DATA, &pubParam); in RunTestCase() 482 …HksBlob pubKey = { .size = pubParam->blob.size, .data = (uint8_t *)HksMalloc(pubParam->blob.size) … in RunTestCase() 484 (void)memcpy_s(pubKey.data, pubParam->blob.size, pubParam->blob.data, pubParam->blob.size); in RunTestCase()
|
D | hks_agree_mt.cpp | 81 HksParam *pubParam = nullptr; in LocalHksGenerate() local 82 HksGetParam(paramOutSet, HKS_TAG_ASYMMETRIC_PUBLIC_KEY_DATA, &pubParam); in LocalHksGenerate() 83 pubKey->size = pubParam->blob.size; in LocalHksGenerate() 84 (void)memcpy_s(pubKey->data, pubParam->blob.size, pubParam->blob.data, pubParam->blob.size); in LocalHksGenerate()
|
/base/security/huks/test/reliability/src/ |
D | pressure_test.cpp | 97 HksParam *pubParam = nullptr; in LocalHksGenerate() local 98 HksGetParam(paramOutSet, HKS_TAG_ASYMMETRIC_PUBLIC_KEY_DATA, &pubParam); in LocalHksGenerate() 99 pubKey->size = pubParam->blob.size; in LocalHksGenerate() 100 (void)memcpy_s(pubKey->data, pubParam->blob.size, pubParam->blob.data, pubParam->blob.size); in LocalHksGenerate()
|