Home
last modified time | relevance | path

Searched refs:HKS_ERROR_BUFFER_TOO_SMALL (Results 1 – 25 of 44) sorted by relevance

12

/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_ipc_serialization.c35 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyUint32ToBuffer()
48 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyBlobToBuffer()
64 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyParamSetToBuffer()
76 return HKS_ERROR_BUFFER_TOO_SMALL; in GetUint32FromBuffer()
87 return HKS_ERROR_BUFFER_TOO_SMALL; in GetBlobFromBuffer()
95 return HKS_ERROR_BUFFER_TOO_SMALL; in GetBlobFromBuffer()
109 return HKS_ERROR_BUFFER_TOO_SMALL; in GetParamSetFromBuffer()
117 return HKS_ERROR_BUFFER_TOO_SMALL; in GetParamSetFromBuffer()
389 ret = HKS_ERROR_BUFFER_TOO_SMALL; in EncodeCertChain()
395 ret = HKS_ERROR_BUFFER_TOO_SMALL; in EncodeCertChain()
[all …]
Dhks_request.cpp64 return HKS_ERROR_BUFFER_TOO_SMALL; in HksReadRequestReply()
Dhks_samgr_client_proxy.c71 callBackResult = HKS_ERROR_BUFFER_TOO_SMALL; in SynchronizeOutput()
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_attest_utils_test.cpp90 EXPECT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL) << "HksAttestUtilsTest002 failed, ret = " << ret;
188 EXPECT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL) << "HksAttestUtilsTest008 failed, ret = " << ret;
204 EXPECT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL) << "HksAttestUtilsTest009 failed, ret = " << ret;
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_client_service_util.c41 return HKS_ERROR_BUFFER_TOO_SMALL; in GetKeyParamSet()
73 return HKS_ERROR_BUFFER_TOO_SMALL; in GetKeyParamSet()
Dhks_storage_lite.c748 return HKS_ERROR_BUFFER_TOO_SMALL; in GetKeyInfoList()
764 return HKS_ERROR_BUFFER_TOO_SMALL; in GetKeyInfoList()
799 return HKS_ERROR_BUFFER_TOO_SMALL; in GetAndCheckKeyCount()
Dhks_storage.c201 return HKS_ERROR_BUFFER_TOO_SMALL; in ConstructBlob()
862 return HKS_ERROR_BUFFER_TOO_SMALL; in GetFileInfo()
1138 return HKS_ERROR_BUFFER_TOO_SMALL; in GetFilePath()
1181 return HKS_ERROR_BUFFER_TOO_SMALL; in FileNameListInit()
1214 ret = HKS_ERROR_BUFFER_TOO_SMALL; in GetAndCheckFileCount()
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
Ddcm_asn1.c75 return HKS_ERROR_BUFFER_TOO_SMALL; in Asn1InsertValue()
80 return HKS_ERROR_BUFFER_TOO_SMALL; in Asn1InsertValue()
107 return HKS_ERROR_BUFFER_TOO_SMALL; in DcmAsn1InsertValue()
Ddcm_attest_utils.c70 return HKS_ERROR_BUFFER_TOO_SMALL; in DcmInsertClaim()
119 return HKS_ERROR_BUFFER_TOO_SMALL; in GetEcPublicKey()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_serialization.c25 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyUint32ToBuffer()
42 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyBlobToBuffer()
61 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyParamSetToBuffer()
73 return HKS_ERROR_BUFFER_TOO_SMALL; in GetUint32FromBuffer()
85 return HKS_ERROR_BUFFER_TOO_SMALL; in GetBlobFromBuffer()
93 return HKS_ERROR_BUFFER_TOO_SMALL; in GetBlobFromBuffer()
116 return HKS_ERROR_BUFFER_TOO_SMALL; in GetParamSetFromBuffer()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ed25519tox25519.c72 …HKS_IF_NULL_LOGE_RETURN(*bigNum, HKS_ERROR_BUFFER_TOO_SMALL, "failed to translate octet string int… in ConvertStringToInt()
187 int32_t ret = HKS_ERROR_BUFFER_TOO_SMALL; in Curve25519LocalVar()
192 ret = HKS_ERROR_BUFFER_TOO_SMALL; in Curve25519LocalVar()
198 ret = HKS_ERROR_BUFFER_TOO_SMALL; in Curve25519LocalVar()
204 ret = HKS_ERROR_BUFFER_TOO_SMALL; in Curve25519LocalVar()
Dhks_openssl_bn.c70 return HKS_ERROR_BUFFER_TOO_SMALL; in BnExpModExport()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_wrapped_test_common.cpp74 return HKS_ERROR_BUFFER_TOO_SMALL; in BuildWrappedKeyData()
80 return HKS_ERROR_BUFFER_TOO_SMALL; in BuildWrappedKeyData()
197 EXPECT_EQ(HKS_ERROR_BUFFER_TOO_SMALL, EOK) << "memcpy kek tag failed."; in ImportWrappedKey()
205 EXPECT_EQ(HKS_ERROR_BUFFER_TOO_SMALL, EOK) << "memcpy agreekey tag failed."; in ImportWrappedKey()
Dhks_three_stage_test_common.c168 return HKS_ERROR_BUFFER_TOO_SMALL; in TestUpdateLoopFinish()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_bn.c42 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBnExpModNx()
Dhks_rkc_rw.c93 return HKS_ERROR_BUFFER_TOO_SMALL; in ExtractFieldFromBuffer()
98 return HKS_ERROR_BUFFER_TOO_SMALL; in ExtractFieldFromBuffer()
114 return HKS_ERROR_BUFFER_TOO_SMALL; in FillFieldToBuffer()
119 return HKS_ERROR_BUFFER_TOO_SMALL; in FillFieldToBuffer()
124 return HKS_ERROR_BUFFER_TOO_SMALL; in FillFieldToBuffer()
Dhks_mbedtls_dh.c169 return HKS_ERROR_BUFFER_TOO_SMALL; in HksMbedtlsGetDhPubKey()
231 return HKS_ERROR_BUFFER_TOO_SMALL; in HksMbedtlsDhAgreeKey()
Dhks_crypto_ed25519.c154 return HKS_ERROR_BUFFER_TOO_SMALL; in GetEd25519PubKeyCheck()
Dhks_mbedtls_ecc.c263 return HKS_ERROR_BUFFER_TOO_SMALL; in GetEccPubKeyCheckParams()
/base/security/huks/interfaces/inner_api/huks_lite/
Dhks_errno.h36 #define HKS_ERROR_BUFFER_TOO_SMALL ((int32_t)-138) macro
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c69 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaCipherData()
85 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaCipherData()
91 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaCipherData()
106 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckAesCipherAead()
112 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckAesCipherAead()
140 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBlockCipherOther()
146 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBlockCipherOther()
582 return HKS_ERROR_BUFFER_TOO_SMALL; in CoreCipherUpdate()
1099 return HKS_ERROR_BUFFER_TOO_SMALL; in DoBuildKeyBlobOrGetOutDataAction()
1345 return HKS_ERROR_BUFFER_TOO_SMALL; in HksCoreMacThreeStageFinish()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/os_dependency/idl/ipc/src/
Dhuks_ipc_serialization_test.cpp287 ASSERT_TRUE(ret == HKS_ERROR_BUFFER_TOO_SMALL);
307 ASSERT_TRUE(ret == HKS_ERROR_BUFFER_TOO_SMALL);
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_mbedtls.cpp358 ASSERT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL);
408 ASSERT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL);
473 ASSERT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL);
512 ASSERT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL);
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c1081 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckEccSignature()
1106 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckEd25519Signature()
1149 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaSignature()
1180 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaNoPadCipherData()
1213 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaOaepCipherData()
1224 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaOaepCipherData()
1285 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBlockCbcCipherData()
1297 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBlockCbcCipherData()
1388 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckAesAeCipherData()
1395 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckAesAeCipherData()
/base/security/huks/frameworks/huks_standard/main/core/src/
Dhks_verifier.c302 return HKS_ERROR_BUFFER_TOO_SMALL; in ExtractTlvLength()
329 return HKS_ERROR_BUFFER_TOO_SMALL; in ExtractTlvData()

12