Home
last modified time | relevance | path

Searched refs:tmp_data_hex (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
H A Dauth_ack_request.c39 uint8_t *tmp_data_hex = raw_byte_to_hex_string(auth_ack_request->auth_data.auth_data, in make_auth_ack_request() local
41 if (tmp_data_hex == NULL) { in make_auth_ack_request()
46 FREE(tmp_data_hex); in make_auth_ack_request()
52 FIELD_AUTH_DATA, tmp_data_hex) < 0) { in make_auth_ack_request()
57 FREE(tmp_data_hex); in make_auth_ack_request()
H A Dexchange_request.c42 …uint8_t *tmp_data_hex = raw_byte_to_hex_string(exchange_request->cipher.val, exchange_request->cip… in make_exchange_request() local
43 if (tmp_data_hex == NULL) { in make_exchange_request()
48 FREE(tmp_data_hex); in make_exchange_request()
53 EXCHANGE_REQUEST, FIELD_PAYLOAD, FIELD_EX_AUTH_INFO, tmp_data_hex) < 0) { in make_exchange_request()
58 FREE(tmp_data_hex); in make_exchange_request()
H A Drmv_auth_info_request.c85 uint8_t *tmp_data_hex = raw_byte_to_hex_string(rmv_auth_info_request->cipher.val, in make_rmv_auth_info_request() local
87 if (tmp_data_hex == NULL) { in make_rmv_auth_info_request()
92 FREE(tmp_data_hex); in make_rmv_auth_info_request()
97 REMOVE_AUTHINFO_REQUEST, FIELD_PAYLOAD, FIELD_RMV_AUTH_INFO, tmp_data_hex) < 0) { in make_rmv_auth_info_request()
102 FREE(tmp_data_hex); in make_rmv_auth_info_request()
H A Drmv_auth_info_response.c85 uint8_t *tmp_data_hex = raw_byte_to_hex_string(rmv_auth_info_response_data->cipher.val, in make_rmv_auth_info_response() local
87 if (tmp_data_hex == NULL) { in make_rmv_auth_info_response()
92 FREE(tmp_data_hex); in make_rmv_auth_info_response()
97 REMOVE_AUTHINFO_RESPONSE, FIELD_PAYLOAD, FIELD_RMV_RETURN, tmp_data_hex) < 0) { in make_rmv_auth_info_response()
102 FREE(tmp_data_hex); in make_rmv_auth_info_response()
H A Dsec_clone_data.c81 uint8_t *tmp_data_hex = raw_byte_to_hex_string(src_data->val, src_data->length); in make_single_json_data() local
82 if (tmp_data_hex == NULL) { in make_single_json_data()
88 FREE(tmp_data_hex); in make_single_json_data()
94 msg_code, FIELD_PAYLOAD, name, tmp_data_hex) < 0) { in make_single_json_data()
99 FREE(tmp_data_hex); in make_single_json_data()
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/json/
H A Dcommonutil.c74 uint8_t *tmp_data_hex = (uint8_t *)MALLOC(tmp_data_hex_len); in print_bytes() local
75 if (tmp_data_hex == NULL) { in print_bytes()
79 (void)memset_s(tmp_data_hex, tmp_data_hex_len, 0, tmp_data_hex_len); in print_bytes()
80 byte_to_hex_string(buf, buf_len, tmp_data_hex, buf_len * BYTE_TO_HEX_OPER_LENGTH); in print_bytes()
81 DBG_OUT("PrintBytes:%s", (char *)tmp_data_hex); in print_bytes()
82 FREE(tmp_data_hex); in print_bytes()