]> git.codecow.com Git - Monocypher.git/commit
Prefixed optional files with "monocypher-"
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 5 Dec 2019 21:07:26 +0000 (22:07 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 5 Dec 2019 21:12:49 +0000 (22:12 +0100)
commit5b2f55d4d8d894b771608a325f128ef3bd0a7461
tree3a93ae3ee1c6f5920f38485038cf0fdf0c24187d
parent063aa0e0f9ec61d94b7e111ca396e4467ed433e6
Prefixed optional files with "monocypher-"

Monocypher is a "single file" library, with optional files. As a single
file library, it is best to occupy the global namespace directly. It's
only one include, no need for a folder.

The optional file kinda throw things off. We could put it in a
sub-folder, but we probably want both header to be at the same
place. And we certainly don't want to put monocypher.h itself in
sub-folder.

The solution is to have those files, none in a sub folder.

    monocypher.h
    monocypher.c
    monocypher-ed25519.h  (optional)
    monocypher-ed25519.c  (optional)

Namespace pollution is limited to a prefix.  Should be reasonable both
for projects that import those files directly, or for packaging in a
Linux or BSD distribution.
README.md
makefile
src/optional/ed25519.c [deleted file]
src/optional/ed25519.h [deleted file]
tests/formal-analysis.sh
tests/speed/speed.c
tests/test.c