1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/lib
Joseph Sutton aec2076fa7 lib/util: Delegate constant time memcmp to gnutls_memcmp()
gnutls_memcmp() is mostly identical to our own implementation, except
that ours will not break if supplied with 4 GiB or more of data.
However, using an external function permits us to disclaim
responsibility if some CPU/compiler combination happens to invalidate
our constant-time guarantee.

For reference, gnutls_memcmp() implementation:
78d9820de0/lib/safe-memfuncs.c (L41-67)

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-09 22:49:29 +00:00
..
addns build: Consolidate --with-dnsupdate with --with-ads (which implied HAVE_KRB5) 2021-03-26 04:06:41 +00:00
afs s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
async_req lib: Use FIONREAD in wait_for_read_send/recv 2021-03-16 17:09:31 +00:00
audit_logging audit_logging.c: fix compilation on macOS 2021-10-13 01:42:35 +00:00
cmdline cmdline_s4: re-initialise logging once loadparm is ready 2022-05-30 10:11:28 +00:00
compression lzxpress: compress shortcut if we've reached maximum length 2022-05-17 23:11:21 +00:00
crypto lib:crypto: Add py binding for set_relax/strict fips mode 2020-10-29 14:19:36 +00:00
dbwrap lib/dbwrap: reset deleted record to tdb_null 2021-11-04 19:49:47 +00:00
fuzzing fuzz: add lzxpress compress/decompress round-trip 2022-05-12 02:22:35 +00:00
krb5_wrap lib:krb5_wrap: Implement smb_krb5_principal_is_tgs() 2022-03-17 00:41:33 +00:00
ldb ldb: Introduce "colon" variable in ldb_module_connect_backend() 2022-04-26 21:41:29 +00:00
ldb-samba ldb: Avoid an "else" 2022-04-26 21:41:29 +00:00
messaging messaging: Fix receiving file descriptors 2021-03-19 08:18:26 +00:00
mscat lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
param docs-xml: add new parameter volume serial number 2022-06-06 16:46:35 +00:00
printer_driver printing: Align integer types 2021-04-01 19:32:36 +00:00
pthreadpool build: Do not build selftest binaries for builds without --enable-selftest 2019-11-22 11:48:59 +00:00
replace configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scripts 2022-03-29 22:32:32 +00:00
smbconf lib/smbconf: expose smbconf error codes to python wrapper 2022-06-08 13:13:10 +00:00
socket lib/socket: autodetect RSS using ETHTOOL_GRXRINGS 2020-05-07 14:44:40 +00:00
talloc talloc: version 2.3.4 2022-06-08 17:02:29 +00:00
tdb tdb: version 1.4.7 2022-06-08 17:57:53 +00:00
tdb_wrap lib: Open tdb files with O_CLOEXEC 2021-06-04 16:47:34 +00:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent tevent: version 0.12.1 2022-06-08 17:02:29 +00:00
texpect texpect: don't ignore unknown options 2021-09-10 15:10:30 +00:00
torture lib/torture: fix subunit names of nested suites 2020-07-07 10:30:40 +00:00
tsocket selftest: test tsocket_address_inet_from_hostport_strings 2021-09-28 10:34:12 +00:00
util lib/util: Delegate constant time memcmp to gnutls_memcmp() 2022-06-09 22:49:29 +00:00
README various: Remove references to about to be deleted thirdparty/dnspython 2018-12-11 20:07:18 +01:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library