Searched refs:tmp_data_hex (Results 1 – 10 of 10) sorted by relevance
/base/security/device_auth/frameworks/deviceauth_lite/source/struct/ |
D | auth_ack_request.c | 66 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()
|
D | auth_ack_response.c | 66 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()
|
D | exchange_response.c | 85 …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()
|
D | exchange_request.c | 83 …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()
|
D | add_auth_info_request.c | 86 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()
|
D | rmv_auth_info_response.c | 85 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()
|
D | add_auth_info_response.c | 85 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()
|
D | rmv_auth_info_request.c | 85 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()
|
D | sec_clone_data.c | 81 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/ |
D | commonutil.c | 74 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()
|