|
|
|
|
|
by loup-vaillant
2934 days ago
|
|
I'm happy to say my crypto library¹ satisfies most of his criteria: It has 50 functions. That's too much, but it could be reduced to 10 if the user stick to the highest level facilities. There is no dynamic memory allocation, and no I/O (actually, it doesn't even depend on libc). The structures are defined in the header to allow the user to allocate them on the stack, but looking inside is unneeded and discouraged. [1]: https://monocypher.org |
|