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

/freebsd-10.1-release/crypto/openssh/
H A Dkexc25519.c65 u_char shared_key[CURVE25519_SIZE]; local
67 crypto_scalarmult_curve25519(shared_key, key, pub);
69 dump_digest("shared secret", shared_key, CURVE25519_SIZE);
72 buffer_put_bignum2_from_string(out, shared_key, CURVE25519_SIZE);
73 explicit_bzero(shared_key, CURVE25519_SIZE);
/freebsd-10.1-release/crypto/openssl/engines/ccgost/
H A Dgost2001_keyx.c22 static int VKO_compute_key(unsigned char *shared_key, size_t shared_key_size, argument
60 finish_hash(&hash_ctx, shared_key);
123 unsigned char ukm[8], shared_key[32], crypted_key[44]; local
162 VKO_compute_key(shared_key, 32,
166 keyWrapCryptoPro(&cctx, shared_key, ukm, key, crypted_key);
H A Dgost94_keyx.c51 unsigned char *shared_key)
73 finish_hash(&hash_ctx, shared_key);
101 unsigned char shared_key[32], ukm[8], crypted_key[44]; local
137 make_cp_exchange_key(gost_get0_priv_key(mykey), pubk, shared_key); local
150 keyWrapCryptoPro(&cctx, shared_key, ukm, key, crypted_key);
50 make_cp_exchange_key(BIGNUM *priv_key, EVP_PKEY *pubk, unsigned char *shared_key) argument
/freebsd-10.1-release/sys/netinet/
H A Dsctp_usrreq.c4084 sctp_sharedkey_t *shared_key; local
4119 shared_key = sctp_alloc_sharedkey();
4120 if (shared_key == NULL) {
4127 shared_key->key = key;
4128 shared_key->keyid = sca->sca_keynumber;
4129 error = sctp_insert_sharedkey(shared_keys, shared_key);
4156 shared_key = sctp_alloc_sharedkey();
4157 if (shared_key == NULL) {
4164 shared_key->key = key;
4165 shared_key
[all...]
H A Dsctp_pcb.c3314 sctp_sharedkey_t *shared_key, *nshared_key; local
3676 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) {
3677 LIST_REMOVE(shared_key, next);
3678 sctp_free_sharedkey(shared_key);
4660 sctp_sharedkey_t *shared_key, *nshared_key; local
5180 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) {
5181 LIST_REMOVE(shared_key, next);
5182 sctp_free_sharedkey(shared_key);

Completed in 82 milliseconds