Searched refs:shared_secret (Results 1 – 5 of 5) sorted by relevance
74 u64 *shared_secret = NULL; in ecdh_compute_value() local88 shared_secret = kmalloc(nbytes, GFP_KERNEL); in ecdh_compute_value()89 if (!shared_secret) in ecdh_compute_value()108 shared_secret); in ecdh_compute_value()110 buf = shared_secret; in ecdh_compute_value()131 kzfree(shared_secret); in ecdh_compute_value()
2057 void *shared_secret = NULL; in do_test_kpp() local2167 shared_secret = a_ss; in do_test_kpp()2169 shared_secret = (void *)vec->expected_ss; in do_test_kpp()2176 if (memcmp(shared_secret, sg_virt(req->dst), in do_test_kpp()
147 shared_secret, SHARED_SECRET_MAX)
5251 key_len = strlen(nc->shared_secret); in drbd_do_auth()5252 memcpy(secret, nc->shared_secret, key_len); in drbd_do_auth()
2602 ((char *)new_net_conf->shared_secret)[SHARED_SECRET_MAX-1] = 0; in drbd_adm_connect()