Searched refs:secretlen (Results 1 – 1 of 1) sorted by relevance
233 int secretlen; in __keyctl_dh_compute() local305 secretlen = crypto_dh_key_len(&dh_inputs); in __keyctl_dh_compute()306 secret = kmalloc(secretlen, GFP_KERNEL); in __keyctl_dh_compute()311 ret = crypto_dh_encode_key(secret, secretlen, &dh_inputs); in __keyctl_dh_compute()321 ret = crypto_kpp_set_secret(tfm, secret, secretlen); in __keyctl_dh_compute()