summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/modes/xts128.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* move endian/word size checks from runtime to compile timebcook2017-08-131-36/+34
| | | | ok guenther@
* Remove assert() or OPENSSL_assert() of pointers being non-NULL. The policymiod2015-02-101-2/+1
| | | | | for libraries in OpenBSD is to deliberately let NULL pointers cause a SIGSEGV. ok doug@ jsing@
* Remove leading underscore from _BYTE_ORDER and _{LITTLE,BIG}_ENDIAN, to bemiod2014-07-091-3/+3
| | | | | more friendly to systems where the underscore flavours may be defined as empty. Found the hard way be bcook@; joint brainstrom with bcook beck and guenther
* tags as requested by miod and teduderaadt2014-06-121-0/+1
|
* Get __STRICT_ALIGNMENT from <machine/endian.h> and decide upon it, rathermiod2014-05-071-4/+5
| | | | | | | | | | | | | | than defining it for not (i386 and amd64 (and sometimes s390)) only. Compile-time tests remain compile-time tests, and runtime-test remain runtime-test instead of being converted to compile-time tests, per matthew@'s explicit demand (rationale: this makes sure the compiler checks your code even if you won't run it). No functional change except on s390 (which we don't run on) and vax (which we run on, but noone cares about) ok matthew@
* Figure out endianness at compile-time, using _BYTE_ORDER frommiod2014-04-231-3/+2
| | | | | | | <machine/endian.h>, rather than writing 1 to a 32-bit variable and checking whether the first byte is nonzero. tweaks and ok matthew@; ok beck@ tedu@
* import OpenSSL-1.0.1cdjm2012-10-131-0/+187