Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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