view modules/crypto/sha512 @ 35688:5fe530331127

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 5142d63880b4
children 0c8459454095
line wrap: on
line source

Description:
Compute SHA384 and SHA512 checksums.

Files:
lib/sha512.h
lib/sha512.c
m4/sha512.m4

Depends-on:
stdalign
stdint
u64

configure.ac:
gl_SHA512

Makefile.am:
lib_SOURCES += sha512.c

Include:
"sha512.h"

License:
LGPLv2+

Maintainer:
Jim Meyering