Searched refs:shared_key (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/crypto/openssh/ |
| H A D | kexc25519.c | 62 u_char shared_key[CURVE25519_SIZE]; in kexc25519_shared_key_ext() local 66 crypto_scalarmult_curve25519(shared_key, key, pub); in kexc25519_shared_key_ext() 70 if (timingsafe_bcmp(zero, shared_key, CURVE25519_SIZE) == 0) in kexc25519_shared_key_ext() 74 dump_digest("shared secret", shared_key, CURVE25519_SIZE); in kexc25519_shared_key_ext() 77 r = sshbuf_put(out, shared_key, CURVE25519_SIZE); in kexc25519_shared_key_ext() 79 r = sshbuf_put_bignum2_bytes(out, shared_key, CURVE25519_SIZE); in kexc25519_shared_key_ext() 80 explicit_bzero(shared_key, CURVE25519_SIZE); in kexc25519_shared_key_ext()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | sctp_usrreq.c | 4271 sctp_sharedkey_t *shared_key; local 4306 shared_key = sctp_alloc_sharedkey(); 4307 if (shared_key == NULL) { 4314 shared_key->key = key; 4315 shared_key->keyid = sca->sca_keynumber; 4344 shared_key = sctp_alloc_sharedkey(); 4345 if (shared_key == NULL) { 4352 shared_key->key = key; 4380 shared_key = sctp_alloc_sharedkey(); 4381 if (shared_key == NULL) { [all …]
|
| H A D | sctp_pcb.c | 3199 sctp_sharedkey_t *shared_key, *nshared_key; in sctp_inpcb_free() local 3517 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) { in sctp_inpcb_free() 3518 LIST_REMOVE(shared_key, next); in sctp_inpcb_free() 3519 sctp_free_sharedkey(shared_key); in sctp_inpcb_free() 4565 sctp_sharedkey_t *shared_key, *nshared_key; in sctp_free_assoc() local 5009 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) { in sctp_free_assoc() 5010 LIST_REMOVE(shared_key, next); in sctp_free_assoc() 5011 sctp_free_sharedkey(shared_key); in sctp_free_assoc()
|