From: Andre Noll Date: Sat, 5 Mar 2011 20:53:54 +0000 (+0100) Subject: crypt: Move implementation-independent code to separate file. X-Git-Tag: v0.4.8~21^2~12 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;ds=sidebyside;h=6a7393e2abdcf30dd4201b84a417d08f6136e8d6;hp=6a7393e2abdcf30dd4201b84a417d08f6136e8d6;p=paraslash.git 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. ---