Home
last modified time | relevance | path

Searched refs:sharedKeyBuffer (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
H A Dkey_management_test.cpp95 Uint8Buff sharedKeyBuffer = { keyData, P256_PUBLIC_SIZE }; variable
96 int32_t ret = MbedtlsAgreeSharedSecret(&priKeyBuffer, &pubKeyBuffer, &sharedKeyBuffer);
99 ret = MbedtlsAgreeSharedSecret(&keyInvalidBuff01, &pubKeyBuffer, &sharedKeyBuffer);
102 ret = MbedtlsAgreeSharedSecret(&priKeyBuffer, &keyInvalidBuff02, &sharedKeyBuffer);
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_chipset_platform_encrypt_test.cpp457 std::vector<uint8_t> sharedKeyBuffer(PLATFORM_KEY_SHARED_KEY_SIZE); in Encrypt() local
458 …struct HksBlob sharedKey = { .size = PLATFORM_KEY_SHARED_KEY_SIZE, .data = sharedKeyBuffer.data() … in Encrypt()