Home
last modified time | relevance | path

Searched refs:HKS_ERROR_INVALID_KEY_SIZE (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_api_mbedtls.cpp205 EXPECT_EQ(HKS_ERROR_INVALID_KEY_SIZE, ret);
228 EXPECT_EQ(HKS_ERROR_INVALID_KEY_SIZE, ret);
317 EXPECT_EQ(HKS_ERROR_INVALID_KEY_SIZE, ret);
352 ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_SIZE);
378 ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_SIZE);
419 ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_SIZE);
443 ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_SIZE);
506 ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_SIZE);
H A Dhks_crypto_hal_api_openssl.cpp135 ASSERT_EQ(HKS_ERROR_INVALID_KEY_SIZE, ret);
558 EXPECT_EQ(HksCryptoHalAgreeKey(&key, &pubKey, &spec, &agreeKey), HKS_ERROR_INVALID_KEY_SIZE);
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_dh.c53 return HKS_ERROR_INVALID_KEY_SIZE; in HksOpensslGetNid()
277 return HKS_ERROR_INVALID_KEY_SIZE; in HksOpensslDhAgreeKey()
307 ret = HKS_ERROR_INVALID_KEY_SIZE; in HksOpensslDhAgreeKey()
H A Dhks_openssl_engine.c201 return HKS_ERROR_INVALID_KEY_SIZE; in HksCryptoHalGetPubKey()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_ecc.c47 return HKS_ERROR_INVALID_KEY_SIZE; in HksMbedtlsEccCheckKeySize()
70 return HKS_ERROR_INVALID_KEY_SIZE; in GetEccGroupId()
H A Dhks_mbedtls_dh.c65 return HKS_ERROR_INVALID_KEY_SIZE; in GetDhParam()
H A Dhks_mbedtls_engine.c188 return HKS_ERROR_INVALID_KEY_SIZE; in HksCryptoHalGetPubKey()
H A Dhks_mbedtls_rsa.c57 return HKS_ERROR_INVALID_KEY_SIZE; in RsaCheckKeySize()
H A Dhks_mbedtls_aes.c1439 return HKS_ERROR_INVALID_KEY_SIZE; in CheckKeySize()
1448 HKS_IF_NOT_SUCC_LOGE_RETURN(CheckKeySize(key), HKS_ERROR_INVALID_KEY_SIZE, in HksMbedtlsAesEncrypt()
1580 HKS_IF_NOT_SUCC_LOGE_RETURN(CheckKeySize(key), HKS_ERROR_INVALID_KEY_SIZE, in HksMbedtlsAesDecrypt()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/crypto_engine_test/src/
H A Dhks_openssl_engine_test.cpp87 …ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_SIZE) << "HksFrameworkOpensslEngineTest001 failed, ret = " <<…
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_hmac_derive_part1_test.cpp605 …stNormalCase2(keyAlias, genParamSet, hkdfParamSet, hkdfFinishParamSet, HKS_ERROR_INVALID_KEY_SIZE);
644 …stNormalCase2(keyAlias, genParamSet, hkdfParamSet, hkdfFinishParamSet, HKS_ERROR_INVALID_KEY_SIZE);
683 …stNormalCase2(keyAlias, genParamSet, hkdfParamSet, hkdfFinishParamSet, HKS_ERROR_INVALID_KEY_SIZE);
H A Dhks_import_agree_test.cpp877 return HKS_ERROR_INVALID_KEY_SIZE; in ConstructDhKeyStructOne()
910 return HKS_ERROR_INVALID_KEY_SIZE; in ConstructDhKeyStructTwo()
999 return HKS_ERROR_INVALID_KEY_SIZE; in ConstructAgreePubKeyDh()
1011 return HKS_ERROR_INVALID_KEY_SIZE; in ConstructAgreePubKeyDh()
H A Dhks_sm2_sign_verify_test.cpp89 HKS_ERROR_INVALID_KEY_SIZE,
275 HKS_ERROR_INVALID_KEY_SIZE,
H A Dhks_sm4_cipher_part_test.cpp728 HKS_ERROR_INVALID_KEY_SIZE,
816 HKS_ERROR_INVALID_KEY_SIZE,
904 HKS_ERROR_INVALID_KEY_SIZE,
1140 EXPECT_EQ(ret, HKS_ERROR_INVALID_KEY_SIZE) << "this case failed.";
H A Dhks_import_rsa_test.cpp373 return HKS_ERROR_INVALID_KEY_SIZE; in ConstructPubKey()
476 return HKS_ERROR_INVALID_KEY_SIZE; in ConstructImportedKey()
H A Dhks_import_sign_verify_test.cpp529 return HKS_ERROR_INVALID_KEY_SIZE; in ConstructEccPubKey()
722 return HKS_ERROR_INVALID_KEY_SIZE; in ConstructImportedEccKey()
H A Dhks_import_key_test.cpp416 .importKeyResult = HKS_ERROR_INVALID_KEY_SIZE,
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
H A Dhks_sm2_cipher_test.cpp81 HKS_ERROR_INVALID_KEY_SIZE,
180 HKS_ERROR_INVALID_KEY_SIZE,
300 HKS_ERROR_INVALID_KEY_SIZE,
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/
H A Dhks_check_paramset.c924 return HKS_ERROR_INVALID_KEY_SIZE; in HksCoreCheckAgreeKeyParams()
998 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_KEY_SIZE, in HksLocalCheckCipherParams()
1089 return HKS_ERROR_INVALID_KEY_SIZE; in CheckMacOutput()
H A Dhks_errcode_adapter.c293 .innerErrCode = HKS_ERROR_INVALID_KEY_SIZE,
H A Dhks_base_check.c1698 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_KEY_SIZE, in HksCheckFixedParams()
/ohos5.0/base/security/huks/interfaces/inner_api/huks_standard/main/include/
H A Dhks_type_enum.h340 HKS_ERROR_INVALID_KEY_SIZE = -113, enumerator
/ohos5.0/base/security/huks/frameworks/huks_standard/main/core/src/
H A Dhks_local_engine.c278 return HKS_ERROR_INVALID_KEY_SIZE; in CheckLocalSignVerifyParams()
/ohos5.0/base/security/huks/interfaces/kits/napi/src/
H A Dhuks_napi.cpp428 AddInt32Property(env, errorCode, "HUKS_ERROR_INVALID_KEY_SIZE", HKS_ERROR_INVALID_KEY_SIZE); in AddHuksErrorCodePart2()