aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-09-15m + split out implemenation for w=8,16,32,64Mattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2024-09-15Organise filesMattias Andrée1-44/+45
Signed-off-by: Mattias Andrée <maandree@kth.se>
2024-09-15Move man pages into man3/ and man7/Mattias Andrée1-62/+62
Signed-off-by: Mattias Andrée <maandree@kth.se>
2024-09-15Split libkeccak.h and fix support for architectures that do not allow misaligned memoryMattias Andrée1-7/+17
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-07-02Remove use of valgrind in make checkMattias Andrée1-4/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-27Add cSHAKEMattias Andrée1-0/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-26Bump lib minor numberMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-19Fix use of install_name_tool: rewrote incorrect, non-existing file1.3.1.2Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-19Move operand for install_name_tool from macro in macos.mk to usage in Makefile1.3.1.1Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-19Set install name for installed libraryCarlo Cabrera1-0/+1
2022-02-19Set install name in `LIBFLAGS`Carlo Cabrera1-1/+0
My previous PR (#16) deliberately set the install name at install time instead of at build time, since this is the correct time to determine the library's install name. However, if you prefer to do this during build time instead, then there is no need to call `install_name_tool`. We can pass the appropriate flags to the linker instead.
2022-02-19Remove use of ifeq in Makefile and move use of install_name_tool from install-time to build-timeMattias Andrée1-3/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-06Fix library install name in `install` target on macOSCarlo Cabrera1-0/+3
On macOS, libraries have "install names" which the linker records in a binary that links against the library. At runtime, the dynamic loader uses this install name to work out where to find the linked library. Currently, the Makefile passes no information about the install name to the linker, and so the DSO has an install name of `libkeccak.dylib`. This is a problem when you link something against `libkeccak` but install it outside the default linker search path, because the dynamic loader won't be able to find it. This change fixes that by making sure the dynamic loader will always be able to find `libkeccak.dylib` regardless of where it's been installed. We use `LIBMAJOREXT` since this is the typical convention for library install names. For example, the system libc++ has an install name of `libc++.1.dylib`, in the same way that `SONAME` also typically includes the library major version on Linux.
2021-12-24Add man pages for zero-copy functionsMattias Andrée1-1/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-12-24Update library version numberMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-12-24Add libkeccak_zerocopy_{update,digest} and in libkeccak_generalised_sum_fd (requires man pages)Mattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-07-30Use inline instead of static inline for non-deprecated functionsMattias Andrée1-0/+24
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-03-01Improve makefileMattias Andrée1-5/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2019-02-12Deprecate libkeccak_{state,hmac}_{unmarshal_skip,marshal_size} and replace with the functions without the _skip or _size suffixMattias Andrée1-5/+0
Signed-off-by: Mattias Andrée <maandree@kth.se>
2019-02-11Update makefile1.2Mattias Andrée1-59/+59
Signed-off-by: Mattias Andrée <maandree@kth.se>
2019-02-11Deprecate typedefsMattias Andrée1-1/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2019-02-11Split most .c files into one per function and flatten file hierarchyMattias Andrée1-7/+24
Signed-off-by: Mattias Andrée <maandree@kth.se>
2019-02-10General API improvementsMattias Andrée1-14/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2019-02-09Fix makefile add add OSCONFIGFILEMattias Andrée1-74/+71
Signed-off-by: Mattias Andrée <maandree@kth.se>
2019-02-09Remove texinfo file (it was truncated anyhow for some reason)Mattias Andrée1-27/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-10-21Fix makefile1.1.4Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-10-18Fix use of LIBFLAGSMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-10-15Remove unnessary -r flag in make clean1.1.3Mattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-10-15Makefile: use "rm -f" to prevent errors upon second cleaningLeo Izen1-14/+11
The coreutil `rm` will by default exit with failure if it is instructed to remove a file that doesn't exist. Using `rm -f` will suppress this behavior, so `rm` will exit with success whether or not the file had existed before invoking `rm -f`.
2017-10-14Use basic config by default1.1.2Mattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-10-14Fix makefileMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-10-14General improvementsMattias Andrée1-305/+157
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-10-13Change style and licenseMattias Andrée1-9/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-02-10makefile: install man pagesMattias Andrée1-12/+84
Signed-off-by: Mattias Andrée <maandree@kth.se>
2015-10-02attributes are gcc specificMattias Andrée1-1/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-14start on info manualMattias Andrée1-4/+70
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-31update version1.1Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-07-25beginning of hmac implementationMattias Andrée1-2/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-03-28See issue #1Mattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-13m0.1Mattias Andrée1-6/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-13mMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-12add install and uninstall rulesMattias Andrée1-0/+97
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-12mMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-07something seems to be wrong in libkeccak_f_round (not libkeccak_f_round64), but I have not figured out whatMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-07add static library and dep listMattias Andrée1-1/+16
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-06add run-benchmark ruleMattias Andrée1-0/+5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-06mMattias Andrée1-2/+5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-06improved optimisationMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-06preliminary optimisationMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-11-05m + benchmark-flagsMattias Andrée1-55/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>