Hash :
2d540c2c
Author :
Date :
2011-10-16T17:17:47
crypto libraries: use stdalign * lib/md4.c, lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c: Include <stdalign.h> and <stdint.h>. Do not include <stddef.h>. Do not include <stdlib.h> twice, in md4.c. (UNALIGNED_P): Simplify by using alignof. Use uintptr_t, not size_t, because we are accessing a pointer's bit-pattern, not a size. * modules/crypto/gc-md4 (Depends-on): Add stdalign. * modules/crypto/gc-md5, modules/crypto/gc-sha1, modules/crypto/md4: * modules/crypto/md5, modules/crypto/sha1, modules/crypto/sha256: * modules/crypto/sha512: Likewise.
Description:
Generic crypto wrappers for MD4 functions.
Files:
m4/gc-md4.m4
lib/md4.h
lib/md4.c
m4/md4.m4
Depends-on:
stdalign
stdint
crypto/gc
configure.ac:
gl_GC_MD4
if test "$ac_cv_libgcrypt" != yes; then
AC_LIBOBJ([md4])
fi
gl_MODULE_INDICATOR([gc-md4])
Makefile.am:
Include:
"gc.h"
License:
LGPLv2+
Maintainer:
Simon Josefsson