Home
last modified time | relevance | path

Searched refs:HKS_ERROR_INVALID_DIGEST (Results 1 – 16 of 16) sorted by relevance

/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_hash.c61 return HKS_ERROR_INVALID_DIGEST; in CheckDigestAlg()
68 … HKS_IF_NOT_SUCC_LOGE_RETURN(CheckDigestAlg(alg), HKS_ERROR_INVALID_DIGEST, "Unsupport HASH Type!") in HashCheckParam()
94 … HKS_IF_NOT_SUCC_LOGE_RETURN(CheckDigestAlg(alg), HKS_ERROR_INVALID_DIGEST, "Unsupport HASH Type!") in HksOpensslHashInit()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_common.c66 return HKS_ERROR_INVALID_DIGEST; in HksToMbedtlsDigestAlg()
Dhks_mbedtls_hash.c489 return HKS_ERROR_INVALID_DIGEST; in HksMbedtlsHashInit()
518 return HKS_ERROR_INVALID_DIGEST; in HksMbedtlsHashUpdate()
549 return HKS_ERROR_INVALID_DIGEST; in HksMbedtlsHashFinal()
638 return HKS_ERROR_INVALID_DIGEST; in HksMbedtlsHash()
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_rsa_oaep_encrypt.cpp963 .encryptResult = HKS_ERROR_INVALID_DIGEST,
989 .encryptResult = HKS_ERROR_INVALID_DIGEST,
1017 .encryptResult = HKS_ERROR_INVALID_DIGEST,
1053 .encryptResult = HKS_ERROR_INVALID_DIGEST,
1095 .encryptResult = HKS_ERROR_INVALID_DIGEST,
1144 .encryptResult = HKS_ERROR_INVALID_DIGEST,
Dhks_crypto_hal_rsa_oaep_decrypt.cpp1068 .decryptResult = HKS_ERROR_INVALID_DIGEST,
1095 .decryptResult = HKS_ERROR_INVALID_DIGEST,
1124 .decryptResult = HKS_ERROR_INVALID_DIGEST,
1164 .decryptResult = HKS_ERROR_INVALID_DIGEST,
1212 .decryptResult = HKS_ERROR_INVALID_DIGEST,
1270 .decryptResult = HKS_ERROR_INVALID_DIGEST,
Dhks_crypto_hal_api_mbedtls.cpp533 ASSERT_EQ(HksCryptoHalHmacInit(&key, NULL, &hmactestctx), HKS_ERROR_INVALID_DIGEST);
626 ASSERT_EQ(HksCryptoHalHmac(&key, NULL, &message, &signature), HKS_ERROR_INVALID_DIGEST);
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/crypto_engine_test/src/
Dhks_openssl_hash_test.cpp70 ASSERT_TRUE(ret == HKS_ERROR_INVALID_DIGEST);
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_hmac_test.cpp309 HKS_ERROR_INVALID_DIGEST,
329 HKS_ERROR_INVALID_DIGEST,
675 EXPECT_EQ(ret, HKS_ERROR_INVALID_DIGEST) << "this case failed.";
Dhks_sm2_sign_verify_test.cpp105 HKS_ERROR_INVALID_DIGEST,
306 HKS_ERROR_INVALID_DIGEST,
Dhks_import_key_test.cpp407 .importKeyResult = HKS_ERROR_INVALID_DIGEST,
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_common_check.c127 return HKS_ERROR_INVALID_DIGEST; in HksGetDigestLen()
Dhks_errcode_adapter.c314 .innerErrCode = HKS_ERROR_INVALID_DIGEST,
Dhks_check_paramset.c280 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_DIGEST, in CheckAndGetDigest()
Dhks_base_check.c1673 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_DIGEST, in HksCheckFixedParams()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h384 HKS_ERROR_INVALID_DIGEST = -117, enumerator
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp407 AddInt32Property(env, errorCode, "HUKS_ERROR_INVALID_DIGEST", HKS_ERROR_INVALID_DIGEST); in AddHuksErrorCodePart2()