]> git.tuebingen.mpg.de Git - paraslash.git/commit
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)
commit6a7393e2abdcf30dd4201b84a417d08f6136e8d6
tree369a619883cb926a1b3b3d32395c96f2dbe33763
parent74f1e057c1579d880becb6a32acd43641b1a8c2b
crypt: Move implementation-independent code to separate file.

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.
configure.ac
crypt.c
crypt.h
crypt_backend.h [new file with mode: 0644]
crypt_common.c [new file with mode: 0644]
error.h