Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A 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()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_rsa_oaep_decrypt.cpp646 .decryptResult = HKS_ERROR_INVALID_DIGEST,
667 .decryptResult = HKS_ERROR_INVALID_DIGEST,
688 .decryptResult = HKS_ERROR_INVALID_DIGEST,
713 .decryptResult = HKS_ERROR_INVALID_DIGEST,
739 .decryptResult = HKS_ERROR_INVALID_DIGEST,
768 .decryptResult = HKS_ERROR_INVALID_DIGEST,
H A Dhks_crypto_hal_rsa_oaep_encrypt.cpp541 .encryptResult = HKS_ERROR_INVALID_DIGEST,
561 .encryptResult = HKS_ERROR_INVALID_DIGEST,
581 .encryptResult = HKS_ERROR_INVALID_DIGEST,
602 .encryptResult = HKS_ERROR_INVALID_DIGEST,
622 .encryptResult = HKS_ERROR_INVALID_DIGEST,
642 .encryptResult = HKS_ERROR_INVALID_DIGEST,
H A Dhks_crypto_hal_api_mbedtls.cpp531 ASSERT_EQ(HksCryptoHalHmacInit(&key, NULL, &hmactestctx), HKS_ERROR_INVALID_DIGEST);
624 ASSERT_EQ(HksCryptoHalHmac(&key, NULL, &message, &signature), HKS_ERROR_INVALID_DIGEST);
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_hash.c490 return HKS_ERROR_INVALID_DIGEST; in HksMbedtlsHashInit()
519 return HKS_ERROR_INVALID_DIGEST; in HksMbedtlsHashUpdate()
550 return HKS_ERROR_INVALID_DIGEST; in HksMbedtlsHashFinal()
639 return HKS_ERROR_INVALID_DIGEST; in HksMbedtlsHash()
H A Dhks_mbedtls_common.c66 return HKS_ERROR_INVALID_DIGEST; in HksToMbedtlsDigestAlg()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_hmac_test.cpp304 HKS_ERROR_INVALID_DIGEST,
324 HKS_ERROR_INVALID_DIGEST,
670 EXPECT_EQ(ret, HKS_ERROR_INVALID_DIGEST) << "this case failed.";
H A Dhks_sm2_sign_verify_test.cpp109 HKS_ERROR_INVALID_DIGEST,
295 HKS_ERROR_INVALID_DIGEST,
H A Dhks_import_key_test.cpp402 .importKeyResult = HKS_ERROR_INVALID_DIGEST,
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/crypto_engine_test/src/
H A Dhks_openssl_hash_test.cpp68 ASSERT_TRUE(ret == HKS_ERROR_INVALID_DIGEST);
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
H A Dhks_sm2_cipher_test.cpp101 HKS_ERROR_INVALID_DIGEST,
200 HKS_ERROR_INVALID_DIGEST,
219 HKS_ERROR_INVALID_DIGEST,
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/
H A Dhks_common_check.c159 return HKS_ERROR_INVALID_DIGEST; in HksGetDigestLen()
H A Dhks_errcode_adapter.c321 .innerErrCode = HKS_ERROR_INVALID_DIGEST,
H A Dhks_check_paramset.c301 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_DIGEST, in CheckAndGetDigest()
H A Dhks_base_check.c1710 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_DIGEST, in HksCheckFixedParams()
/ohos5.0/base/security/huks/interfaces/inner_api/huks_standard/main/include/
H A Dhks_type_enum.h344 HKS_ERROR_INVALID_DIGEST = -117, enumerator
/ohos5.0/base/security/huks/interfaces/kits/napi/src/
H A Dhuks_napi.cpp432 AddInt32Property(env, errorCode, "HUKS_ERROR_INVALID_DIGEST", HKS_ERROR_INVALID_DIGEST); in AddHuksErrorCodePart2()