mbedtls/library
Andres AG b8e75286b4 Fix data loss in unsigned int cast in PK
This patch introduces some additional checks in the PK module for 64-bit
systems only. The problem is that the API functions in the PK
abstraction accept a size_t value for the hashlen, while the RSA module
accepts an unsigned int for the hashlen. Instead of silently casting
size_t to unsigned int, this change checks whether the hashlen overflows
an unsigned int and returns an error.
2017-02-15 10:52:11 +00:00
..
.gitignore
aes.c Fix unused variable in AES selftest when CBC and CFB disabled (#393) 2016-06-22 16:48:16 +01:00
aesni.c
arc4.c
asn1parse.c Fix 1 byte overread in mbedtls_asn1_get_int() 2016-10-13 13:54:14 +01:00
asn1write.c Add mbedtls_asn1_write_len() support for 3 and 4 byte lengths 2016-08-25 15:42:27 +01:00
base64.c
bignum.c
blowfish.c
camellia.c
ccm.c
certs.c
cipher_wrap.c
cipher.c Refactor and change CMAC interface 2016-10-13 13:51:11 +01:00
cmac.c Update CMAC test vectors. 2016-12-13 16:00:52 +00:00
CMakeLists.txt Update library version number to 2.4.1 2016-12-13 16:00:52 +00:00
ctr_drbg.c
debug.c Fix compiler warning in debug.c 2016-11-17 09:22:46 +00:00
des.c
dhm.c
ecdh.c
ecdsa.c
ecjpake.c
ecp_curves.c
ecp.c
entropy_poll.c Renames null entropy source function for clarity 2016-06-12 00:31:33 +01:00
entropy.c Fix unused variable warnings for null entropy config 2016-09-15 18:57:34 +01:00
error.c Merge fix for IE Certificate Compatibility 2016-10-13 17:21:01 +01:00
gcm.c Fix documentation for mbedtls_gcm_finish() 2016-10-13 13:54:47 +01:00
havege.c
hmac_drbg.c
Makefile Added cmac.o to libary/Makefile 2016-10-13 13:51:09 +01:00
md2.c
md4.c
md5.c
md_wrap.c
md.c
memory_buffer_alloc.c
net_sockets.c Fix formatting issues in net_sockets.c 2016-11-17 09:22:47 +00:00
oid.c Removing in compile time unused entries from oid_ecp_grp list 2016-09-04 15:14:38 +01:00
padlock.c
pem.c
pk_wrap.c Fix data loss in unsigned int cast in PK 2017-02-15 10:52:11 +00:00
pk.c Fix data loss in unsigned int cast in PK 2017-02-15 10:52:11 +00:00
pkcs5.c Fix output of PKCS#5 and RIPEMD-160 self tests 2016-08-25 16:36:35 +01:00
pkcs11.c
pkcs12.c
pkparse.c Clarify Comments and Fix Typos (#651) 2016-11-06 12:45:15 +00:00
pkwrite.c
platform.c Fix various compiler warnings with MSVC 2016-11-10 15:37:33 +00:00
ripemd160.c Fix output of PKCS#5 and RIPEMD-160 self tests 2016-08-25 16:36:35 +01:00
rsa.c Restore P>Q in RSA key generation (#558) 2016-10-13 13:54:48 +01:00
sha1.c
sha256.c Use allocated memory for SHA self tests 2016-10-13 15:10:14 +01:00
sha512.c Use allocated memory for SHA self tests 2016-10-13 15:10:14 +01:00
ssl_cache.c Puts platform time abstraction into its own header 2016-07-13 14:46:18 +01:00
ssl_ciphersuites.c Puts platform time abstraction into its own header 2016-07-13 14:46:18 +01:00
ssl_cli.c Merge fix for IE Certificate Compatibility 2016-10-13 17:21:01 +01:00
ssl_cookie.c Puts platform time abstraction into its own header 2016-07-13 14:46:18 +01:00
ssl_srv.c Merge fix for IE Certificate Compatibility 2016-10-13 17:21:01 +01:00
ssl_ticket.c Puts platform time abstraction into its own header 2016-07-13 14:46:18 +01:00
ssl_tls.c Clarify Comments and Fix Typos (#651) 2016-11-06 12:45:15 +00:00
threading.c Add safety check to sample mutex implementation 2016-10-13 13:51:07 +01:00
timing.c
version_features.c Merge fix for AEAD Random IVs 2016-10-14 00:48:33 +01:00
version.c
x509_create.c
x509_crl.c
x509_crt.c Fix various compiler warnings with MSVC 2016-11-10 15:37:33 +00:00
x509_csr.c
x509.c Clarify Comments and Fix Typos (#651) 2016-11-06 12:45:15 +00:00
x509write_crt.c Add missing bounds check in X509 DER write funcs 2016-10-11 14:07:48 +01:00
x509write_csr.c Add missing bounds check in X509 DER write funcs 2016-10-11 14:07:48 +01:00
xtea.c