Searched refs:hex_string_to_byte (Results 1 – 12 of 12) sorted by relevance
/base/security/device_auth/frameworks/deviceauth_lite/source/json/ |
D | commonutil.h | 24 int32_t hex_string_to_byte(const char *str, int32_t len, uint8_t *hex);
|
D | commonutil.c | 40 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/ |
D | exchange_response.c | 59 … if (hex_string_to_byte(ex_auth_info, len_ex_auth_info, exchange_response->cipher.val) != HC_OK) { in parse_exchange_response()
|
D | exchange_request.c | 58 if (hex_string_to_byte(ex_auth_info, len_ex_auth_info, exchange_request->cipher.val) != HC_OK) { in parse_exchange_request()
|
D | add_auth_info_request.c | 60 …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()
|
D | rmv_auth_info_response.c | 59 … if (hex_string_to_byte(rmv_return, len_rmv_return, rmv_auth_info_response->cipher.val) != HC_OK) { in parse_rmv_auth_info_response()
|
D | add_auth_info_response.c | 59 … if (hex_string_to_byte(add_return, len_add_return, add_auth_info_response->cipher.val) != HC_OK) { in parse_add_auth_info_response()
|
D | rmv_auth_info_request.c | 59 … if (hex_string_to_byte(add_return, len_rmv_return, rmv_auth_info_request->cipher.val) != HC_OK) { in parse_rmv_auth_info_request()
|
D | sec_clone_data.c | 66 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/ |
D | add_auth_info.c | 199 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/ |
D | hichain.c | 224 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/ |
D | huks_adapter.c | 278 if (hex_string_to_byte(primeHex, strlen(primeHex), primeVal) != ERROR_CODE_SUCCESS) { in CheckDlSpekePublicKey()
|