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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user