Skip to content

crypto: drop intermediate macros where possible - #1971

Closed
vszakats wants to merge 60 commits into
libssh2:masterfrom
vszakats:drop-macro-redirects
Closed

vszakats wants to merge 60 commits into
libssh2:masterfrom
vszakats:drop-macro-redirects

Conversation

@vszakats

@vszakats vszakats commented Jun 4, 2026 •

Copy link
Copy Markdown
Member

For fewer crypto-namespaced private functions in favor or plain ssh2_*
ones, and to reduce macro mappings.

Also:


https://github.com/libssh2/libssh2/pull/1971/files?w=1

  • next PR: maybe sync context variables names in low-level
    crypto functions between prototype/definitions/macros, also
    across crypto backends. (to reducing inconsistencies)
    ah, clang-tidy caught some of them in CI.

vszakats added 30 commits June 4, 2026 17:12
This confuses me: EDCDA maps to a function named ECDH, which
actually uses ECDH.

Ref: 3e72343 libssh2#1315
@vszakats
vszakats marked this pull request as draft June 4, 2026 17:35
@vszakats
vszakats marked this pull request as ready for review June 4, 2026 17:55
@vszakats vszakats closed this in c75c7a8 Jun 4, 2026
@vszakats
vszakats deleted the drop-macro-redirects branch June 4, 2026 18:37
vszakats added a commit that referenced this pull request Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant