Home
last modified time | relevance | path

Searched refs:publicKeySize (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/
H A Dhks_crypto_adapter.c463 if (keyIn->size < publicKeySize) { in FormatRsaKey()
471 (void)memcpy_s(publicKey, publicKeySize, keyIn->data, publicKeySize); in FormatRsaKey()
475 (void)memset_s(publicKey, publicKeySize, 0, publicKeySize); in FormatRsaKey()
491 if (keyIn->size < publicKeySize) { in FormatDsaKey()
506 (void)memset_s(publicKey, publicKeySize, 0, publicKeySize); in FormatDsaKey()
521 if (keyIn->size < publicKeySize) { in FormatEccKey()
529 (void)memcpy_s(publicKey, publicKeySize, keyIn->data, publicKeySize); in FormatEccKey()
532 (void)memset_s(publicKey, publicKeySize, 0, publicKeySize); in FormatEccKey()
547 if (keyIn->size < publicKeySize) { in FormatDhKey()
555 (void)memcpy_s(publicKey, publicKeySize, keyIn->data, publicKeySize); in FormatDhKey()
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
H A Dhks_import_wrapped_test_common.h26 uint32_t publicKeySize; member
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_import_wrapped_test_common.cpp119 huksPublicKey->size = params->publicKeySize; in GenerateAndExportHuksPublicKey()
135 callerSelfPublicKey->size = params->publicKeySize; in GenerateAndExportCallerPublicKey()
H A Dhks_import_wrapped_x25519_suite_test.cpp393 importWrappedKeyTestParams->publicKeySize = g_x25519PubKeySize; in InitCommonTestParamsAndDoImport()
468 importWrappedKeyTestParams002.publicKeySize = g_x25519PubKeySize;
H A Dhks_import_wrapped_ecdh_suite_test.cpp330 importWrappedKeyTestParams->publicKeySize = g_ecdhPubKeySize; in InitCommonTestParamsAndDoImport()
/ohos5.0/docs/zh-cn/application-dev/security/UniversalKeystoreKit/
H A Dhuks-import-wrapped-key-ndk.md64 uint32_t publicKeySize;
327 huksPublicKey->size = params->publicKeySize;
341 callerSelfPublicKey->size = params->publicKeySize;
513 importWrappedKeyTestParams->publicKeySize = g_x25519PubKeySize;
/ohos5.0/drivers/peripheral/user_auth/test/unittest/service_test/src/
H A Duser_auth_interface_service_test.cpp201 constexpr uint32_t publicKeySize = 32; variable
204 info.publicKey.resize(publicKeySize);
224 constexpr uint32_t publicKeySize = 32; variable
227 info.publicKey.resize(publicKeySize);
383 constexpr int32_t publicKeySize = 32; variable
392 info.publicKey.resize(publicKeySize);
/ohos5.0/docs/en/application-dev/security/UniversalKeystoreKit/
H A Dhuks-import-wrapped-key-ndk.md64 uint32_t publicKeySize;
327 huksPublicKey->size = params->publicKeySize;
341 callerSelfPublicKey->size = params->publicKeySize;
513 importWrappedKeyTestParams->publicKeySize = g_x25519PubKeySize;