Crypto Framework Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

17620001 Memory Operation Failed

Error Message

Memory operation failed.

Description

The memory operation failed.

Possible Causes

The memory allocation failed.

Solution

  1. Check whether the system is running properly.
  2. Check whether the service data is too long.

17620002 Parameter Conversion Between ArkTS and C Failed

Error Message

Failed to convert parameters between arkts and c.

Description

The parameter conversion between ArkTS and C failed.

Possible Causes

An unexpected error occurs.

Solution

Check whether the system is running properly.

17620004 Invalid Function Call

Error Message

invalid function call.

Description

Invalid function call.

Possible Causes

This operation is not supported by the current function.

Solution

Check whether the function is properly called.

17630001 Crypto Operation Error

Error Message

Crypto operation error.

Description

Failed to invoke the third-party cryptographic API.

Possible Causes

An error occurs when the cryptography framework interacts with a third-party algorithm library.

Solution

Check whether the input parameters of the API or associated APIs are correct.

For details about AES decryption failure, see AES Decryption Failure Returning 17630001.