mbedtls/library
Steven Cooreman 4fed455347 Apply review feedback
* No need to check for NULL before free'ing
* No need to reset variables that weren't touched
* Set output buffer to zero if key output fails
* Document internal functions and rearrange order of input arguments to
  better match other functions.
* Clean up Montgomery fix to be less verbose code

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
2020-08-03 14:46:12 +02:00
..
.gitignore
aes.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
aesni.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
arc4.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
aria.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
asn1parse.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
asn1write.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
base64.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
bignum.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
blowfish.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
camellia.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ccm.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
certs.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
chacha20.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
chachapoly.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cipher.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cipher_wrap.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cmac.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
CMakeLists.txt Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
common.h New header common.h; define MBEDTLS_STATIC_TESTABLE 2020-03-24 22:57:11 +01:00
ctr_drbg.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
debug.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
des.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
dhm.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecdh.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecdsa.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecjpake.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecp.c Merge remote-tracking branch 'mbedtls/development' into montgomery-keys-clarification 2020-07-13 11:48:21 +02:00
ecp_curves.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
entropy.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
entropy_poll.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
error.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
gcm.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
havege.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
hkdf.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
hmac_drbg.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
Makefile Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
md.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md2.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md4.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md5.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
memory_buffer_alloc.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
net_sockets.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
nist_kw.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
oid.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
padlock.c Use local labels in padlock.c 2020-07-04 01:43:41 +08:00
pem.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pk.c Merge pull request #3392 from paul-elliott-arm/psa_ecc_dh_macros 2020-07-07 09:20:44 +02:00
pk_wrap.c Merge pull request #3392 from paul-elliott-arm/psa_ecc_dh_macros 2020-07-07 09:20:44 +02:00
pkcs5.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkcs11.c Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
pkcs12.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkparse.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkwrite.c Merge remote-tracking branch 'mbedtls/development' into montgomery-keys-clarification 2020-07-13 11:48:21 +02:00
platform.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
platform_util.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
poly1305.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto.c Apply review feedback 2020-08-03 14:46:12 +02:00
psa_crypto_core.h Remove ECP internal representation from key slot 2020-07-24 23:44:31 +02:00
psa_crypto_invasive.h Add a facility to configure entropy sources 2018-11-23 22:58:38 +01:00
psa_crypto_its.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_se.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto_se.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_service_integration.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_slot_management.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto_slot_management.h Merge pull request #3382 from stevew817/feature/volatile-keys-in-SE 2020-06-26 20:27:11 +02:00
psa_crypto_storage.c Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_storage.h Switch storage functions over to psa_core_key_attributes_t 2019-07-31 14:15:27 +02:00
psa_its_file.c Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
ripemd160.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
rsa.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
rsa_internal.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
sha1.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
sha256.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
sha512.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cache.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_ciphersuites.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cli.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cookie.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_msg.c Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
ssl_srv.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_ticket.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_tls.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
threading.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
timing.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
version.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
version_features.c Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
x509.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_create.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_crl.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_crt.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_csr.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509write_crt.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509write_csr.c Merge pull request #3464 from CodeMonkeyLeet/csr_heap_alloc 2020-07-10 10:57:22 +02:00
xtea.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00