summaryrefslogtreecommitdiffstats
path: root/src/util/crypto/libcrypto/crypto_sha512crypt.c
Commit message (Collapse)AuthorAgeFilesLines
* CRYPTO: Use unprefixed version of function stpncpyLukas Slebodnik2014-05-181-2/+2
| | | | | | | | | | | | | | | | glibc contains two versions of finction stpncpy sh-4.2$ nm --dynamic --defined-only /lib64/libc.so.6 | grep stpncpy 0000003ce1c89b00 i stpncpy 0000003ce1c89b00 i __stpncpy 0000003ce1d040a0 T __stpncpy_chk We should use more portable version of stpncpy without prefix with underscores. The function __stpncpy was used in initial veersion e65c65fc710fa030bfb8319efc43fcdc9ce5a26f, which was based on http://people.redhat.com/drepper/SHA-crypt.txt Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
* UTIL: Create new wraper header file sss_endian.hLukas Slebodnik2013-08-281-1/+1
| | | | | | Some platform have header file endian.h and anothers have sys/endian.h. We nedd to use conditional build to handle it correctly, therefore new header file sss_endian.h was created.
* libcrypto fully implementedGeorge McCollister2012-06-261-1/+2
| | | | | | | | | | | | | | | | Implemented working versions of the following functions for libcrypto: sss_base64_encode sss_base64_decode sss_hmac_sha1 sss_password_encrypt sss_password_decrypt test_encrypt_decrypt now expects EOK from libcrypto. test_hmac_sha1 now expects EOK from libcrypto. Added test_base64_encode to test base64 encoding implementation. Added test_base64_decode to test base64 decoding implementation. Signed-off-by: George McCollister <George.McCollister@gmail.com>
* Set _GNU_SOURCE globallySumit Bose2011-05-231-1/+0
|
* Move crypto functions into its own subdirJakub Hrozek2010-09-081-0/+381
A refactoring patch that creates a common util/crypto subdir with per-implementation subdirectories for each underlying crypto library supported by SSSD.