Searched refs:nOrXSize (Results 1 – 10 of 10) sorted by relevance
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_attest_utils.c | 105 uint32_t totalSize = spkiHeaderLen + info->nOrXSize + info->eOrYSize; in GetEcPublicKey() 116 (void)memcpy_s(p, totalSize - spkiHeaderLen, publicKey, info->nOrXSize); in GetEcPublicKey() 117 p += info->nOrXSize; in GetEcPublicKey() 118 …(void)memcpy_s(p, totalSize - spkiHeaderLen - info->nOrXSize, publicKey + info->nOrXSize, info->eO… in GetEcPublicKey() 133 struct HksAsn1Blob n = { ASN_1_TAG_TYPE_INT, info->nOrXSize, publicKey }; in ConstructKeySeq() 137 struct HksAsn1Blob e = { ASN_1_TAG_TYPE_INT, info->eOrYSize, publicKey + info->nOrXSize }; in ConstructKeySeq() 202 struct HksAsn1Blob spkiBlob = { ASN_1_TAG_TYPE_BIT_STR, info->nOrXSize, publicKey }; in GetX25519PublicKey()
|
/base/security/huks/utils/crypto_adapter/ |
D | hks_client_service_adapter_lite.c | 250 if ((publicKey->size - offset) < publicKeyInfo->nOrXSize) { in TranslateToX509PublicKey() 255 struct HksBlob material1 = { publicKeyInfo->nOrXSize, publicKey->data + offset }; in TranslateToX509PublicKey() 256 offset += publicKeyInfo->nOrXSize; in TranslateToX509PublicKey() 319 pubKeyInfo->nOrXSize = nSize; in X509PublicKeyToRsa() 380 pubKeyInfo->nOrXSize = xSize; in X509PublicKeyToEcc()
|
D | hks_client_service_adapter_common.c | 67 curve25519Key->nOrXSize = key->size; /* curve25519 public key */ in TranslateToInnerCurve25519Format()
|
D | hks_client_service_adapter.c | 383 if ((publicKey->size - offset) < publicKeyInfo->nOrXSize) { in TranslateToX509PublicKey() 388 struct HksBlob material1 = { publicKeyInfo->nOrXSize, publicKey->data + offset }; in TranslateToX509PublicKey() 389 offset += publicKeyInfo->nOrXSize; in TranslateToX509PublicKey() 450 pubKeyInfo->nOrXSize = (uint32_t)nSize; in X509PublicKeyToRsa() 502 pubKeyInfo->nOrXSize = xSize; in EcKeyToPublicKey()
|
/base/security/huks/interfaces/kits/c/include/ |
D | native_huks_type.h | 726 uint32_t nOrXSize; member
|
/base/security/huks/interfaces/innerkits/huks_standard/main/include/ |
D | hks_type.h | 568 uint32_t nOrXSize; member
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
D | openssl_rsa_helper.c | 151 pubKeyInfo->nOrXSize = nSize; in X509ToRsaPublicKey()
|
D | openssl_ecc_helper.c | 505 pubKeyInfo->nOrXSize = xSize; in EcKeyToPublicKey()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/ |
D | hks_native_api_compatibility_test.cpp | 839 ASSERT_EQ(sizeof(pubKeyInfo.nOrXSize) == sizeof(uint32_t), true); 845 ASSERT_EQ(sizeof(hksPubKeyInfo.nOrXSize) == sizeof(uint32_t), true);
|
/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_client_service.c | 582 curve25519Key->nOrXSize = key->size; /* curve25519 public key */ in TranslateToInnerCurve25519Format()
|