botan: Simplify DH/ECDH key derivation