diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-07 15:14:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-07 15:14:08 +0200 |
commit | 52cee14bdda0191b996fa50f902d7aad53480333 (patch) | |
tree | 60f0792fc67f8900eb579da1b80d21fdbc6a830c | |
parent | Add coverage test (diff) | |
download | libsha2-52cee14bdda0191b996fa50f902d7aad53480333.tar.gz libsha2-52cee14bdda0191b996fa50f902d7aad53480333.tar.bz2 libsha2-52cee14bdda0191b996fa50f902d7aad53480333.tar.xz |
Add libsha2.7
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | libsha2.7 | 26 |
2 files changed, 32 insertions, 0 deletions
@@ -61,6 +61,9 @@ MAN3 =\ libsha2_unmarshal.3\ libsha2_update.3 +MAN7 =\ + libsha2.7 + LOBJ = $(OBJ:.o=.lo) SRC = $(OBJ:.o=.c) @@ -94,6 +97,7 @@ install: mkdir -p -- "$(DESTDIR)$(PREFIX)/include" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man0" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7" cp -- libsha2.a "$(DESTDIR)$(PREFIX)/lib" cp -- libsha2.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libsha2.$(LIBMINOREXT)" $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libsha2.$(LIBMINOREXT)" @@ -102,6 +106,7 @@ install: cp -- libsha2.h "$(DESTDIR)$(PREFIX)/include" cp -- $(MAN0) "$(DESTDIR)$(MANPREFIX)/man0" cp -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3" + cp -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libsha2.a" @@ -111,6 +116,7 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/include/libsha2.h" -cd -- "$(DESTDIR)$(MANPREFIX)/man0" && rm -f -- $(MAN0) -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3) + -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7) clean: -rm -f -- *.o *.lo *.su *.a *.$(LIBEXT) *.gcda *.gcno *.gcov test diff --git a/libsha2.7 b/libsha2.7 new file mode 100644 index 0000000..b78db0a --- /dev/null +++ b/libsha2.7 @@ -0,0 +1,26 @@ +.TH LIBSHA2 7 2022-07-07 libsha1 +.SH NAME +libsha2 \- SHA-2 hashing library +.SH DESCRIPTION +.B libsha1 +is an implementation of the SHA-2 family hashing functions: +SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, and SHA-512/256; +with support for state marshalling and HMAC. +.SH SEE ALSO +.BR libsha2.h (0), +.BR libsha2_algorithm_output_size (3), +.BR libsha2_behex_lower (3), +.BR libsha2_behex_upper (3), +.BR libsha2_digest (3), +.BR libsha2_hmac_digest (3), +.BR libsha2_hmac_init (3), +.BR libsha2_hmac_marshal (3), +.BR libsha2_hmac_unmarshal (3), +.BR libsha2_hmac_update (3), +.BR libsha2_init (3), +.BR libsha2_marshal (3), +.BR libsha2_state_output_size (3), +.BR libsha2_sum_fd (3), +.BR libsha2_unhex (3), +.BR libsha2_unmarshal (3), +.BR libsha2_update (3) |