Home
last modified time | relevance | path

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/
Dhks_ecc_key_mt.cpp480 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()
Dhks_agree_mt.cpp81 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/
Dpressure_test.cpp97 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()