Home
last modified time | relevance | path

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

/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
Ddcm_attest_utils.c116 uint32_t totalSize = spkiHeaderLen + info->nOrXSize + info->eOrYSize; in GetEcPublicKey()
129 …emcpy_s(p, totalSize - spkiHeaderLen - info->nOrXSize, publicKey + info->nOrXSize, info->eOrYSize); in GetEcPublicKey()
148 struct HksAsn1Blob e = { ASN_1_TAG_TYPE_INT, info->eOrYSize, publicKey + info->nOrXSize }; in ConstructKeySeq()
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_lite.c257 if ((publicKey->size - offset) < publicKeyInfo->eOrYSize) { in TranslateToX509PublicKey()
263 struct HksBlob material2 = { publicKeyInfo->eOrYSize, publicKey->data + offset }; in TranslateToX509PublicKey()
320 pubKeyInfo->eOrYSize = eSize; in X509PublicKeyToRsa()
381 pubKeyInfo->eOrYSize = ySize; in X509PublicKeyToEcc()
Dhks_client_service_adapter.c566 if ((publicKey->size - offset) < publicKeyInfo->eOrYSize) { in TranslateToX509PublicKey()
571 struct HksBlob material2 = { publicKeyInfo->eOrYSize, publicKey->data + offset }; in TranslateToX509PublicKey()
600 pubKeyInfo->eOrYSize = (uint32_t)eSize; in X509PublicKeyToRsa()
652 pubKeyInfo->eOrYSize = ySize; in EcKeyToPublicKey()
707 pubKeyInfo->eOrYSize = pubYBlob.size; in EvpPkeyToHksPubKeyInfo()
/base/security/huks/interfaces/kits/c/include/
Dnative_huks_type.h752 uint32_t eOrYSize; member
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h687 uint32_t eOrYSize; member
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_rsa_helper.c153 pubKeyInfo->eOrYSize = eSize; in X509ToRsaPublicKey()
Dopenssl_ecc_helper.c486 pubKeyInfo->eOrYSize = ySize; in EcKeyToPublicKey()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp852 ASSERT_EQ(sizeof(pubKeyInfo.eOrYSize) == sizeof(uint32_t), true);
858 ASSERT_EQ(sizeof(hksPubKeyInfo.eOrYSize) == sizeof(uint32_t), true);
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_chipset_platform_encrypt_test.cpp235 .eOrYSize = HKS_ECC_KEY_SIZE_256 / HKS_BITS_PER_BYTE, in ExportX509ChipsetPlatformPubKey()