Gustavo Sverzut Barbieri
d8caade348
emile: API break, rename sha1 to hmac_sha1, introduce real sha1.
...
emile_binbuf_sha1() was actually doing HMAC version using the given
key. This doesn't work when all you need is just the SHA1 of the input
data.
Then rename emile_binbuf_sha1() to emile_binbuf_hmac_sha1() and
introduce a new version without key/keylen.
This API was marked as BETA and no real users in the codebase, then it
shouldn't cause us problems.
2016-08-30 00:35:17 -03:00
Vincent Torri
e86b314971
emile: fix emile_binbuf_sha1() signature when no cipher is used
2015-03-17 09:58:20 +01:00
Cedric BAIL
8f3ec959b9
emile: change the API to allow supporting other cipher in the future.
2015-03-17 09:58:19 +01:00
Cedric BAIL
8fd9770d95
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).
2015-03-17 09:58:19 +01:00
Cedric BAIL
a089d8cd7b
emile: Add SSL support.
2015-03-17 09:58:18 +01:00
Cedric BAIL
e649992bff
emile: make the initialization part of backend cipher file to.
2015-03-17 09:58:18 +01:00
Cedric BAIL
10184ca860
emile: split OpenSSL, GNUTLS and no cipher into separate file as a first step toward module.
2015-03-17 09:58:18 +01:00
Cedric BAIL
32c5f691c8
emile: make cipher initialization optional.
2015-03-17 09:58:17 +01:00
Cedric BAIL
2e34d835d6
emile: expose cipher/uncipher block logic.
2015-03-17 09:58:17 +01:00