Searched refs:shared_key (Results 1 – 7 of 7) sorted by relevance
| /trueos/crypto/openssh/ |
| HD | kexc25519.c | 65 u_char shared_key[CURVE25519_SIZE]; in kexc25519_shared_key() local 67 crypto_scalarmult_curve25519(shared_key, key, pub); in kexc25519_shared_key() 69 dump_digest("shared secret", shared_key, CURVE25519_SIZE); in kexc25519_shared_key() 72 buffer_put_bignum2_from_string(out, shared_key, CURVE25519_SIZE); in kexc25519_shared_key() 73 explicit_bzero(shared_key, CURVE25519_SIZE); in kexc25519_shared_key()
|
| /trueos/crypto/openssl/engines/ccgost/ |
| HD | gost94_keyx.c | 51 unsigned char *shared_key) in make_cp_exchange_key() argument 73 finish_hash(&hash_ctx, shared_key); in make_cp_exchange_key() 101 unsigned char shared_key[32], ukm[8], crypted_key[44]; in pkey_GOST94cp_encrypt() local 137 make_cp_exchange_key(gost_get0_priv_key(mykey), pubk, shared_key); in pkey_GOST94cp_encrypt() 150 keyWrapCryptoPro(&cctx, shared_key, ukm, key, crypted_key); in pkey_GOST94cp_encrypt()
|
| HD | gost2001_keyx.c | 22 static int VKO_compute_key(unsigned char *shared_key, size_t shared_key_size, in VKO_compute_key() argument 60 finish_hash(&hash_ctx, shared_key); in VKO_compute_key() 123 unsigned char ukm[8], shared_key[32], crypted_key[44]; in pkey_GOST01cp_encrypt() local 162 VKO_compute_key(shared_key, 32, in pkey_GOST01cp_encrypt() 166 keyWrapCryptoPro(&cctx, shared_key, ukm, key, crypted_key); in pkey_GOST01cp_encrypt()
|
| /trueos/lib/libnotify/ |
| HD | table.c | 122 _nc_table_find_get_key(table_t *tin, const char *key, const char **shared_key) in _nc_table_find_get_key() argument 131 if (shared_key != NULL) *shared_key = NULL; in _nc_table_find_get_key() 140 if (shared_key != NULL) *shared_key = n->key.const_string; in _nc_table_find_get_key()
|
| HD | table.h | 41 extern void *_nc_table_find_get_key(table_t *tin, const char *key, const char **shared_key);
|
| /trueos/sys/netinet/ |
| HD | sctp_usrreq.c | 4263 sctp_sharedkey_t *shared_key; local 4298 shared_key = sctp_alloc_sharedkey(); 4299 if (shared_key == NULL) { 4306 shared_key->key = key; 4307 shared_key->keyid = sca->sca_keynumber; 4308 error = sctp_insert_sharedkey(shared_keys, shared_key); 4335 shared_key = sctp_alloc_sharedkey(); 4336 if (shared_key == NULL) { 4343 shared_key->key = key; 4344 shared_key->keyid = sca->sca_keynumber; [all …]
|
| HD | sctp_pcb.c | 3309 sctp_sharedkey_t *shared_key, *nshared_key; in sctp_inpcb_free() local 3672 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) { in sctp_inpcb_free() 3673 LIST_REMOVE(shared_key, next); in sctp_inpcb_free() 3674 sctp_free_sharedkey(shared_key); in sctp_inpcb_free() 4650 sctp_sharedkey_t *shared_key, *nshared_key; in sctp_free_assoc() local 5170 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) { in sctp_free_assoc() 5171 LIST_REMOVE(shared_key, next); in sctp_free_assoc() 5172 sctp_free_sharedkey(shared_key); in sctp_free_assoc()
|