Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unikraft/lib-libsodium
Unikraft port of libsodium, a crypto library
https://github.com/unikraft/lib-libsodium
crypto library sodium-library unikraft
Last synced: 13 days ago
JSON representation
Unikraft port of libsodium, a crypto library
- Host: GitHub
- URL: https://github.com/unikraft/lib-libsodium
- Owner: unikraft
- License: other
- Created: 2021-05-04T12:34:41.000Z (over 3 years ago)
- Default Branch: staging
- Last Pushed: 2024-06-03T23:26:12.000Z (8 months ago)
- Last Synced: 2024-06-04T01:47:37.635Z (8 months ago)
- Topics: crypto, library, sodium-library, unikraft
- Language: C
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 12
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: COPYING.md
Awesome Lists containing this project
README
# libsodium for Unikraft
This repository provides a port of [libsodium](https://libsodium.org) as an external library for [Unikraft](https://unikraft.org).
## Configuration
libsodium on Unikraft provides a minimal configuration of the sodium library, ie the
equivalent state of configuring libsodium using `configure --enable-minimal`.## Dependencies:
libsodium on Unikraft depends on the following Unikraft libraries:
* lib-newlib (external)
* ukrandom (internal)
* posix-event (internal)All dependencies are automatically enabled via KConfig.
In your application's Makefile sure you declare newlib before libsodium:
```
LIBS := $(UK_LIBS)/lib-newlib:$(UK_LIBS)/lib-libsodium
```## Testing:
To run the tests, select the `Enable libsodium tests` option in menuconfig. Alternatively you can
select the `Enable all tests across all libraries` option under the configuration of the `uktest`
library.**Notice:** Running the tests on the linuxu platform requires increasing the heap size to 16MiB.
## More info
For more information, see:
* https://libsodium.org
* https://unikraft.org