Searched refs:shared_secret (Results 1 – 5 of 5) sorted by relevance
70 u64 *shared_secret = NULL; in ecdh_compute_value() local84 shared_secret = kmalloc(nbytes, GFP_KERNEL); in ecdh_compute_value()85 if (!shared_secret) in ecdh_compute_value()104 shared_secret); in ecdh_compute_value()106 buf = shared_secret; in ecdh_compute_value()127 kfree_sensitive(shared_secret); in ecdh_compute_value()
3754 void *shared_secret = NULL; in do_test_kpp() local3861 shared_secret = a_ss; in do_test_kpp()3863 shared_secret = (void *)vec->expected_ss; in do_test_kpp()3870 if (memcmp(shared_secret, sg_virt(req->dst), in do_test_kpp()
147 shared_secret, SHARED_SECRET_MAX)
5429 key_len = strlen(nc->shared_secret); in drbd_do_auth()5430 memcpy(secret, nc->shared_secret, key_len); in drbd_do_auth()
2640 ((char *)new_net_conf->shared_secret)[SHARED_SECRET_MAX-1] = 0; in drbd_adm_connect()