Home
last modified time | relevance | path

Searched refs:shared_secret (Results 1 – 25 of 47) sorted by relevance

12

/external/openssh/
Dkexdhc.c50 BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; in kexdh_client() local
123 if ((shared_secret = BN_new()) == NULL) in kexdh_client()
125 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) in kexdh_client()
139 shared_secret, in kexdh_client()
158 kex_derive_keys(kex, hash, hashlen, shared_secret); in kexdh_client()
159 BN_clear_free(shared_secret); in kexdh_client()
Dkexecdhc.c55 BIGNUM *shared_secret; in kexecdh_client() local
121 if ((shared_secret = BN_new()) == NULL) in kexecdh_client()
123 if (BN_bin2bn(kbuf, klen, shared_secret) == NULL) in kexecdh_client()
139 shared_secret, in kexecdh_client()
158 kex_derive_keys(kex, hash, hashlen, shared_secret); in kexecdh_client()
159 BN_clear_free(shared_secret); in kexecdh_client()
Dkexdhs.c53 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; in kexdh_server() local
116 if ((shared_secret = BN_new()) == NULL) in kexdh_server()
118 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) in kexdh_server()
134 shared_secret, in kexdh_server()
165 kex_derive_keys(kex, hash, hashlen, shared_secret); in kexdh_server()
166 BN_clear_free(shared_secret); in kexdh_server()
Dkexecdhs.c57 BIGNUM *shared_secret; in kexecdh_server() local
113 if ((shared_secret = BN_new()) == NULL) in kexecdh_server()
115 if (BN_bin2bn(kbuf, klen, shared_secret) == NULL) in kexecdh_server()
132 shared_secret, in kexecdh_server()
163 kex_derive_keys(kex, hash, hashlen, shared_secret); in kexecdh_server()
164 BN_clear_free(shared_secret); in kexecdh_server()
Dkexgexc.c52 BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; in kexgex_client() local
161 if ((shared_secret = BN_new()) == NULL) in kexgex_client()
163 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) in kexgex_client()
183 shared_secret, in kexgex_client()
203 kex_derive_keys(kex, hash, hashlen, shared_secret); in kexgex_client()
204 BN_clear_free(shared_secret); in kexgex_client()
Dkexgexs.c56 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; in kexgex_server() local
153 if ((shared_secret = BN_new()) == NULL) in kexgex_server()
155 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) in kexgex_server()
177 shared_secret, in kexgex_server()
209 kex_derive_keys(kex, hash, hashlen, shared_secret); in kexgex_server()
210 BN_clear_free(shared_secret); in kexgex_server()
Dkexdh.c49 BIGNUM *shared_secret, in kex_dh_hash() argument
72 buffer_put_bignum2(&b, shared_secret); in kex_dh_hash()
Dkexecdh.c77 const BIGNUM *shared_secret, in kex_ecdh_hash() argument
99 buffer_put_bignum2(&b, shared_secret); in kex_ecdh_hash()
Dkexgex.c51 BIGNUM *shared_secret, in kexgex_hash() argument
82 buffer_put_bignum2(&b, shared_secret); in kexgex_hash()
/external/wpa_supplicant_8/src/radius/
Dradius_das.c24 u8 *shared_secret; member
191 if (radius_msg_verify_das_req(msg, das->shared_secret, in radius_das_receive()
254 if (radius_msg_finish_das_resp(reply, das->shared_secret, in radius_das_receive()
309 if (conf->port == 0 || conf->shared_secret == NULL || in radius_das_init()
325 das->shared_secret = os_malloc(conf->shared_secret_len); in radius_das_init()
326 if (das->shared_secret == NULL) { in radius_das_init()
330 os_memcpy(das->shared_secret, conf->shared_secret, in radius_das_init()
362 os_free(das->shared_secret); in radius_das_deinit()
Dradius_client.c67 const u8 *shared_secret,
130 const u8 *shared_secret; member
268 const u8 *shared_secret, in radius_client_register() argument
515 const u8 *shared_secret, in radius_client_list_add() argument
538 entry->shared_secret = shared_secret; in radius_client_list_add()
626 const u8 *shared_secret; in radius_client_send() local
645 shared_secret = conf->acct_server->shared_secret; in radius_client_send()
647 radius_msg_finish_acct(msg, shared_secret, shared_secret_len); in radius_client_send()
659 shared_secret = conf->auth_server->shared_secret; in radius_client_send()
661 radius_msg_finish(msg, shared_secret, shared_secret_len); in radius_client_send()
[all …]
Dradius_client.h41 u8 *shared_secret; member
241 const u8 *shared_secret, size_t shared_secret_len,
Dradius_server.c86 char *shared_secret; member
599 (u8 *) client->shared_secret, in radius_server_encapsulate_eap()
614 if (radius_msg_finish_srv(msg, (u8 *) client->shared_secret, in radius_server_encapsulate_eap()
659 if (radius_msg_finish_srv(msg, (u8 *) client->shared_secret, in radius_server_reject()
955 if (radius_msg_verify_msg_auth(msg, (u8 *) client->shared_secret, in radius_server_receive_auth()
1068 os_free(prev->shared_secret); in radius_server_free_clients()
1179 entry->shared_secret = os_strdup(pos); in radius_server_read_clients()
1180 if (entry->shared_secret == NULL) { in radius_server_read_clients()
1185 entry->shared_secret_len = os_strlen(entry->shared_secret); in radius_server_read_clients()
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius_client.c38 const u8 *shared_secret,
57 u8 *shared_secret; member
110 const u8 *shared_secret, in radius_client_register() argument
354 RadiusType msg_type, u8 *shared_secret, in radius_client_list_add() argument
379 entry->shared_secret = shared_secret; in radius_client_list_add()
445 u8 *shared_secret; in radius_client_send() local
463 shared_secret = conf->acct_server->shared_secret; in radius_client_send()
465 radius_msg_finish_acct(msg, shared_secret, shared_secret_len); in radius_client_send()
477 shared_secret = conf->auth_server->shared_secret; in radius_client_send()
479 radius_msg_finish(msg, shared_secret, shared_secret_len); in radius_client_send()
[all …]
Dradius_client.h27 u8 *shared_secret; member
88 const u8 *shared_secret, size_t shared_secret_len,
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/
Dchrome_ex_oauthsimple.js81 OAuthSimple = function (consumer_key,shared_secret) argument
94 if (shared_secret !== undefined) {
95 this._secrets['shared_secret'] = shared_secret;
208 if (this._secrets.shared_secret === undefined) {
442 var secretKey = this._oauthEscape(this._secrets.shared_secret)+'&'+
Dchrome_ex_oauth.js185 shared_secret : this.consumer_secret, property
216 shared_secret : this.consumer_secret, property
493 shared_secret : this.consumer_secret property
557 shared_secret : this.consumer_secret, property
/external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
Dchrome_ex_oauthsimple.js81 OAuthSimple = function (consumer_key,shared_secret) argument
94 if (shared_secret !== undefined) {
95 this._secrets['shared_secret'] = shared_secret;
208 if (this._secrets.shared_secret === undefined) {
442 var secretKey = this._oauthEscape(this._secrets.shared_secret)+'&'+
Dchrome_ex_oauth.js185 shared_secret : this.consumer_secret, property
216 shared_secret : this.consumer_secret, property
493 shared_secret : this.consumer_secret property
557 shared_secret : this.consumer_secret, property
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/
Dchrome_ex_oauthsimple.js81 OAuthSimple = function (consumer_key,shared_secret) argument
94 if (shared_secret !== undefined) {
95 this._secrets['shared_secret'] = shared_secret;
208 if (this._secrets.shared_secret === undefined) {
442 var secretKey = this._oauthEscape(this._secrets.shared_secret)+'&'+
Dchrome_ex_oauth.js185 shared_secret : this.consumer_secret, property
216 shared_secret : this.consumer_secret, property
493 shared_secret : this.consumer_secret property
557 shared_secret : this.consumer_secret, property
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Dikev2.c33 os_free(data->shared_secret); in ikev2_initiator_deinit()
624 &data->keys, 0, data->shared_secret, in ikev2_process_auth_secret()
1074 &data->keys, 1, data->shared_secret, in ikev2_build_auth()
1146 os_free(data->shared_secret); in ikev2_build_sa_auth()
1147 data->shared_secret = os_malloc(16); in ikev2_build_sa_auth()
1148 if (data->shared_secret == NULL) in ikev2_build_sa_auth()
1151 if (os_get_random(data->shared_secret, 16)) in ikev2_build_sa_auth()
1154 os_free(data->shared_secret); in ikev2_build_sa_auth()
1155 data->shared_secret = os_malloc(secret_len); in ikev2_build_sa_auth()
1156 if (data->shared_secret == NULL) in ikev2_build_sa_auth()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Dikev2.c28 os_free(data->shared_secret); in ikev2_initiator_deinit()
619 &data->keys, 0, data->shared_secret, in ikev2_process_auth_secret()
1069 &data->keys, 1, data->shared_secret, in ikev2_build_auth()
1141 os_free(data->shared_secret); in ikev2_build_sa_auth()
1142 data->shared_secret = os_malloc(16); in ikev2_build_sa_auth()
1143 if (data->shared_secret == NULL) in ikev2_build_sa_auth()
1146 if (random_get_bytes(data->shared_secret, 16)) in ikev2_build_sa_auth()
1149 os_free(data->shared_secret); in ikev2_build_sa_auth()
1150 data->shared_secret = os_malloc(secret_len); in ikev2_build_sa_auth()
1151 if (data->shared_secret == NULL) in ikev2_build_sa_auth()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/
Deapol_test.c454 os_free(e->radius_conf->auth_server->shared_secret); in test_eapol_clean()
620 const u8 *shared_secret, in ieee802_1x_get_keys() argument
625 keys = radius_msg_get_ms_keys(msg, req, shared_secret, in ieee802_1x_get_keys()
629 keys = radius_msg_get_cisco_keys(msg, req, shared_secret, in ieee802_1x_get_keys()
668 const u8 *shared_secret, size_t shared_secret_len, in ieee802_1x_receive_auth() argument
682 } else if (radius_msg_verify(msg, shared_secret, shared_secret_len, in ieee802_1x_receive_auth()
709 ieee802_1x_get_keys(e, msg, req, shared_secret, in ieee802_1x_receive_auth()
763 as->shared_secret = (u8 *) os_strdup(secret); in wpa_init_conf()
/external/wpa_supplicant_8/wpa_supplicant/
Deapol_test.c531 os_free(e->radius_conf->auth_server->shared_secret); in test_eapol_clean()
700 const u8 *shared_secret, in ieee802_1x_get_keys() argument
705 keys = radius_msg_get_ms_keys(msg, req, shared_secret, in ieee802_1x_get_keys()
709 keys = radius_msg_get_cisco_keys(msg, req, shared_secret, in ieee802_1x_get_keys()
748 const u8 *shared_secret, size_t shared_secret_len, in ieee802_1x_receive_auth() argument
763 } else if (radius_msg_verify(msg, shared_secret, shared_secret_len, in ieee802_1x_receive_auth()
786 ieee802_1x_get_keys(e, msg, req, shared_secret, in ieee802_1x_receive_auth()
840 as->shared_secret = (u8 *) os_strdup(secret); in wpa_init_conf()

12