src,crypto: use ByteSource::ToBuffer() in crypto_dh
#40903
Merged
ByteSource::ToBuffer() in crypto_dh
#40903