Searched refs:shared_key (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/crypto/openssh/ |
| H A D | kexc25519.c | 66 u_char shared_key[CURVE25519_SIZE]; in kexc25519_shared_key() local 70 explicit_bzero(shared_key, CURVE25519_SIZE); in kexc25519_shared_key() 71 if (timingsafe_bcmp(pub, shared_key, CURVE25519_SIZE) == 0) in kexc25519_shared_key() 74 crypto_scalarmult_curve25519(shared_key, key, pub); in kexc25519_shared_key() 76 dump_digest("shared secret", shared_key, CURVE25519_SIZE); in kexc25519_shared_key() 79 r = sshbuf_put_bignum2_bytes(out, shared_key, CURVE25519_SIZE); in kexc25519_shared_key() 80 explicit_bzero(shared_key, CURVE25519_SIZE); in kexc25519_shared_key()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | sctp_usrreq.c | 4268 sctp_sharedkey_t *shared_key; local 4303 shared_key = sctp_alloc_sharedkey(); 4304 if (shared_key == NULL) { 4311 shared_key->key = key; 4312 shared_key->keyid = sca->sca_keynumber; 4340 shared_key = sctp_alloc_sharedkey(); 4341 if (shared_key == NULL) { 4348 shared_key->key = key; 4375 shared_key = sctp_alloc_sharedkey(); 4376 if (shared_key == NULL) { [all …]
|
| H A D | sctp_pcb.c | 3314 sctp_sharedkey_t *shared_key, *nshared_key; in sctp_inpcb_free() local 3660 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) { in sctp_inpcb_free() 3661 LIST_REMOVE(shared_key, next); in sctp_inpcb_free() 3662 sctp_free_sharedkey(shared_key); in sctp_inpcb_free() 4714 sctp_sharedkey_t *shared_key, *nshared_key; in sctp_free_assoc() local 5215 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) { in sctp_free_assoc() 5216 LIST_REMOVE(shared_key, next); in sctp_free_assoc() 5217 sctp_free_sharedkey(shared_key); in sctp_free_assoc()
|