/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_engine.c | 40 HKS_LOG_E("Openssl engine fail, error code = %lu, error string = %s", errCode, szErr); in HksLogOpensslError() 54 HKS_LOG_E("Invalid params!"); in GenKeyCheckParam() 65 HKS_LOG_E("Invalid param key!"); in SignVerifyCheckParam() 70 HKS_LOG_E("Invalid param message!"); in SignVerifyCheckParam() 75 HKS_LOG_E("Invalid param signature!"); in SignVerifyCheckParam() 80 HKS_LOG_E("Invalid param usageSpec!"); in SignVerifyCheckParam() 90 HKS_LOG_E("Invalid mainKey params!"); in DeriveKeyCheckParam() 95 HKS_LOG_E("Invalid params!"); in DeriveKeyCheckParam() 100 HKS_LOG_E("Invalid params!"); in DeriveKeyCheckParam() 110 HKS_LOG_E("Invalid nativeKey params!"); in AgreeKeyCheckParam() [all …]
|
D | hks_openssl_hmac.c | 44 HKS_LOG_E("Invalid key point"); in HmacCheckBuffer() 48 HKS_LOG_E("Invalid msg"); in HmacCheckBuffer() 52 HKS_LOG_E("Invalid mac"); in HmacCheckBuffer() 70 HKS_LOG_E("aes generate key invalid params!"); in HksOpensslHmacGenerateKey() 82 HKS_LOG_E("Invalid Buffer Info"); in HmacCheckParam() 88 HKS_LOG_E("Invalid alg(0x%x)", alg); in HmacCheckParam() 94 HKS_LOG_E("Invalid alg(0x%x)", alg); in HmacCheckParam() 99 HKS_LOG_E("invalid mac->size(0x%x) for digestLen(0x%x)", mac->size, digestLen); in HmacCheckParam() 115 HKS_LOG_E("get openssl algorithm failed"); in HksOpensslHmac() 121 HKS_LOG_E("hmac process failed."); in HksOpensslHmac() [all …]
|
D | hks_openssl_hash.c | 55 HKS_LOG_E("Unsupport HASH Type!"); in CheckDigestAlg() 64 HKS_LOG_E("Unsupport HASH Type!"); in HashCheckParam() 69 HKS_LOG_E("Invalid param hash!"); in HashCheckParam() 74 HKS_LOG_E("Invalid param msg!"); in HashCheckParam() 84 HKS_LOG_E("Invalid Params!"); in HksOpensslHash() 90 HKS_LOG_E("get openssl algorithm fail"); in HksOpensslHash() 105 HKS_LOG_E("Unsupport HASH Type!"); in HksOpensslHashInit() 111 HKS_LOG_E("get openssl algorithm fail"); in HksOpensslHashInit() 134 HKS_LOG_E("Invalid param cryptoCtx!"); in HksOpensslHashUpdate() 139 HKS_LOG_E("Invalid param msg!"); in HksOpensslHashUpdate() [all …]
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_engine.c | 32 HKS_LOG_E("Invalid param key!"); in EncryptCheckParam() 36 HKS_LOG_E("Invalid param message!"); in EncryptCheckParam() 40 HKS_LOG_E("Invalid param cipherText!"); in EncryptCheckParam() 44 HKS_LOG_E("Invalid param usageSpec!"); in EncryptCheckParam() 54 HKS_LOG_E("Crypt Hal Hmac invalid param"); in HksCryptoHalHmac() 67 HKS_LOG_E("Crypt Hal Hmac init msg is NULL"); in HksCryptoHalHmacInit() 71 HKS_LOG_E("Crypt Hal Hmac init ctx is NULL"); in HksCryptoHalHmacInit() 86 HKS_LOG_E("Crypt Hal Hmac update chunk is invalid param"); in HksCryptoHalHmacUpdate() 101 HKS_LOG_E("Crypt Hal Hmac final msg or mac is NULL"); in HksCryptoHalHmacFinal() 117 HKS_LOG_E("CryptoHalHmacFreeCtx func is null"); in HksCryptoHalHmacFreeCtx() [all …]
|
D | hks_mbedtls_hash.c | 100 HKS_LOG_E("Mbedtls hash init failed! mbedtls ret = 0x%X", ret); in HksMbedtlsHashInit() 132 HKS_LOG_E("Mbedtls hash update failed! mbedtls ret = 0x%X", ret); in HksMbedtlsHashUpdate() 164 HKS_LOG_E("Mbedtls hash final failed! mbedtls ret = 0x%X", ret); in HksMbedtlsHashFinal() 170 HKS_LOG_E("Get digest len failed!"); in HksMbedtlsHashFinal() 187 HKS_LOG_E("malloc fail"); in HksMbedtlsHashMd5Init() 195 HKS_LOG_E("Mbedtls Hash Md5 init starts_ret fail"); in HksMbedtlsHashMd5Init() 205 HKS_LOG_E("Mbedtls Hash Md5 init malloc fail"); in HksMbedtlsHashMd5Init() 230 HKS_LOG_E("Mbedtls Hash Md5 update fail"); in HksMbedtlsHashMd5Update() 250 HKS_LOG_E("Mbedtls Hash Md5 finish last data fail"); in HksMbedtlsHashMd5Final() 258 HKS_LOG_E("Mbedtls Hash Md5 finish fail"); in HksMbedtlsHashMd5Final() [all …]
|
D | hks_mbedtls_aes.c | 79 HKS_LOG_E("Mbedtls ctr drbg random failed! mbedtls ret = 0x%X", ret); in HksMbedtlsAesGenerateKey() 110 HKS_LOG_E("Mbedtls aes set key failed! mbedtls ret = 0x%X", ret); in AesCbcNoPaddingCrypt() 117 HKS_LOG_E("Memcpy temp iv failed!"); in AesCbcNoPaddingCrypt() 129 HKS_LOG_E("Mbedtks aes cbc crypt failed! mbedtls ret = 0x%X", ret); in AesCbcNoPaddingCrypt() 145 HKS_LOG_E("initialize ctx fail"); in AesCbcNoPaddingCryptInit() 157 HKS_LOG_E("Mbedtls aes set key failed! mbedtls ret = 0x%X", ret); in AesCbcNoPaddingCryptInit() 165 HKS_LOG_E("initialize outCtx fail"); in AesCbcNoPaddingCryptInit() 199 HKS_LOG_E("AesCbcNoPaddingCryptUpdate data size invalid!"); in AesCbcNoPaddingCryptUpdate() 207 HKS_LOG_E("Memcpy temp iv failed!"); in AesCbcNoPaddingCryptUpdate() 219 HKS_LOG_E("Mbedtks aes cbc nopadding crypt failed! mbedtls ret = 0x%X", ret); in AesCbcNoPaddingCryptUpdate() [all …]
|
/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_upgrade_storage_data.c | 111 HKS_LOG_E("get process name failed"); in CopyRootKeyMaterialFile() 118 HKS_LOG_E("get old version file size failed, ret = %d", fileSize); in CopyRootKeyMaterialFile() 124 HKS_LOG_E("malloc failed"); in CopyRootKeyMaterialFile() 131 HKS_LOG_E("read old version file failed"); in CopyRootKeyMaterialFile() 139 HKS_LOG_E("copy to new file failed"); in CopyRootKeyMaterialFile() 153 HKS_LOG_E("get process name failed, ret = %d", ret); in RollBackNewVersionFiles() 168 HKS_LOG_E("remove key store file failed, ret = %d", ret); /* continue delete */ in RemoveOldVersionFiles() 173 HKS_LOG_E("remove root key material file failed, ret = %d", ret); /* continue delete */ in RemoveOldVersionFiles() 178 HKS_LOG_E("remove backup root key material file failed, ret = %d", ret); in RemoveOldVersionFiles() 188 HKS_LOG_E("get process name failed"); in UpgradeRootKeyMaterialFile() [all …]
|
D | hks_client_service.c | 51 HKS_LOG_E("get key blob from storage failed, ret = %d", ret); in GetKeyData() 62 HKS_LOG_E("get total size from storage failed, ret = %d", ret); in CheckKeyCondition() 70 HKS_LOG_E("buffer exceeds limit"); in CheckKeyCondition() 91 HKS_LOG_E("memcpy paramSet failed"); in GetKeyParamSet() 117 HKS_LOG_E("get keyblob size from storage failed, ret = %d.", ret); in GetKeyData() 121 HKS_LOG_E("invalid storage size, size = %u", size); in GetKeyData() 127 HKS_LOG_E("get key data: malloc failed"); in GetKeyData() 134 HKS_LOG_E("get keyblob from storage failed, ret = %d", ret); in GetKeyData() 146 HKS_LOG_E("delete keyblob from storage failed, ret = %d", ret); in CheckKeyCondition() 152 HKS_LOG_E("delete certchain from storage failed, ret = %d", ret); in CheckKeyCondition() [all …]
|
/base/security/huks/frameworks/huks_standard/main/core/src/ |
D | hks_verifier.c | 116 HKS_LOG_E("construct paramSet out blob: invalid blob"); in CopyBlobBuffer() 120 HKS_LOG_E("construct paramSet out blob buffer failed"); in CopyBlobBuffer() 151 HKS_LOG_E("load cert chain to x509 failed"); in TranslateToX509Format() 163 HKS_LOG_E("get public key from device cert failed"); in VerifySignature() 169 HKS_LOG_E("verify signature failed"); in VerifySignature() 182 HKS_LOG_E("verify cert chain init failed"); in VerifyCertChain() 188 HKS_LOG_E("add cert to store failed"); in VerifyCertChain() 195 HKS_LOG_E("init verify ctx failed"); in VerifyCertChain() 201 HKS_LOG_E("verify cert failed"); in VerifyCertChain() 207 HKS_LOG_E("verify root cert failed"); in VerifyCertChain() [all …]
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
D | hks_ipc_serialization.c | 149 HKS_LOG_E("get keyAlias failed"); in GetKeyAndParamSetFromBuffer() 155 HKS_LOG_E("get paramSet failed"); in GetKeyAndParamSetFromBuffer() 166 HKS_LOG_E("get blobSize failed"); in MallocBlobFromBuffer() 171 HKS_LOG_E("get blobSize failed"); in MallocBlobFromBuffer() 190 HKS_LOG_E("get paramSetOutSize failed"); in MallocParamSetFromBuffer() 195 HKS_LOG_E("get paramSetOutSize failed"); in MallocParamSetFromBuffer() 214 HKS_LOG_E("GetKeyAndParamSetFromBuffer failed"); in HksGenerateKeyUnpack() 221 HKS_LOG_E("get keyOutSize failed"); in HksGenerateKeyUnpack() 226 HKS_LOG_E("keyOutSize out of range %u", keyOutSize); in HksGenerateKeyUnpack() 250 HKS_LOG_E("GetKeyAndParamSetFromBuffer failed"); in HksImportKeyUnpack() [all …]
|
D | hks_ipc_service.c | 74 HKS_LOG_E("HksGenerateKeyUnpack Ipc fail"); in HksIpcServiceGenerateKey() 81 HKS_LOG_E("malloc fail."); in HksIpcServiceGenerateKey() 90 HKS_LOG_E("HksGetProcessInfoForIPC fail, ret = %d", ret); in HksIpcServiceGenerateKey() 96 HKS_LOG_E("HksServiceGenerateKey fail, ret = %d", ret); in HksIpcServiceGenerateKey() 98 HKS_LOG_E("key out size = %x", keyOut.size); in HksIpcServiceGenerateKey() 123 HKS_LOG_E("HksImportKeyUnpack Ipc fail"); in HksIpcServiceImportKey() 129 HKS_LOG_E("HksGetProcessInfoForIPC fail, ret = %d", ret); in HksIpcServiceImportKey() 135 HKS_LOG_E("HksServiceImportKey fail, ret = %d", ret); in HksIpcServiceImportKey() 155 HKS_LOG_E("HksExportKeyUnpack Ipc fail"); in HksIpcServiceExportPublicKey() 161 HKS_LOG_E("HksGetProcessInfoForIPC fail, ret = %d", ret); in HksIpcServiceExportPublicKey() [all …]
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_core_service_three_stage.c | 67 HKS_LOG_E("outData buffer too small size: %u, keySize: %u", outData->size, keySize); in CheckRsaCipherData() 77 HKS_LOG_E("GetDigestLen failed, ret = %x", ret); in CheckRsaCipherData() 86 … HKS_LOG_E("encrypt, outData buffer too small size: %u, keySize: %u", outData->size, keySize); in CheckRsaCipherData() 91 … HKS_LOG_E("decrypt, outData buffer too small size: %u, keySize: %u", outData->size, keySize); in CheckRsaCipherData() 105 … HKS_LOG_E("encrypt, out buffer too small size: %u, inSize: %u", outData->size, inData->size); in CheckAesCipherAead() 110 … HKS_LOG_E("decryptfinal, out buffer too small size: %u, inSize: %u", outData->size, inData->size); in CheckAesCipherAead() 126 HKS_LOG_E("encrypt cbc no-padding, invalid inSize: %u", inData->size); in CheckAesCipherOther() 132 HKS_LOG_E("encrypt, invalid inData size: %u", inData->size); in CheckAesCipherOther() 137 HKS_LOG_E("encrypt, outData buffer too small size: %u, need: %u", in CheckAesCipherOther() 143 …HKS_LOG_E("decrypt, outData buffer too small size: %u, inDataSize: %u", outData->size, inData->siz… in CheckAesCipherOther() [all …]
|
D | hks_rkc.c | 71 HKS_LOG_E("Invalid ksf count!"); in RkcReadAllKsf() 98 HKS_LOG_E("Memcpy rkCreatedTime failed!"); in RkcRecoverRkTime() 104 HKS_LOG_E("Memcpy rkExpiredTime failed!"); in RkcRecoverRkTime() 122 HKS_LOG_E("Memcpy fiexd material failed!"); in RkcGetFixedMaterial() 137 HKS_LOG_E("Get fixed material failed! ret = 0x%X", ret); in RkcGetRmkRawKey() 149 HKS_LOG_E("Get hardware udid failed! ret = 0x%X", ret); in RkcGetRmkRawKey() 177 HKS_LOG_E("Crypto hal derive key failed! ret = 0x%X", ret); in RkcPbkdf2Hmac() 188 HKS_LOG_E("Malloc rawKey failed!"); in RkcDeriveRmk() 199 HKS_LOG_E("Get rmk raw key failed! ret = 0x%X", ret); in RkcDeriveRmk() 207 HKS_LOG_E("Pbkdf2 failed! ret = 0x%X", ret); in RkcDeriveRmk() [all …]
|
D | hks_rkc_rw.c | 53 HKS_LOG_E("Memcpy file flag failed!"); in RkcExtractKsfFileFlag() 59 HKS_LOG_E("Ksf file flag is invalid!"); in RkcExtractKsfFileFlag() 172 HKS_LOG_E("Extract mkCreatedTime failed!"); in RkcExtractKsfMk() 179 HKS_LOG_E("Extract mkExpiredTime failed!"); in RkcExtractKsfMk() 186 HKS_LOG_E("Memcpy mkEncryptAlg failed!"); in RkcExtractKsfMk() 193 HKS_LOG_E("Memcpy mkIv failed!"); in RkcExtractKsfMk() 201 HKS_LOG_E("Memcpy mkCiphertext failed!"); in RkcExtractKsfMk() 209 HKS_LOG_E("Memcpy mkRsv failed!"); in RkcExtractKsfMk() 226 HKS_LOG_E("Hks hash failed! ret = 0x%X", ret); in RkcExtractKsfHash() 233 HKS_LOG_E("Memcpy ksfHash failed!"); in RkcExtractKsfHash() [all …]
|
D | hks_core_service.c | 101 HKS_LOG_E("get alg tag fail"); in GetGenType() 121 HKS_LOG_E("invalid generated key type"); in GetGenType() 135 HKS_LOG_E("invlaid agree key size"); in CheckAgreeKeyIn() 142 HKS_LOG_E("invlaid agree key size, small than keyPair"); in CheckAgreeKeyIn() 155 HKS_LOG_E("malloc failed"); in GetAgreeBaseKey() 162 HKS_LOG_E("memcpy failed"); in GetAgreeBaseKey() 177 HKS_LOG_E("generating keynode with agree key failed"); in GetAgreeBaseKey() 183 HKS_LOG_E("get raw key during key agreement failed!"); in GetAgreeBaseKey() 211 HKS_LOG_E("generate key not set agree alg"); in GenAgreeKey() 218 HKS_LOG_E("malloc failed"); in GenAgreeKey() [all …]
|
D | hks_attest_utils.c | 61 HKS_LOG_E("invalid input"); in HksInsertClaim() 65 HKS_LOG_E("out buffer too small"); in HksInsertClaim() 72 HKS_LOG_E("copy oid fail"); in HksInsertClaim() 81 HKS_LOG_E("write final value fail\n"); in HksInsertClaim() 108 HKS_LOG_E("ec curve not supported: %u\n", info->keySize); in GetEcPublicKey() 114 HKS_LOG_E("out size is too small: %u < %u\n", key->size, totalSize); in GetEcPublicKey() 121 HKS_LOG_E("copy ecc header fail\n"); in GetEcPublicKey() 126 HKS_LOG_E("copy x value fail\n"); in GetEcPublicKey() 130 HKS_LOG_E("copy y value fail\n"); in GetEcPublicKey() 139 HKS_LOG_E("buf is not big enough\n"); in ConstructKeySeq() [all …]
|
/base/security/huks/unittest/src/ |
D | hks_cross_test_common.cpp | 47 HKS_LOG_E("AesEncry Init failed."); in HksCrossTestAesEncrypt() 53 HKS_LOG_E("AesEncry TestUpdateLoopFinish failed."); in HksCrossTestAesEncrypt() 59 HKS_LOG_E("AesEncry inData equals cipherText."); in HksCrossTestAesEncrypt() 72 HKS_LOG_E("AesDecry Init failed."); in HksCrossTestAesDecrypt() 78 HKS_LOG_E("AesDecry TestUpdateLoopFinish failed."); in HksCrossTestAesDecrypt() 84 HKS_LOG_E("AesEncry inData not equals plainText."); in HksCrossTestAesDecrypt() 97 HKS_LOG_E("RsaEncry Init failed."); in HksCrossTestRsaEncrypt() 103 HKS_LOG_E("RsaEncry TestUpdateFinish failed."); in HksCrossTestRsaEncrypt() 109 HKS_LOG_E("RsaEncry inData equals cipherText."); in HksCrossTestRsaEncrypt() 122 HKS_LOG_E("RsaDecry Init failed."); in HksCrossTestRsaDecrypt() [all …]
|
/base/security/huks/utils/crypto_adapter/ |
D | hks_client_service_adapter_lite.c | 55 HKS_LOG_E("public key to x509 write der failed! mbedtls ret = 0x%X", x509Size); in PkCtxToX509() 62 HKS_LOG_E("Malloc x509 key data failed!"); in PkCtxToX509() 69 HKS_LOG_E("public key to x509 memcpy to x509key failed!"); in PkCtxToX509() 88 HKS_LOG_E("Mbedtls setup pk context failed! mbedtls ret = 0x%X", ret); in InitRsaPkCtx() 101 HKS_LOG_E("Hks init rsa pk context read N failed! mbedtls ret = 0x%X", ret); in InitRsaPkCtx() 107 HKS_LOG_E("Hks init rsa pk context read E failed! mbedtls ret = 0x%X", ret); in InitRsaPkCtx() 114 HKS_LOG_E("Hks init rsa pk context import rsa context failed! mbedtls ret = 0x%X", ret); in InitRsaPkCtx() 120 … HKS_LOG_E("Hks init rsa pk context complete rsa context failed! mbedtls ret = 0x%X", ret); in InitRsaPkCtx() 143 HKS_LOG_E("Pk context to rsa x509 failed! ret = 0x%X", ret); in RsaToX509PublicKey() 158 HKS_LOG_E("Mbedtls setup pk context failed! mbedtls ret = 0x%X", ret); in InitEccPkCtx() [all …]
|
D | hks_client_service_adapter.c | 41 HKS_LOG_E("i2d_PUBKEY error %s", ERR_reason_error_string(ERR_get_error())); in EvpKeyToX509Format() 47 HKS_LOG_E("malloc key fail"); in EvpKeyToX509Format() 54 HKS_LOG_E("i2d_PUBKEY error %s", ERR_reason_error_string(ERR_get_error())); in EvpKeyToX509Format() 77 HKS_LOG_E("rsa is null"); in RsaToX509PublicKey() 83 HKS_LOG_E("BN_bin2bn error %s", ERR_reason_error_string(ERR_get_error())); in RsaToX509PublicKey() 87 HKS_LOG_E("RSA_set0_key error %s", ERR_reason_error_string(ERR_get_error())); in RsaToX509PublicKey() 94 HKS_LOG_E("pkey is null"); in RsaToX509PublicKey() 98 HKS_LOG_E("EVP_PKEY_set1_RSA error %s", ERR_reason_error_string(ERR_get_error())); in RsaToX509PublicKey() 132 HKS_LOG_E("not found nid!"); in GetEccNid() 142 HKS_LOG_E("GetNidFromKeySize fail"); in EccToX509PublicKey() [all …]
|
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
D | hks_ipc_serialization.c | 140 HKS_LOG_E("copy keyAlias failed"); in HksGenerateKeyPack() 146 HKS_LOG_E("copy paramSetIn failed"); in HksGenerateKeyPack() 158 HKS_LOG_E("copy keyAlias failed"); in HksImportKeyPack() 164 HKS_LOG_E("copy paramSet failed"); in HksImportKeyPack() 175 HKS_LOG_E("copy keyAlias failed"); in HksExportPublicKeyPack() 186 HKS_LOG_E("copy keyAlias failed"); in HksGetKeyParamSetPack() 197 HKS_LOG_E("copy key failed"); in HksInitPack() 210 HKS_LOG_E("copy keyAlias failed"); in HksUpdatePack() 216 HKS_LOG_E("copy handle failed"); in HksUpdatePack() 233 HKS_LOG_E("copy inputData failed"); in HksFinalPack() [all …]
|
D | hks_client_service_ipc.c | 41 HKS_LOG_E("HksCheckIpcGenerateKey fail"); in HksClientGenerateKey() 61 HKS_LOG_E("HksGenerateKeyPack fail"); in HksClientGenerateKey() 67 HKS_LOG_E("HksSendRequest fail, ret = %d", ret); in HksClientGenerateKey() 74 HKS_LOG_E("FreshParamSet fail, ret = %d", ret); in HksClientGenerateKey() 88 HKS_LOG_E("HksCheckIpcImportKey fail"); in HksClientImportKey() 103 HKS_LOG_E("HksImportKeyPack fail"); in HksClientImportKey() 119 HKS_LOG_E("HksCheckIpcExportPublicKey fail"); in HksClientExportPublicKey() 133 HKS_LOG_E("HksExportPublicKeyPack fail"); in HksClientExportPublicKey() 150 HKS_LOG_E("CheckDeleteKeyParam fail"); in HksClientDeleteKey() 174 HKS_LOG_E("HksGenerateKeyPack fail"); in HksClientGetKeyParamSet() [all …]
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_param.c | 129 HKS_LOG_E("paramSet contains invalid tag! 0x%x", curTag); in HksCheckParamSetTag() 135 HKS_LOG_E("paramSet contains multi-tags! 0x%x", curTag); in HksCheckParamSetTag() 149 HKS_LOG_E("invalid params or paramset!"); in CheckBeforeAddParams() 156 HKS_LOG_E("invalid blob param!"); in CheckBeforeAddParams() 172 HKS_LOG_E("malloc params failed!"); in BuildParamSet() 177 HKS_LOG_E("copy params failed!"); in BuildParamSet() 190 HKS_LOG_E("invalid NULL paramSet"); in HksFreshParamSet() 195 HKS_LOG_E("invalid fresh paramSet"); in HksFreshParamSet() 204 HKS_LOG_E("invalid param set offset!"); in HksFreshParamSet() 209 HKS_LOG_E("blob size overflow!"); in HksFreshParamSet() [all …]
|
D | hks_common_check.c | 24 HKS_LOG_E("invalid data1."); in HksCheckBlob4() 29 HKS_LOG_E("invalid data2."); in HksCheckBlob4() 34 HKS_LOG_E("invalid data3."); in HksCheckBlob4() 39 HKS_LOG_E("invalid data4."); in HksCheckBlob4() 49 HKS_LOG_E("invalid data1."); in HksCheckBlob3() 54 HKS_LOG_E("invalid data2."); in HksCheckBlob3() 59 HKS_LOG_E("invalid data3."); in HksCheckBlob3() 69 HKS_LOG_E("invalid data1."); in HksCheckBlob2() 74 HKS_LOG_E("invalid data2."); in HksCheckBlob2() 84 HKS_LOG_E("paramSet NULL!"); in HksCheckParamSetValidity() [all …]
|
D | hks_check_paramset.c | 204 HKS_LOG_E("get param 0x%x failed!", HKS_TAG_ALGORITHM); in CheckAndGetAlgorithm() 210 HKS_LOG_E("alg value %u not expected", algParam->uint32Param); in CheckAndGetAlgorithm() 224 HKS_LOG_E("get param get 0x%x failed!", HKS_TAG_DIGEST); in CheckAndGetDigest() 230 HKS_LOG_E("digest value %u not expected", digestParam->uint32Param); in CheckAndGetDigest() 243 HKS_LOG_E("get input params by algorithm failed, ret = %d", ret); in CheckGenKeyParamsByAlg() 259 HKS_LOG_E("check mac or derive, not aes alg, alg: %u", alg); in CheckGenKeyMacDeriveParams() 265 HKS_LOG_E("check purpose invalid, purpose 0x%x", inputPurpose); in CheckGenKeyMacDeriveParams() 275 HKS_LOG_E("get input params by algorithm failed, ret = %d", ret); in CheckGenKeyMacDeriveParams() 285 HKS_LOG_E("check fixed params failed, ret = %d", ret); in CheckGenKeyMacDeriveParams() 296 HKS_LOG_E("check and get alg failed"); in CoreCheckGenKeyParams() [all …]
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/ |
D | huks_access.c | 38 HKS_LOG_E("Module Init function is null pointer"); in HuksAccessModuleInit() 50 HKS_LOG_E("Refresh function is null pointer"); in HuksAccessRefresh() 63 HKS_LOG_E("GenerateKey function is null pointer"); in HuksAccessGenerateKey() 76 HKS_LOG_E("ImportKey function is null pointer"); in HuksAccessImportKey() 89 HKS_LOG_E("ImportWrappedKey function is null pointer"); in HuksAccessImportWrappedKey() 102 HKS_LOG_E("ExportPublicKey function is null pointer"); in HuksAccessExportPublicKey() 114 HKS_LOG_E("Init function is null pointer"); in HuksAccessInit() 127 HKS_LOG_E("Update function is null pointer"); in HuksAccessUpdate() 140 HKS_LOG_E("Finish function is null pointer"); in HuksAccessFinish() 152 HKS_LOG_E("Abort function is null pointer"); in HuksAccessAbort() [all …]
|