view modules/crypto/md5 @ 39326:c82e97c04ab4

sys-limits.h: new file for crypto and safe I/O * lib/af_alg.c: Include sys-limits.h. (MAX_RW_COUNT): Remove. Use replaced by SYS_BUFSIZE_MAX. (afalg_stream): Also reject negative sizes for sendfile; they should not happen and the code is a bit cleaner and faster this way. * lib/safe-read.c: Include sys-limits.h. (BUGGY_READ_MAXIMUM): Remove. All uses replaced by SYS_BUFSIZE_MAX. * lib/sys-limits.h: New file, with values and commentary derived from the old safe-read.c and from GNU Emacs sysdep.c. * modules/crypto/md5, modules/crypto/sha1, modules/crypto/sha256: * modules/crypto/sha512, modules/safe-read, modules/safe-write: Add lib/sys-limits.h to Files section.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 05 May 2018 10:27:38 -0700
parents 570dfb586b40
children c0a5851d23bd
line wrap: on
line source

Description:
Compute MD5 checksum.

Files:
lib/gl_openssl.h
lib/md5.h
lib/md5.c
lib/af_alg.h
lib/af_alg.c
lib/sys-limits.h
m4/gl-openssl.m4
m4/md5.m4
m4/linux-if-alg.m4

Depends-on:
extern-inline
stdalign
stdint
sys_socket
sys_stat

configure.ac:
gl_MD5
gl_LINUX_IF_ALG_H

Makefile.am:
lib_SOURCES += md5.c af_alg.c

Include:
"md5.h"

Link:
$(LIB_CRYPTO)

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc