11 Commits (af8a2d7215cf9b57dbf98f21fe31e872e035c075)

Author SHA1 Message Date
leitner b9eb81c58f move unit tests into each file (compile with -DUNITTEST) 8 years ago
leitner d020e6d88b another gcc 6 warning fix
compile on osx again
remove asm version of i?mult64 (was needed only for clang because it
didn't have __uint128_t, but it now has it)
9 years ago
leitner fb1f19042f support gcc 5 builtins for multiplication overflow in safemult.h
fix copypasted comment in fmt_asn1dertag
add man pages for add_of, sub_of and assign
9 years ago
leitner 10ab3bf70a fix for 32-bit archs 16 years ago
leitner 3629bfd5a7 add non-asm version for gcc 16 years ago
leitner a2900d45a6 add warning about dodgy inline assembly 19 years ago
leitner 66b342099c add asm versions of imult64 and umult64 for x86_64
(22 cycles -> 12 cycles on my Athlon 64)
19 years ago
leitner 19202d2320 turns out the imult routines (which I never used) were incorrect.
Noted by Matthew Dempsky
  open_* from open.h now open in large file mode
20 years ago
leitner f52aa87441 more alloca fixes 21 years ago
leitner ef0495b5e2 reverse return code for safemult API to conform to newer djb APIs 22 years ago
leitner d1df715971 add API for integer multiplication with overflow detection 22 years ago