Searched refs:shared_key (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/crypto/openssh/
H A Dkexc25519.c66 u_char shared_key[CURVE25519_SIZE]; local
70 explicit_bzero(shared_key, CURVE25519_SIZE);
71 if (timingsafe_bcmp(pub, shared_key, CURVE25519_SIZE) == 0)
74 crypto_scalarmult_curve25519(shared_key, key, pub);
76 dump_digest("shared secret", shared_key, CURVE25519_SIZE);
79 r = sshbuf_put_bignum2_bytes(out, shared_key, CURVE25519_SIZE);
80 explicit_bzero(shared_key, CURVE25519_SIZE);
/freebsd-13-stable/sys/netinet/
H A Dsctp_usrreq.c4275 sctp_sharedkey_t *shared_key; local
4310 shared_key = sctp_alloc_sharedkey();
4311 if (shared_key == NULL) {
4318 shared_key->key = key;
4319 shared_key->keyid = sca->sca_keynumber;
4320 error = sctp_insert_sharedkey(shared_keys, shared_key);
4348 shared_key = sctp_alloc_sharedkey();
4349 if (shared_key == NULL) {
4356 shared_key->key = key;
4357 shared_key
[all...]
H A Dsctp_pcb.c3312 sctp_sharedkey_t *shared_key, *nshared_key; local
3637 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) {
3638 LIST_REMOVE(shared_key, next);
3639 sctp_free_sharedkey(shared_key);
4683 sctp_sharedkey_t *shared_key, *nshared_key; local
5143 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) {
5144 LIST_REMOVE(shared_key, next);
5145 sctp_free_sharedkey(shared_key);

Completed in 113 milliseconds