Home
last modified time | relevance | path

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

/base/security/device_auth/frameworks/deviceauth_lite/source/json/
Dcommonutil.h24 int32_t hex_string_to_byte(const char *str, int32_t len, uint8_t *hex);
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()
/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
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()
Dexchange_request.c58 if (hex_string_to_byte(ex_auth_info, len_ex_auth_info, exchange_request->cipher.val) != HC_OK) { in parse_exchange_request()
Dadd_auth_info_request.c60 …if (hex_string_to_byte(add_auth_info, len_add_auth_info, add_auth_info_request->cipher.val) != HC_… in parse_add_auth_info_request()
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()
Dadd_auth_info_response.c59 … if (hex_string_to_byte(add_return, len_add_return, add_auth_info_response->cipher.val) != HC_OK) { in parse_add_auth_info_response()
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()
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()
/base/security/device_auth/frameworks/deviceauth_lite/source/auth_info/
Dadd_auth_info.c199 if (hex_string_to_byte((char *)data->val, data->length, receive_data) != HC_OK) { in import_signed_auth_info_hilink()
/base/security/device_auth/frameworks/deviceauth_lite/source/
Dhichain.c224 int32_t ret = hex_string_to_byte((char *)auth_id->auth_id, auth_id->length, origin_id.auth_id); in init_center()
627 int32_t ret = hex_string_to_byte((char *)auth_id->auth_id, auth_id->length, origin_id.auth_id); in import_auth_info()
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.c278 if (hex_string_to_byte(primeHex, strlen(primeHex), primeVal) != ERROR_CODE_SUCCESS) { in CheckDlSpekePublicKey()