Home
last modified time | relevance | path

Searched refs:hex_string_to_byte (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/json/
H A Dcommonutil.c40 int32_t hex_string_to_byte(const char *str, int32_t len, uint8_t *hex) in hex_string_to_byte() function
96 if (hex_string_to_byte(str_json, len, hex) != HC_OK) { in byte_convert()
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/inc/json/
H A Dcommonutil.h24 int32_t hex_string_to_byte(const char *str, int32_t len, uint8_t *hex);
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Dcommonutil_test.h27 int32_t hex_string_to_byte(const char *str, int32_t len, uint8_t *hex);
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
H A Dexchange_response.c59 … if (hex_string_to_byte(ex_auth_info, len_ex_auth_info, exchange_response->cipher.val) != HC_OK) { in parse_exchange_response()
H A Drmv_auth_info_request.c59 … if (hex_string_to_byte(add_return, len_rmv_return, rmv_auth_info_request->cipher.val) != HC_OK) { in parse_rmv_auth_info_request()
H A Drmv_auth_info_response.c59 … if (hex_string_to_byte(rmv_return, len_rmv_return, rmv_auth_info_response->cipher.val) != HC_OK) { in parse_rmv_auth_info_response()
H A Dsec_clone_data.c66 if (hex_string_to_byte(client_chall, json_data_len, request_data->val) != HC_OK) { in get_single_json_from_buff()
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/
H A Dhuks_adapter_mock.c279 if (hex_string_to_byte(primeHex, strlen(primeHex), primeVal) != ERROR_CODE_SUCCESS) { in CheckDlSpekePublicKey()
H A Dhuks_adapter_mock_for_pake.c279 if (hex_string_to_byte(primeHex, strlen(primeHex), primeVal) != ERROR_CODE_SUCCESS) { in CheckDlSpekePublicKey()
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
H A Dhuks_adapter.c299 if (hex_string_to_byte(primeHex, strlen(primeHex), primeVal) != ERROR_CODE_SUCCESS) { in CheckDlSpekePublicKey()