Debian Codegraph @

src/xeddsa.c

raw symbols SCIP
1 #include <xeddsa.h>
2
3 #include <sodium.h>
4
5 /**
6 * Initializes the library and its dependencies. Has to be called at least once before using and of the other
7 * functions. Can be called multiple times, even from different threads.
8 *
9 * @return 0 if the library was initialized, 1 if the library was already initialized and -1 in case of an
10 * error.
11 */
12 int xeddsa_init() {
13 return sodium_init();
14 }