]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
crypt: Move implementation-independent code to separate file.
authorAndre Noll <maan@systemlinux.org>
Sat, 5 Mar 2011 20:53:54 +0000 (21:53 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 6 Jul 2011 06:41:25 +0000 (08:41 +0200)
This introduces crypt_common.c which contains helper functions from
crypt.c which are independent of openssl.

crypt.common.c contains two types of public functions: Frontend
functions are called by users of the crypto API, and these functions
are exported as usual through the crypt.h header file. Backend
functions, on the other hand, are expected to be called only from
the crypto implementation (i.e. from crypt.c or gcrypt.c). These
functions are exported through the new crypt_backend.h header file.


No differences found