diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | libsha1.7 | 25 |
2 files changed, 31 insertions, 0 deletions
@@ -61,6 +61,9 @@ MAN3 =\ libsha1_unmarshal.3\ libsha1_update.3 +MAN7 =\ + libsha1.7 + LOBJ = $(OBJ:.o=.lo) @@ -93,6 +96,7 @@ install: libsha1.a libsha1.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/include" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man0" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7" cp -- libsha1.a "$(DESTDIR)$(PREFIX)/lib" cp -- libsha1.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libsha1.$(LIBMINOREXT)" $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libsha1.$(LIBMINOREXT)" @@ -101,6 +105,7 @@ install: libsha1.a libsha1.$(LIBEXT) cp -- libsha1.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/libsha1.a" @@ -110,6 +115,7 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/include/libsha1.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 *.so test diff --git a/libsha1.7 b/libsha1.7 new file mode 100644 index 0000000..7fb504d --- /dev/null +++ b/libsha1.7 @@ -0,0 +1,25 @@ +.TH LIBSHA1 7 2022-07-07 libsha1 +.SH NAME +libsha1 \- SHA-1 and SHA-0 hashing library +.SH DESCRIPTION +.B libsha1 +is an implementation of the SHA-1 and SHA-0 hashing functions +with support for state marshalling and HMAC. +.SH SEE ALSO +.BR libsha1.h (0), +.BR libsha1_algorithm_output_size (3), +.BR libsha1_behex_lower (3), +.BR libsha1_behex_upper (3), +.BR libsha1_digest (3), +.BR libsha1_hmac_digest (3), +.BR libsha1_hmac_init (3), +.BR libsha1_hmac_marshal (3), +.BR libsha1_hmac_unmarshal (3), +.BR libsha1_hmac_update (3), +.BR libsha1_init (3), +.BR libsha1_marshal (3), +.BR libsha1_state_output_size (3), +.BR libsha1_sum_fd (3), +.BR libsha1_unhex (3), +.BR libsha1_unmarshal (3), +.BR libsha1_update (3) |