Home
last modified time | relevance | path

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

12

/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_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()
423 ret = HKS_ERROR_BUFFER_TOO_SMALL; in EncodeCertChain()
429 ret = HKS_ERROR_BUFFER_TOO_SMALL; in EncodeCertChain()
[all …]
Dhks_samgr_client_proxy.c71 callBackResult = HKS_ERROR_BUFFER_TOO_SMALL; in SynchronizeOutput()
Dhks_request.cpp69 return HKS_ERROR_BUFFER_TOO_SMALL; in HksReadRequestReply()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/
Dhks_dcm_callback_handler.cpp98 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyBlobToBuffer()
102 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyBlobToBuffer()
108 return HKS_ERROR_BUFFER_TOO_SMALL; in CopyBlobToBuffer()
123 return HKS_ERROR_BUFFER_TOO_SMALL; in PackAttestChain()
137 return HKS_ERROR_BUFFER_TOO_SMALL; in PackAttestChain()
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_attest_utils_test.cpp88 EXPECT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL) << "HksAttestUtilsTest002 failed, ret = " << ret;
187 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.c492 ret = HKS_ERROR_BUFFER_TOO_SMALL; in GetAndCheckFileCount()
788 ret = HKS_ERROR_BUFFER_TOO_SMALL; in HksServiceDeleteUserIDKeyAliasFile()
839 ret = HKS_ERROR_BUFFER_TOO_SMALL; in HksServiceDeleteUIDKeyAliasFile()
917 return HKS_ERROR_BUFFER_TOO_SMALL; in GetHksFileEntry()
Dhks_storage_utils.c189 return HKS_ERROR_BUFFER_TOO_SMALL; in ConstructBlob()
326 return HKS_ERROR_BUFFER_TOO_SMALL; in FileNameListInit()
Dhks_storage_lite.c751 return HKS_ERROR_BUFFER_TOO_SMALL; in GetKeyInfoList()
767 return HKS_ERROR_BUFFER_TOO_SMALL; in GetKeyInfoList()
802 return HKS_ERROR_BUFFER_TOO_SMALL; in GetAndCheckKeyCount()
/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/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/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_service_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/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.c162 return HKS_ERROR_BUFFER_TOO_SMALL; in TestBatchUpdateLoopFinish()
222 return HKS_ERROR_BUFFER_TOO_SMALL; in TestUpdateLoopFinish()
/base/security/huks/test/unittest/huks_common_test/include/
Dhks_test_cipher_c.h226 { 4, HKS_ERROR_BUFFER_TOO_SMALL, { true, DEFAULT_KEY_ALIAS_SIZE, true, DEFAULT_KEY_ALIAS_SIZE },
363 { 4, HKS_ERROR_BUFFER_TOO_SMALL, { true, DEFAULT_KEY_ALIAS_SIZE, true, DEFAULT_KEY_ALIAS_SIZE },
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_bn.c42 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBnExpModNx()
Dhks_mbedtls_dh.c169 return HKS_ERROR_BUFFER_TOO_SMALL; in HksMbedtlsGetDhPubKey()
231 return HKS_ERROR_BUFFER_TOO_SMALL; in HksMbedtlsDhAgreeKey()
/base/security/huks/interfaces/inner_api/huks_lite/
Dhks_errno.h36 #define HKS_ERROR_BUFFER_TOO_SMALL ((int32_t)-138) macro
/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
Dhks_rkc_rw.c100 return HKS_ERROR_BUFFER_TOO_SMALL; in ExtractFieldFromBuffer()
105 return HKS_ERROR_BUFFER_TOO_SMALL; in ExtractFieldFromBuffer()
121 return HKS_ERROR_BUFFER_TOO_SMALL; in FillFieldToBuffer()
126 return HKS_ERROR_BUFFER_TOO_SMALL; in FillFieldToBuffer()
131 return HKS_ERROR_BUFFER_TOO_SMALL; in FillFieldToBuffer()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c1093 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckEccSignature()
1118 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckEd25519Signature()
1161 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaSignature()
1192 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaNoPadCipherData()
1225 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaOaepCipherData()
1236 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckRsaOaepCipherData()
1299 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBlockCbcCipherData()
1312 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBlockCbcCipherData()
1411 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckAesAeCipherData()
1418 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckAesAeCipherData()
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_mbedtls.cpp356 ASSERT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL);
406 ASSERT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL);
471 ASSERT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL);
510 ASSERT_EQ(ret, HKS_ERROR_BUFFER_TOO_SMALL);
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/os_dependency/idl/ipc/src/
Dhuks_ipc_serialization_test.cpp285 ASSERT_TRUE(ret == HKS_ERROR_BUFFER_TOO_SMALL);
305 ASSERT_TRUE(ret == HKS_ERROR_BUFFER_TOO_SMALL);
/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()
115 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckSm2CipherData()
127 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckAesCipherAead()
133 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckAesCipherAead()
160 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBlockCipherOther()
166 return HKS_ERROR_BUFFER_TOO_SMALL; in CheckBlockCipherOther()
760 return HKS_ERROR_BUFFER_TOO_SMALL; in CoreCipherUpdate()
1492 return HKS_ERROR_BUFFER_TOO_SMALL; in DoBuildKeyBlobOrGetOutDataAction()
[all …]

12