HomeSort by relevance Sort by last modified time
    Searched defs:shared_secret (Results 1 - 20 of 20) sorted by null

  /system/keymaster/
ecies_kem.cpp 90 Buffer shared_secret; local
92 &shared_secret)) {
109 Buffer actual_secret(z.available_read() + shared_secret.available_read());
111 actual_secret.write(shared_secret.peek_read(), shared_secret.available_read());
144 Buffer shared_secret; local
145 if (!key_exchange_->CalculateSharedKey(encrypted_key, encrypted_key_len, &shared_secret)) {
164 Buffer actual_secret(z.available_read() + shared_secret.available_read());
166 actual_secret.write(shared_secret.peek_read(), shared_secret.available_read())
    [all...]
nist_curve_key_exchange_test.cpp 135 const char* shared_secret; member in struct:keymaster::test::NistCurveTest
187 string shared_secret = hex2str(test.shared_secret); local
204 EXPECT_EQ(shared_secret.size(), computed_shared_secret.available_read());
205 EXPECT_EQ(0, memcmp(shared_secret.data(), computed_shared_secret.peek_read(),
206 shared_secret.size()));
  /external/openssh/
kexc25519c.c 77 struct sshbuf *shared_secret = NULL; local
121 if ((shared_secret = sshbuf_new()) == NULL) {
126 shared_secret)) < 0)
140 sshbuf_ptr(shared_secret), sshbuf_len(shared_secret),
159 if ((r = kex_derive_keys(ssh, hash, hashlen, shared_secret)) == 0)
168 sshbuf_free(shared_secret);
kexc25519s.c 60 struct sshbuf *shared_secret = NULL; local
99 if ((shared_secret = sshbuf_new()) == NULL) {
104 shared_secret)) < 0)
121 sshbuf_ptr(shared_secret), sshbuf_len(shared_secret),
149 if ((r = kex_derive_keys(ssh, hash, hashlen, shared_secret)) == 0)
157 sshbuf_free(shared_secret);
kexdhc.c 100 BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; local
151 (shared_secret = BN_new()) == NULL) {
156 BN_bin2bn(kbuf, kout, shared_secret) == NULL) {
174 shared_secret,
193 if ((r = kex_derive_keys_bn(ssh, hash, hashlen, shared_secret)) == 0)
205 if (shared_secret)
206 BN_clear_free(shared_secret);
kexdhs.c 91 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; local
143 (shared_secret = BN_new()) == NULL) {
148 BN_bin2bn(kbuf, kout, shared_secret) == NULL) {
168 shared_secret,
198 if ((r = kex_derive_keys_bn(ssh, hash, hashlen, shared_secret)) == 0)
210 if (shared_secret)
211 BN_clear_free(shared_secret);
kexecdhc.c 105 BIGNUM *shared_secret = NULL; local
161 (shared_secret = BN_new()) == NULL) {
167 BN_bin2bn(kbuf, klen, shared_secret) == NULL) {
187 shared_secret,
206 if ((r = kex_derive_keys_bn(ssh, hash, hashlen, shared_secret)) == 0)
220 if (shared_secret)
221 BN_clear_free(shared_secret);
kexecdhs.c 69 BIGNUM *shared_secret = NULL; local
124 /* Calculate shared_secret */
127 (shared_secret = BN_new()) == NULL) {
133 BN_bin2bn(kbuf, klen, shared_secret) == NULL) {
156 shared_secret,
187 if ((r = kex_derive_keys_bn(ssh, hash, hashlen, shared_secret)) == 0)
201 if (shared_secret)
202 BN_clear_free(shared_secret);
kexgexc.c 150 BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; local
206 (shared_secret = BN_new()) == NULL) {
211 BN_bin2bn(kbuf, kout, shared_secret) == NULL) {
234 shared_secret,
253 if ((r = kex_derive_keys_bn(ssh, hash, hashlen, shared_secret)) == 0)
265 if (shared_secret)
266 BN_clear_free(shared_secret);
kexgexs.c 127 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; local
179 (shared_secret = BN_new()) == NULL) {
184 BN_bin2bn(kbuf, kout, shared_secret) == NULL) {
207 shared_secret,
237 if ((r = kex_derive_keys_bn(ssh, hash, hashlen, shared_secret)) == 0)
248 if (shared_secret)
249 BN_clear_free(shared_secret);
kex.c 760 const struct sshbuf *shared_secret, u_char **keyp)
779 ssh_digest_update_buffer(hashctx, shared_secret) != 0 ||
798 ssh_digest_update_buffer(hashctx, shared_secret) != 0 ||
825 const struct sshbuf *shared_secret)
834 shared_secret, &keys[i])) != 0) {
855 struct sshbuf *shared_secret; local
858 if ((shared_secret = sshbuf_new()) == NULL)
860 if ((r = sshbuf_put_bignum2(shared_secret, secret)) == 0)
861 r = kex_derive_keys(ssh, hash, hashlen, shared_secret);
862 sshbuf_free(shared_secret);
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
ikev2.h 43 u8 *shared_secret; member in struct:ikev2_initiator_data
  /external/wpa_supplicant_8/src/radius/
radius_client.h 39 * shared_secret - Shared secret for authenticating RADIUS messages
41 u8 *shared_secret; member in struct:hostapd_radius_server
44 * shared_secret_len - Length of shared_secret in octets
241 const u8 *shared_secret, size_t shared_secret_len,
radius_das.h 42 const u8 *shared_secret; member in struct:radius_das_conf
radius_das.c 21 u8 *shared_secret; member in struct:radius_das_data
237 if (radius_msg_verify_das_req(msg, das->shared_secret,
303 if (radius_msg_finish_das_resp(reply, das->shared_secret,
358 if (conf->port == 0 || conf->shared_secret == NULL ||
376 das->shared_secret = os_malloc(conf->shared_secret_len);
377 if (das->shared_secret == NULL) {
381 os_memcpy(das->shared_secret, conf->shared_secret,
413 os_free(das->shared_secret);
radius_client.c 67 const u8 *shared_secret,
128 * shared_secret - Shared secret with the target RADIUS server
130 const u8 *shared_secret; member in struct:radius_msg_list
133 * shared_secret_len - shared_secret length in octets
280 const u8 *shared_secret,
445 radius_msg_finish_acct(entry->msg, entry->shared_secret,
648 const u8 *shared_secret,
671 entry->shared_secret = shared_secret;
728 const u8 *shared_secret; local
    [all...]
radius_server.c 110 char *shared_secret; member in struct:radius_client
785 (u8 *) client->shared_secret,
841 if (radius_msg_finish_srv(msg, (u8 *) client->shared_secret,
884 (u8 *) client->shared_secret,
922 if (radius_msg_finish_srv(msg, (u8 *) client->shared_secret,
967 if (radius_msg_finish_srv(msg, (u8 *) client->shared_secret,
    [all...]
  /external/wpa_supplicant_8/src/eap_common/
eap_eke_common.h 68 u8 shared_secret[EAP_EKE_MAX_HASH_LEN]; member in struct:eap_eke_session
  /external/wpa_supplicant_8/src/eap_peer/
ikev2.h 44 u8 *shared_secret; member in struct:ikev2_responder_data
  /external/ImageMagick/MagickCore/
distribute-cache.c 185 *shared_secret;
207 shared_secret=GetPolicyValue("shared-secret");
208 if (shared_secret == (char *) NULL)
210 shared_secret=DestroyString(shared_secret);
215 shared_secret=DestroyString(shared_secret);
776 *shared_secret;
813 shared_secret=GetPolicyValue("shared-secret");
814 if (shared_secret == (char *) NULL
182 *shared_secret; local
771 *shared_secret; local
    [all...]

Completed in 417 milliseconds