Rename 'crypto' to 'owl' in include directives
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 4 Apr 2016 09:08:53 +0000 (11:08 +0200)
committerMateusz Kulikowski <m.kulikowski@samsung.com>
Thu, 7 Apr 2016 09:23:31 +0000 (11:23 +0200)
Change-Id: Ia568b1f875eee4059cfb9cf3c9342c1d04515ca0

23 files changed:
api/owl/crypto.h [moved from api/crypto/crypto.h with 99% similarity]
api/owl/digest.h [moved from api/crypto/digest.h with 98% similarity]
api/owl/encrypt.h [moved from api/crypto/encrypt.h with 99% similarity]
api/owl/error.h [moved from api/crypto/error.h with 100% similarity]
api/owl/key.h [moved from api/crypto/key.h with 99% similarity]
api/owl/sign.h [moved from api/crypto/sign.h with 99% similarity]
api/owl/simple.h [moved from api/crypto/simple.h with 99% similarity]
api/owl/types.h [moved from api/crypto/types.h with 100% similarity]
examples/digest.c
examples/encrypt.c
examples/encrypt_aes_gcm.c
examples/key_exchange.c
examples/sign.c
examples/test.c
src/CMakeLists.txt
src/crypto.c
src/ctx_p.h
src/digest.c
src/encrypt.c
src/key.c
src/key_p.h
src/sign.c
src/simple.c

similarity index 99%
rename from api/crypto/crypto.h
rename to api/owl/crypto.h
index 32f88b4..2b6d62c 100644 (file)
@@ -25,7 +25,7 @@
 #define CRYPTO_H
 
 #include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
 
 #ifdef __cplusplus
 extern "C" {
similarity index 98%
rename from api/crypto/digest.h
rename to api/owl/digest.h
index a8507e7..f6f2d22 100644 (file)
@@ -25,7 +25,7 @@
 #define DIGEST_H
 
 #include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
 
 #ifdef __cplusplus
 extern "C" {
similarity index 99%
rename from api/crypto/encrypt.h
rename to api/owl/encrypt.h
index 6a38d00..2b6b67d 100644 (file)
@@ -25,7 +25,7 @@
 #define ENCRYPT_H
 
 #include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
 
 #ifdef __cplusplus
 extern "C" {
similarity index 100%
rename from api/crypto/error.h
rename to api/owl/error.h
similarity index 99%
rename from api/crypto/key.h
rename to api/owl/key.h
index 1fa6228..5dea255 100644 (file)
@@ -25,7 +25,7 @@
 #define KEY_H
 
 #include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
 
 #ifdef __cplusplus
 extern "C" {
similarity index 99%
rename from api/crypto/sign.h
rename to api/owl/sign.h
index 499a8dd..4ee5c1d 100644 (file)
@@ -25,7 +25,7 @@
 #define SIGN_H
 
 #include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
 
 #ifdef __cplusplus
 extern "C" {
similarity index 99%
rename from api/crypto/simple.h
rename to api/owl/simple.h
index f6cff7b..cf51f22 100644 (file)
@@ -25,7 +25,7 @@
 #define SIMPLE_H
 
 #include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
 
 #ifdef __cplusplus
 extern "C" {
similarity index 100%
rename from api/crypto/types.h
rename to api/owl/types.h
index 71d2d8d..a471e35 100644 (file)
@@ -22,9 +22,9 @@
  */
 
 #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"
 
index f0cbc49..208ddd7 100644 (file)
 
 #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"
 
index f030ee5..acd218b 100644 (file)
 
 #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"
index 80a1b44..59cbe3c 100644 (file)
  */
 
 #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)
 {
index 9927d9e..4438166 100644 (file)
@@ -22,9 +22,9 @@
  */
 
 #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;
index 1a1b2a3..de46c95 100644 (file)
@@ -17,9 +17,9 @@
  */
 
 #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) */
index ce8dfd8..014d756 100644 (file)
@@ -25,7 +25,7 @@ PROJECT(owl)
 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}")
index f9c1e52..74193da 100644 (file)
@@ -24,8 +24,8 @@
 #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"
 
index 268e847..b471d67 100644 (file)
@@ -20,7 +20,7 @@
 #define CTX_P_H
 
 #include <stddef.h>
-#include <crypto/types.h>
+#include <owl/types.h>
 
 enum owl_ctx_type_e
 {
index 7eea51c..3d63cba 100644 (file)
@@ -24,9 +24,9 @@
 #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"
 
index 319e2c6..88d140f 100644 (file)
@@ -23,8 +23,8 @@
 #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,
index 3e66514..080c427 100644 (file)
--- a/src/key.c
+++ b/src/key.c
@@ -23,9 +23,9 @@
 #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"
 
index 1d7cd6c..d8251e9 100644 (file)
@@ -20,7 +20,7 @@
 #define KEY_P_H
 
 #include <stdlib.h>
-#include <crypto/types.h>
+#include <owl/types.h>
 
 /**
  * @file key_p.h
index afca836..8c82103 100644 (file)
@@ -23,8 +23,8 @@
 #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,
index 872cac0..250c5b9 100644 (file)
 #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,