1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Files
libssh2/docs
Viktor Szakats 409cbad69b crypto: unify hash context types into one
Prior to this patch all per-hash context types in all crypto backends
mapped to the same type per backend. Simplify by replacing per-hash type
with a single type. Aligning this with the hash primitives that were
previously unified everywhere.

If there ever arises a need to support a new crypto backend that only
supports separate types, it can be done by adding a holder type with
unions for example. The general direction of crypto backends though is
to unify hash functions. All currently supported backends do.

Also: scope variables in `KEX_METHOD_SHA_VALUE_HASH()`, fix `{}` nit.

Closes #2163
2026-07-01 15:20:43 +02:00
..
2026-05-13 01:10:01 +02:00
2026-04-23 20:14:50 +02:00
2026-04-23 20:14:50 +02:00
2026-06-16 03:47:52 +02:00
2026-06-16 03:47:52 +02:00
2026-06-05 18:12:37 +02:00
2026-06-05 18:12:37 +02:00
2026-06-05 18:12:37 +02:00
2026-06-11 14:49:52 +02:00