1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/crypto
Stefan Metzmacher 8795ad2030 lib/crypto: optimize aes_cmac_128
- We avoid variables in order to do a lazy cleanup
  in aes_cmac_128_final() via ZERO_STRUCTP(ctx)
- We avoid unused memcpy() calls
- We use the optimized aes_block_{xor,lshift}() functions
- Align AES_BLOCK_SIZE arrays to 8 bytes

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11451

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2015-08-27 20:23:20 +02:00
..
aes_ccm_128_test.c lib/crypto: add aes_ccm_128 tests 2015-08-27 20:23:20 +02:00
aes_ccm_128.c crypto/aes_ccm_128: fix compile warning on openindiana 2012-08-23 16:43:48 +02:00
aes_ccm_128.h lib/crypto: add aes_ccm_128 2012-07-23 18:19:36 +02:00
aes_cmac_128_test.c lib/crypto: add aes_cmac_128 chunked tests 2015-08-27 20:23:20 +02:00
aes_cmac_128.c lib/crypto: optimize aes_cmac_128 2015-08-27 20:23:20 +02:00
aes_cmac_128.h lib/crypto: optimize aes_cmac_128 2015-08-27 20:23:20 +02:00
aes_gcm_128_test.c lib/crypto: verify 0 updates in aes_gcm_128 tests 2015-08-27 20:23:20 +02:00
aes_gcm_128.c lib/crypto: add aes_gcm_128 support. 2014-10-16 19:30:04 +02:00
aes_gcm_128.h lib/crypto: add aes_gcm_128 support. 2014-10-16 19:30:04 +02:00
aes_test.h lib/crypto: add aes_ccm_128 tests 2015-08-27 20:23:20 +02:00
aes.c lib/crypto: add aes_cfb8_encrypt() 2011-01-03 17:32:07 +01:00
aes.h lib/crypto: add optimized helper functions aes_block_{xor,lshift,rshift}() 2015-08-27 20:23:20 +02:00
arcfour.c lib: Simplify arcfour_crypt 2015-06-23 22:12:08 +02:00
arcfour.h
crc32.c
crc32.h
crypto.h lib/crypto: fix header guard for crypto.h 2015-03-23 16:04:19 +01:00
hmacmd5.c build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
hmacmd5.h build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
hmacmd5test.c crypto: Add prototype for main torture functions. 2012-02-07 01:11:07 +01:00
hmacsha256.c lib/crypto: rename the SHA256_ functions to samba_SHA256_ 2011-04-06 08:12:19 +02:00
hmacsha256.h lib/crypto: fix hmac_sha256_final() prototype 2012-02-27 12:51:33 +01:00
md4.c
md4.h
md4test.c crypto: Add prototype for main torture functions. 2012-02-07 01:11:07 +01:00
md5.c lib: Fix strict-aliasing warning in md5 code. 2014-01-09 20:42:54 +01:00
md5.h crypto: fix build on OS X 2014-01-08 08:12:29 +01:00
md5test.c build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
REQUIREMENTS lib/crypto: Document nettle supported crypto 2015-02-25 01:08:12 +01:00
rijndael-alg-fst.c
rijndael-alg-fst.h
sha256.c lib/crypto: rename the SHA256_ functions to samba_SHA256_ 2011-04-06 08:12:19 +02:00
sha256.h Prevent clashes between system and Samba SHA functions 2015-06-03 01:54:23 +02:00
sha512.c lib/crypto: add and build a copied version of SHA512 functions. 2014-10-14 10:52:04 +02:00
sha512.h Prevent clashes between system and Samba SHA functions 2015-06-03 01:54:23 +02:00
wscript_build lib/crypto: add aes_ccm_128 tests 2015-08-27 20:23:20 +02:00
wscript_configure Prevent clashes between system and Samba SHA functions 2015-06-03 01:54:23 +02:00