diff options
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) |