Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/adapter/huks/src/
H A Dsoftbus_rsa_encrypt.c132 struct HksBlob publicKeyBlob = { HKS_RSA_KEY_SIZE_4096, pubKey }; in SoftBusGetPublicKey() local
142 if (HksExportPublicKey(&g_rsaKeyAlias, paramSet, &publicKeyBlob) != HKS_SUCCESS) { in SoftBusGetPublicKey()
148 COMM_LOGD(COMM_UTILS, "public key is X509, size=%{public}u.", publicKeyBlob.size); in SoftBusGetPublicKey()
149 if (memcpy_s(publicKey, publicKeyLen, publicKeyBlob.data, publicKeyBlob.size) != EOK) { in SoftBusGetPublicKey()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_chipset_platform_encrypt_test.cpp273 … HksBlob publicKeyBlob = { .size = PLATFORM_KEY_PLATFORM_PUB_KEY_SIZE, .data = rawPubKey.data() }; in ExportX509ChipsetPlatformPubKey() local
274 int32_t ret = HksExportChipsetPlatformPublicKey(&salt, scene, &publicKeyBlob); in ExportX509ChipsetPlatformPubKey()