summaryrefslogtreecommitdiff
path: root/src/lib/emile/emile_private.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-03-17 08:50:34 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 09:58:19 +0100
commit8fd9770d95c32bad17af1963b9e1919888a5ab88 (patch)
tree1debf83abb96747aac7dc545434f729660ea645c /src/lib/emile/emile_private.h
parentd4d22ca5ea1cb37a02a74ec6daaaa2c4f52774d6 (diff)
emile: reduce code duplication between gnutls and openssl backend.
Add a visible emile_binbuf_sha1 implementation and deduplicate emile_pbkdf2_sha1 (but does not explicitely expose it).
Diffstat (limited to '')
-rw-r--r--src/lib/emile/emile_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/emile/emile_private.h b/src/lib/emile/emile_private.h
index f6a005d44a..cba9022394 100644
--- a/src/lib/emile/emile_private.h
+++ b/src/lib/emile/emile_private.h
@@ -34,4 +34,13 @@ typedef enum
34 34
35Eina_Bool _emile_cipher_init(void); 35Eina_Bool _emile_cipher_init(void);
36 36
37Eina_Bool
38emile_pbkdf2_sha1(const char *key,
39 unsigned int key_len,
40 const unsigned char *salt,
41 unsigned int salt_len,
42 unsigned int iter,
43 unsigned char *res,
44 unsigned int res_len);
45
37#endif /* EMILE_PRIVATE_H_ */ 46#endif /* EMILE_PRIVATE_H_ */