#define CRYPTO_H
#include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
#ifdef __cplusplus
extern "C" {
#define DIGEST_H
#include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
#ifdef __cplusplus
extern "C" {
#define ENCRYPT_H
#include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
#ifdef __cplusplus
extern "C" {
#define KEY_H
#include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
#ifdef __cplusplus
extern "C" {
#define SIGN_H
#include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
#ifdef __cplusplus
extern "C" {
#define SIMPLE_H
#include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
#ifdef __cplusplus
extern "C" {
*/
#include <stdio.h>
-#include <crypto/crypto.h>
-#include <crypto/digest.h>
-#include <crypto/simple.h>
+#include <owl/crypto.h>
+#include <owl/digest.h>
+#include <owl/simple.h>
#include "lorem.h"
#include "misc.h"
#include <stdio.h>
-#include <crypto/crypto.h>
-#include <crypto/encrypt.h>
-#include <crypto/simple.h>
-#include <crypto/key.h>
+#include <owl/crypto.h>
+#include <owl/encrypt.h>
+#include <owl/simple.h>
+#include <owl/key.h>
#include "lorem.h"
#include "misc.h"
#include <stdio.h>
-#include <crypto/crypto.h>
-#include <crypto/encrypt.h>
-#include <crypto/key.h>
-#include <crypto/types.h>
+#include <owl/crypto.h>
+#include <owl/encrypt.h>
+#include <owl/key.h>
+#include <owl/types.h>
#include "lorem.h"
#include "misc.h"
*/
#include <stdio.h>
-#include <crypto/crypto.h>
-#include <crypto/encrypt.h>
-#include <crypto/key.h>
-#include <crypto/types.h>
+#include <owl/crypto.h>
+#include <owl/encrypt.h>
+#include <owl/key.h>
+#include <owl/types.h>
void key_exchange_dh(void)
{
*/
#include <stdio.h>
-#include <crypto/crypto.h>
-#include <crypto/sign.h>
-#include <crypto/key.h>
+#include <owl/crypto.h>
+#include <owl/sign.h>
+#include <owl/key.h>
#include "misc.h"
size_t IDX = 0;
*/
#include <stdio.h>
-#include <crypto/crypto.h>
-#include <crypto/key.h>
-#include <crypto/types.h>
+#include <owl/crypto.h>
+#include <owl/key.h>
+#include <owl/types.h>
#include "misc.h"
/** Simple test for development of library (before API is ready) */
MESSAGE(STATUS "")
MESSAGE(STATUS "Generating makefile for the owl...")
-FILE(GLOB HEADERS ${API_FOLDER}/crypto/*.h)
+FILE(GLOB HEADERS ${API_FOLDER}/owl/*.h)
FILE(GLOB SRCS *.c *.h)
SET(_LIB_VERSION_ "${VERSION}")
#include <openssl/evp.h>
#include <openssl/rand.h>
-#include <crypto/crypto.h>
-#include <crypto/error.h>
+#include <owl/crypto.h>
+#include <owl/error.h>
#include "ctx_p.h"
#define CTX_P_H
#include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
enum owl_ctx_type_e
{
#include <openssl/evp.h>
#include <openssl/err.h>
-#include <crypto/crypto.h>
-#include <crypto/error.h>
-#include <crypto/types.h>
+#include <owl/crypto.h>
+#include <owl/error.h>
+#include <owl/types.h>
#include "ctx_p.h"
#include <openssl/crypto.h>
#include <openssl/rand.h>
-#include <crypto/crypto.h>
-#include <crypto/error.h>
+#include <owl/crypto.h>
+#include <owl/error.h>
API int owl_encrypt_init(owl_ctx_h *ctx,
owl_enc_algo_e algo,
#include <string.h>
#include <stdio.h>
-#include <crypto/crypto.h>
-#include <crypto/error.h>
-#include <crypto/key.h>
+#include <owl/crypto.h>
+#include <owl/error.h>
+#include <owl/key.h>
#include "key_p.h"
#define KEY_P_H
#include <stdlib.h>
-#include <crypto/types.h>
+#include <owl/types.h>
/**
* @file key_p.h
#include <openssl/crypto.h>
#include <openssl/rand.h>
-#include <crypto/crypto.h>
-#include <crypto/error.h>
+#include <owl/crypto.h>
+#include <owl/error.h>
API int owl_sign_init(owl_ctx_h *ctx,
owl_digest_algo_e algo,
#include <openssl/crypto.h>
#include <openssl/rand.h>
-#include <crypto/crypto.h>
-#include <crypto/error.h>
-#include <crypto/encrypt.h>
-#include <crypto/digest.h>
-#include <crypto/key.h>
+#include <owl/crypto.h>
+#include <owl/error.h>
+#include <owl/encrypt.h>
+#include <owl/digest.h>
+#include <owl/key.h>
API int owl_digest_calc(owl_digest_algo_e algo,
const char *data,