]> git.codecow.com Git - Monocypher.git/commit
Adds high-level aliases to some low-level primitives
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 11 Jan 2018 16:55:37 +0000 (17:55 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 11 Jan 2018 17:11:51 +0000 (18:11 +0100)
commita53da7eecd02e01e6b2eb3d0d1112de4184abd1f
tree8eb9f0af15cb03c0c3a78d10d74c455674c3b30b
parentbe620b08c3b1d1a04dd3e950f539b7f6c86e36ec
Adds high-level aliases to some low-level primitives

Some low-level primitives are actually suitable as high-level functions.
However, using them as such makes naming inconsistent and confusing.
Proper aliases have been added to make user code more consistent.

Macros (#define) have been used instead of function pointers to avoid
various compilation problems.
src/monocypher.h
tests/test.c