Mercurial > hg > octave-kai > gnulib-hg
view modules/crypto/gc-md4 @ 15997:d8fd2f096b83
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 16 Oct 2011 17:17:47 -0700 |
parents | 0de399fca8eb |
children | 8c4227e2df6c |
line wrap: on
line source
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