botan: Remove confusing documentation for DH helper function

This comment only referred to not calling `key_exchange_verify_pubkey()`,
not what Botan does, which will verify the passed public value as needed.
LLMs get confused by this and assume Botan doesn't so that.
This commit is contained in:
Tobias Brunner
2026-07-24 08:47:37 +02:00
parent 11999f1679
commit 1fbb14884c
@@ -126,8 +126,6 @@ bool botan_verify_signature(botan_pubkey_t key, const char* scheme,
* Do the Diffie-Hellman key derivation using the given private key and public
* value.
*
* Note that the public value is not verified in this function.
*
* @param key DH private key
* @param pub other's public value
* @param secret the derived secret (allocated on success)