1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Files
libssh2/docs
Viktor Szakats e4f8d1fbdc src: rename and tidy up digest length macros
To allow definining them globally, and avoid reusing macros names
originally defined by OpenSSL.

- rename `<name>_DIGEST_LENGTH` to `SSH2_<name>_DIG_LEN`.
  To move to the libssh2 namespace.
- rename `SSH2_SHA_DIG_LEN` to `SSH2_SHA1_DIG_LEN`,
  and drop no longer necessary local trick from kex.c.
- deduplicate definitions into `crypto.h`.
- add `SSH2_RIPEMD160_DIG_LEN` and use it.
- mac: replace magic numbers with these macros, where missing.

Closes #2131
2026-06-29 19:58:17 +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