Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/adapter/huks/src/
H A Dsoftbus_rsa_encrypt.c34 static const struct HksBlob g_rsaKeyAlias = { sizeof(SOFTBUS_RSA_KEY_ALIAS), (uint8_t *)SOFTBUS_RSA… variable
107 if (HksGenerateKey(&g_rsaKeyAlias, paramSet, NULL) != HKS_SUCCESS) { in GenerateRsaKeyPair()
124 if (!IsRsaKeyPairExist(g_rsaKeyAlias)) { in SoftBusGetPublicKey()
142 if (HksExportPublicKey(&g_rsaKeyAlias, paramSet, &publicKeyBlob) != HKS_SUCCESS) { in SoftBusGetPublicKey()
350 if (HksDecrypt(&g_rsaKeyAlias, paramSet, &encryptedBlob, &decryptedBlob) != HKS_SUCCESS) { in SoftBusRsaDecrypt()