/base/security/huks/interfaces/kits/napi/src/v9/ |
D | huks_napi_common_item.cpp | 39 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "the type of alias isn't string"); in ParseKeyAlias() 47 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "could not get string length"); in ParseKeyAlias() 53 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "the length of alias is too long"); in ParseKeyAlias() 69 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "could not get string"); in ParseKeyAlias() 99 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, in GetUint8Array() 106 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, in GetUint8Array() 166 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, in CheckParamValueType() 248 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "GetHksParam fail"); in ParseParams() 263 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "paramSet is nullptr"); in ParseHksParamSetAndAddParam() 278 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "ParseParams fail"); in ParseHksParamSetAndAddParam() [all …]
|
D | huks_napi_import_wrapped_key_item.cpp | 72 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in ImportWrappedKeyParseParams() 80 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "could not get key alias"); in ImportWrappedKeyParseParams()
|
D | huks_napi_attest_key_item.cpp | 64 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in AttestKeyParseParams() 72 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "could not get key alias"); in AttestKeyParseParams()
|
D | huks_napi_delete_key_item.cpp | 59 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in DeleteKeyParseParams()
|
D | huks_napi_generate_key_item.cpp | 60 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in GenerateKeyParseParams()
|
D | huks_napi_has_key_item.cpp | 59 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in IsKeyExistParseParams()
|
D | huks_napi_abort_session.cpp | 57 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in ParseAbortParams()
|
D | huks_napi_get_key_item_properties.cpp | 64 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in GetKeyPropertiesParseParams()
|
D | huks_napi_is_key_item_exist.cpp | 70 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in IsKeyExistParseParams()
|
D | huks_napi_import_key_item.cpp | 62 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in ImportKeyParseParams()
|
D | huks_napi_export_key_item.cpp | 63 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in ExportKeyParseParams()
|
D | huks_napi_init_session.cpp | 69 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in ParseInitParams()
|
D | huks_napi_update_finish_session.cpp | 224 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in ParseUpdateParams()
|
/base/security/huks/interfaces/kits/napi/include/v9/ |
D | huks_napi_common_item.h | 153 inline void HksNapiThrow(napi_env env, int32_t errCode, const char *errorMsg) in HksNapiThrow() function 160 HksNapiThrow(env, HUKS_ERR_CODE_INSUFFICIENT_MEMORY, "Insufficient memory."); in HksNapiThrowInsufficientMemory() 164 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, in HksNapiThrowInvalidParamCount() 169 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "GetUserIdValue failed"); in HksNapiThrowGetUserIdFail()
|
/base/security/huks/interfaces/kits/napi/src/v12/ |
D | huks_napi_list_aliases.cpp | 83 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "no enough params input"); in ListAliasesParseParams() 91 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "could not get paramset"); in ListAliasesParseParams()
|
D | huks_napi_import_wrapped_key_item_as_user.cpp | 54 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "could not get key alias"); in ImportWrappedKeyAsUserParseParams()
|
D | huks_napi_attest_key_item_as_user.cpp | 53 HksNapiThrow(env, HUKS_ERR_CODE_ILLEGAL_ARGUMENT, "could not get key alias"); in AttestKeyAsUserParseParams()
|