diff options
| author | Mattias Andrée <maandree@kth.se> | 2022-07-07 10:48:02 +0200 | 
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2022-07-07 10:48:02 +0200 | 
| commit | 69ef251a463d3112f92258faedcf207b7d507fae (patch) | |
| tree | b1580e761294d1dd54829850649a8dade041bf60 | |
| parent | m whitespace (diff) | |
| download | libsha1-69ef251a463d3112f92258faedcf207b7d507fae.tar.gz libsha1-69ef251a463d3112f92258faedcf207b7d507fae.tar.bz2 libsha1-69ef251a463d3112f92258faedcf207b7d507fae.tar.xz | |
Add libsha1.7
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -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) | 
