Home
last modified time | relevance | path

Searched refs:FREE (Results 1 – 25 of 58) sorted by relevance

123

/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/
Dpake_client_confirm.c65 FREE(pake_client_confirm); in parse_pake_client_confirm()
72 FREE(obj); in free_pake_client_confirm()
89 FREE(tmp_kcf_data_hex); in make_pake_client_confirm()
96 FREE(tmp_kcf_data_hex); in make_pake_client_confirm()
97 FREE(tmp_cha_data_hex); in make_pake_client_confirm()
102 FREE(tmp_kcf_data_hex); in make_pake_client_confirm()
103 FREE(tmp_cha_data_hex); in make_pake_client_confirm()
104 FREE(tmp_epk_data_hex); in make_pake_client_confirm()
113 FREE(ret_str); in make_pake_client_confirm()
116 FREE(tmp_kcf_data_hex); in make_pake_client_confirm()
[all …]
Dauth_start_response.c82 FREE(auth_start_response); in parse_auth_start_response()
89 FREE(obj); in free_auth_start_response()
114 FREE(tmp_str); in make_response_json_str()
132 FREE(tmp_hex.tmp_auth_data_hex); in make_auth_start_response()
138 FREE(tmp_hex.tmp_auth_data_hex); in make_auth_start_response()
139 FREE(tmp_hex.tmp_cha_data_hex); in make_auth_start_response()
145 FREE(tmp_hex.tmp_auth_data_hex); in make_auth_start_response()
146 FREE(tmp_hex.tmp_cha_data_hex); in make_auth_start_response()
147 FREE(tmp_hex.tmp_salt_data_hex); in make_auth_start_response()
153 FREE(tmp_hex.tmp_epk_data_hex); in make_auth_start_response()
[all …]
Dpake_response.c72 FREE(pake_response); in parse_pake_response()
79 FREE(obj); in free_pake_response()
95 FREE(tmp_cha_data_hex); in make_pake_response()
101 FREE(tmp_cha_data_hex); in make_pake_response()
102 FREE(tmp_salt_data_hex); in make_pake_response()
107 FREE(tmp_cha_data_hex); in make_pake_response()
108 FREE(tmp_salt_data_hex); in make_pake_response()
109 FREE(tmp_epk_data_hex); in make_pake_response()
123 FREE(ret_str); in make_pake_response()
126 FREE(tmp_cha_data_hex); in make_pake_response()
[all …]
Dauth_start_request.c82 FREE(auth_start_request); in parse_auth_start_request()
89 FREE(obj); in free_auth_start_request()
120 FREE(tmp_str); in make_request_json_str()
139 FREE(tmp_hex.tmp_cha_data_hex); in make_auth_start_request()
146 FREE(tmp_hex.tmp_epk_data_hex); in make_auth_start_request()
147 FREE(tmp_hex.tmp_cha_data_hex); in make_auth_start_request()
154 FREE(tmp_hex.tmp_epk_data_hex); in make_auth_start_request()
155 FREE(tmp_hex.tmp_type_data_hex); in make_auth_start_request()
156 FREE(tmp_hex.tmp_cha_data_hex); in make_auth_start_request()
160 FREE(tmp_hex.tmp_epk_data_hex); in make_auth_start_request()
[all …]
Dexchange_auth_data.c58 FREE(exchange_auth_data); in parse_exchange_data()
65 FREE(obj); in free_exchange_data()
82 FREE(tmp_auth_id_data_hex); in make_exchange_data()
87 FREE(tmp_auth_id_data_hex); in make_exchange_data()
88 FREE(tmp_auth_pk_data_hex); in make_exchange_data()
95 FREE(ret_str); in make_exchange_data()
98 FREE(tmp_auth_id_data_hex); in make_exchange_data()
99 FREE(tmp_auth_pk_data_hex); in make_exchange_data()
Dadd_auth_info_data.c71 FREE(add_auth_data); in parse_add_auth_info_data()
78 FREE(obj); in free_add_auth_info_data()
94 FREE(tmp_add_id_data_hex); in make_add_auth_info_data()
99 FREE(tmp_add_id_data_hex); in make_add_auth_info_data()
100 FREE(tmp_add_key_data_hex); in make_add_auth_info_data()
109 FREE(ret_str); in make_add_auth_info_data()
112 FREE(tmp_add_id_data_hex); in make_add_auth_info_data()
113 FREE(tmp_add_key_data_hex); in make_add_auth_info_data()
Dauth_ack_response.c51 FREE(auth_ack_response); in parse_auth_ack_response()
58 FREE(obj); in free_auth_ack_response()
73 FREE(tmp_data_hex); in make_auth_ack_response()
81 FREE(ret_str); in make_auth_ack_response()
84 FREE(tmp_data_hex); in make_auth_ack_response()
Dpake_server_confirm.c51 FREE(pake_server_confirm); in parse_pake_server_confirm()
58 FREE(obj); in free_pake_server_confirm()
73 FREE(tmp_kcf_data_hex); in make_pake_server_confirm()
80 FREE(ret_str); in make_pake_server_confirm()
83 FREE(tmp_kcf_data_hex); in make_pake_server_confirm()
Dauth_ack_request.c51 FREE(auth_ack_request); in parse_auth_ack_request()
58 FREE(obj); in free_auth_ack_request()
73 FREE(tmp_data_hex); in make_auth_ack_request()
81 FREE(ret_str); in make_auth_ack_request()
84 FREE(tmp_data_hex); in make_auth_ack_request()
Drmv_auth_info_data.c57 FREE(rmv_auth_data); in parse_rmv_auth_info_data()
64 FREE(obj); in free_rmv_auth_info_data()
79 FREE(tmp_rmv_id_data_hex); in make_rmv_auth_info_data()
86 FREE(ret_str); in make_rmv_auth_info_data()
89 FREE(tmp_rmv_id_data_hex); in make_rmv_auth_info_data()
Dparsedata.c71 FREE((char *)payload); in parse_data()
76 FREE((char *)payload); in parse_data()
79 FREE(msg_data); in parse_data()
87 FREE(data->payload_data); in free_data()
89 FREE(data); in free_data()
Dexchange_response.c75 FREE(data->cipher.val); in free_exchange_response()
77 FREE(data); in free_exchange_response()
91 FREE(tmp_data_hex); in make_exchange_response()
98 FREE(ret_str); in make_exchange_response()
101 FREE(tmp_data_hex); in make_exchange_response()
Dadd_auth_info_request.c76 FREE(data->cipher.val); in free_add_auth_info_request()
78 FREE(data); in free_add_auth_info_request()
93 FREE(tmp_data_hex); in make_add_auth_info_request()
100 FREE(ret_str); in make_add_auth_info_request()
103 FREE(tmp_data_hex); in make_add_auth_info_request()
Dexchange_request.c74 FREE(data->cipher.val); in free_exchange_request()
76 FREE(data); in free_exchange_request()
89 FREE(tmp_data_hex); in make_exchange_request()
96 FREE(ret_str); in make_exchange_request()
99 FREE(tmp_data_hex); in make_exchange_request()
Drmv_auth_info_response.c75 FREE(data->cipher.val); in free_rmv_auth_info_response()
77 FREE(data); in free_rmv_auth_info_response()
92 FREE(tmp_data_hex); in make_rmv_auth_info_response()
99 FREE(ret_str); in make_rmv_auth_info_response()
102 FREE(tmp_data_hex); in make_rmv_auth_info_response()
Dadd_auth_info_response.c74 FREE(data->cipher.val); in free_add_auth_info_response()
76 FREE(data); in free_add_auth_info_response()
91 FREE(tmp_data_hex); in make_add_auth_info_response()
98 FREE(ret_str); in make_add_auth_info_response()
101 FREE(tmp_data_hex); in make_add_auth_info_response()
Drmv_auth_info_request.c74 FREE(data->cipher.val); in free_rmv_auth_info_request()
76 FREE(data); in free_rmv_auth_info_request()
91 FREE(tmp_data_hex); in make_rmv_auth_info_request()
98 FREE(ret_str); in make_rmv_auth_info_request()
101 FREE(tmp_data_hex); in make_rmv_auth_info_request()
Dsec_clone_data.c31 FREE(data->val); in free_single_buff()
34 FREE(data); in free_single_buff()
88 FREE(tmp_data_hex); in make_single_json_data()
96 FREE(ret_str); in make_single_json_data()
99 FREE(tmp_data_hex); in make_single_json_data()
114 FREE(ret_str); in make_single_json_data_srv_proof()
/base/security/deviceauth/frameworks/deviceauth_lite/source/base/
Dmem_stat.h26 #define FREE free macro
34 #define FREE hilink_free macro
46 void FREE(void *ptr);
/base/security/device_security_level/services/common/
Ddslm_msg_serialize.c98 FREE(out); in SerializeMessage()
107 FREE(out); in SerializeMessage()
122 FREE(packet->payload); in FreeMessagePacket()
125 FREE((void *)packet); in FreeMessagePacket()
134 FREE(buff->buff); in FreeMessageBuff()
137 FREE((void *)buff); in FreeMessageBuff()
/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/
Dexchange_auth_info_client.c110 FREE(plain.val); in parse_exchange_response_data()
115 FREE(plain.val); in parse_exchange_response_data()
146 FREE(auth_info.val); in build_exchange_request()
155 FREE(auth_info.val); in build_exchange_request()
160 FREE(auth_info.val); in build_exchange_request()
161 FREE(plain.val); in build_exchange_request()
165 FREE(auth_info.val); in build_exchange_request()
168 FREE(plain.val); in build_exchange_request()
175 FREE(plain.val); in build_exchange_request()
260 FREE(sign_src_data.val); in verify_peer_public_key()
[all …]
Dremove_auth_info_client.c46 FREE(request_data); in send_remove_request()
104 FREE(tmp); in build_remove_request_data()
112 FREE(tmp); in build_remove_request_data()
115 FREE(payload.val); in build_remove_request_data()
129 FREE(plain.val); in parse_remove_response_data()
135 FREE(plain.val); in parse_remove_response_data()
Dadd_auth_info_client.c40 FREE(request_data); in send_add_request()
99 FREE(tmp); in build_add_request_data()
107 FREE(tmp); in build_add_request_data()
110 FREE(payload.val); in build_add_request_data()
124 FREE(plain.val); in parse_add_response_data()
130 FREE(plain.val); in parse_add_response_data()
/base/security/device_security_level/services/dslm/
Ddslm_credential.c105 FREE(outBuff); in CreateDslmCred()
110 FREE(outBuff); in CreateDslmCred()
111 FREE(outValue); in CreateDslmCred()
126 FREE(credBuff->credVal); in DestroyDslmCred()
129 FREE(credBuff); in DestroyDslmCred()
/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/
Dsec_clone_server.c99 FREE(handle->start_request_data.val); in destroy_sec_clone_server()
104 FREE(handle->client_sec_data.val); in destroy_sec_clone_server()
114 FREE(handle); in destroy_sec_clone_server()
135 FREE(send_data); in send_sec_clone_start_response()
143 FREE(send_data->val); in send_sec_clone_start_response()
145 FREE(send_data); in send_sec_clone_start_response()
176 FREE(send_data); in send_sec_clone_end_response()
186 FREE(send_data->val); in send_sec_clone_end_response()
189 FREE(send_data); in send_sec_clone_end_response()
217 FREE(challenge_out->val); in sec_clone_combine_challenge()
[all …]

123