summaryrefslogtreecommitdiff
path: root/modules/crypto/md4
Commit message (Collapse)AuthorAgeFilesLines
* md4-buffer: New module.Bruno Haible2021-09-191-9/+3
| | | | | | | | | * lib/md4-stream.c: New file, extracted from lib/md4.c. * lib/md4.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, md4_stream): Moved to md4-stream.c. * lib/md4.h: Reorder declarations. * modules/crypto/md4-buffer: New file, based on modules/crypto/md4. * modules/crypto/md4: Rewritten.
* crypto/md4: Use 'restrict'.Bruno Haible2020-02-231-0/+1
| | | | | * lib/md4.h (md4_finish_ctx, md4_read_ctx, md4_buffer): Use 'restrict'. * modules/crypto/md4 (configure.ac): Require AC_C_RESTRICT.
* crypto: use byteswapPaul Eggert2018-06-171-0/+1
| | | | | | | | | | * lib/md4.c, lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c: * lib/sm3.c: Include <byteswap.h>. (SWAP): Use its macros rather than reinventing the wheel. * modules/crypto/md4, modules/crypto/md5-buffer: * modules/crypto/sha1-buffer, modules/crypto/sha256-buffer: * modules/crypto/sha512-buffer, modules/crypto/sm3: (Depends-on): Add byteswap.
* crypto libraries: use stdalignPaul Eggert2011-10-271-0/+1
| | | | | | | | | | | | * 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.
* crypto/md4: Move AC_LIBOBJ invocations to module description.Bruno Haible2011-06-161-0/+1
| | | | | * m4/md4.m4 (gl_MD4): Remove AC_LIBOBJ invocation. * modules/crypto/md4 (Makefile.am): Augment lib_SOURCES.
* Use the synonymous term LGPLv2+.Bruno Haible2007-07-301-1/+1
|
* Move crypto modules to crypto/.Simon Josefsson2007-04-011-0/+24