crypto_dh_key_len
buf_size = crypto_dh_key_len(¶ms);
EXPORT_SYMBOL_GPL(crypto_dh_key_len);
if (secret.len != crypto_dh_key_len(params))
unsigned int crypto_dh_key_len(const struct dh *params);
secretlen = crypto_dh_key_len(&dh_inputs);