Home
last modified time | relevance | path

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

/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
Dauth_ack_request.c66 uint8_t *tmp_data_hex = raw_byte_to_hex_string(auth_ack_request->auth_data.auth_data, in make_auth_ack_request() local
68 if (tmp_data_hex == NULL) { in make_auth_ack_request()
73 FREE(tmp_data_hex); in make_auth_ack_request()
79 FIELD_AUTH_DATA, tmp_data_hex) < 0) { in make_auth_ack_request()
84 FREE(tmp_data_hex); in make_auth_ack_request()
Dauth_ack_response.c66 uint8_t *tmp_data_hex = raw_byte_to_hex_string(auth_ack_response->auth_return.auth_return, in make_auth_ack_response() local
68 if (tmp_data_hex == NULL) { in make_auth_ack_response()
73 FREE(tmp_data_hex); in make_auth_ack_response()
79 FIELD_AUTH_RETURN, tmp_data_hex) < 0) { in make_auth_ack_response()
84 FREE(tmp_data_hex); in make_auth_ack_response()
Dexchange_response.c85 …uint8_t *tmp_data_hex = raw_byte_to_hex_string(exchange_response->cipher.val, exchange_response->c… in make_exchange_response() local
86 if (tmp_data_hex == NULL) { in make_exchange_response()
91 FREE(tmp_data_hex); in make_exchange_response()
96 EXCHANGE_RESPONSE, FIELD_PAYLOAD, FIELD_EX_AUTH_INFO, tmp_data_hex) < 0) { in make_exchange_response()
101 FREE(tmp_data_hex); in make_exchange_response()
Dexchange_request.c83 …uint8_t *tmp_data_hex = raw_byte_to_hex_string(exchange_request->cipher.val, exchange_request->cip… in make_exchange_request() local
84 if (tmp_data_hex == NULL) { in make_exchange_request()
89 FREE(tmp_data_hex); in make_exchange_request()
94 EXCHANGE_REQUEST, FIELD_PAYLOAD, FIELD_EX_AUTH_INFO, tmp_data_hex) < 0) { in make_exchange_request()
99 FREE(tmp_data_hex); in make_exchange_request()
Dadd_auth_info_request.c86 uint8_t *tmp_data_hex = raw_byte_to_hex_string(add_auth_info_request->cipher.val, in make_add_auth_info_request() local
88 if (tmp_data_hex == NULL) { in make_add_auth_info_request()
93 FREE(tmp_data_hex); in make_add_auth_info_request()
98 ADD_AUTHINFO_REQUEST, FIELD_PAYLOAD, FIELD_ADD_AUTH_INFO, tmp_data_hex) < 0) { in make_add_auth_info_request()
103 FREE(tmp_data_hex); in make_add_auth_info_request()
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()
Dadd_auth_info_response.c85 uint8_t *tmp_data_hex = raw_byte_to_hex_string(add_auth_info_response->cipher.val, in make_add_auth_info_response() local
87 if (tmp_data_hex == NULL) { in make_add_auth_info_response()
92 FREE(tmp_data_hex); in make_add_auth_info_response()
97 ADD_AUTHINFO_RESPONSE, FIELD_PAYLOAD, FIELD_ADD_RETURN, tmp_data_hex) < 0) { in make_add_auth_info_response()
102 FREE(tmp_data_hex); in make_add_auth_info_response()
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()
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()
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
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()