mbedtls/library
Gilles Peskine 4ce2a9dcbf Check unused attributes in import and copy
In psa_import_key and psa_copy_key, some information comes from the
key data (input buffer or source key) rather than from the attributes:
key size for import, key size and type and domain parameters for copy.
If an unused attribute is nonzero in the attribute structure, check
that it matches the correct value. This protects against application
errors.
2019-05-03 16:57:15 +02:00
..
.gitignore
aes.c
aesni.c
arc4.c
aria.c
asn1parse.c
asn1write.c Add new function mbedtls_asn1_write_named_bitstring() 2019-02-28 09:36:30 +00:00
base64.c
bignum.c Merge remote-tracking branch 'restricted/pr/551' into development 2019-03-27 17:01:24 +00:00
blowfish.c
camellia.c
ccm.c
certs.c Use certificates from data_files and refer them 2019-02-12 15:30:26 +02:00
chacha20.c
chachapoly.c
cipher.c Rename functions that inject key material to an allocated handle 2019-04-24 15:24:45 +02:00
cipher_wrap.c
cmac.c
CMakeLists.txt Merge remote-tracking branch 'tls/development' into development 2019-03-28 16:02:25 +00:00
ctr_drbg.c
debug.c Merge remote-tracking branch 'origin/pr/1818' into development 2019-03-05 16:27:38 +00:00
des.c
dhm.c
ecdh.c Fix ECDH secret export for Mongomery curves 2019-02-26 16:49:52 +00:00
ecdsa.c
ecjpake.c
ecp.c Merge remote-tracking branch 'tls/development' into development 2019-03-28 16:02:25 +00:00
ecp_curves.c
entropy.c
entropy_poll.c
error.c
gcm.c
havege.c
hkdf.c
hmac_drbg.c
Makefile Merge psa_crypto_storage_its into psa_crypto_storage 2019-03-15 11:15:01 +01:00
md.c md: Remove dependency on X.509 2019-03-11 16:46:20 +00:00
md2.c
md4.c
md5.c
md_wrap.c
memory_buffer_alloc.c
net_sockets.c
nist_kw.c
oid.c Add certificate policy of type any policy id 2019-03-26 14:41:07 +02:00
padlock.c
pem.c
pk.c Rename functions that inject key material to an allocated handle 2019-04-24 15:24:45 +02:00
pk_wrap.c Rename functions that inject key material to an allocated handle 2019-04-24 15:24:45 +02:00
pkcs5.c
pkcs11.c
pkcs12.c
pkparse.c
pkwrite.c Merge development-psa commit 80b5662 into development-psa-merged branch 2019-02-05 06:02:51 -05:00
platform.c
platform_util.c
poly1305.c
psa_crypto.c Check unused attributes in import and copy 2019-05-03 16:57:15 +02:00
psa_crypto_core.h Support encoding an owner in key file IDs 2019-02-20 12:52:07 +01:00
psa_crypto_invasive.h
psa_crypto_its.h Fix up ITS header files for internal use in crypto 2019-03-15 11:13:33 +01:00
psa_crypto_service_integration.h Add common header for crypto service integration 2019-02-19 15:09:14 +02:00
psa_crypto_slot_management.c Fix build errors with MBEDTLS_PSA_CRYPTO_STORAGE_C disabled 2019-04-25 17:42:32 +02:00
psa_crypto_slot_management.h Reject invalid key ids/lifetimes in attribute-based creation 2019-04-24 15:46:04 +02:00
psa_crypto_storage.c Fix loading of 0-sized key on platforms where malloc(0)=NULL 2019-04-25 17:42:32 +02:00
psa_crypto_storage.h Gate entropy injection through a dedicated configuration option 2019-03-15 11:15:21 +01:00
psa_its_file.c Document rename_replace_existing macro 2019-04-11 14:21:14 +01:00
ripemd160.c
rsa.c rsa: Enable use of zero-length null output 2019-02-11 03:39:51 -05:00
rsa_internal.c
sha1.c
sha256.c
sha512.c
ssl_cache.c Remove peer CRT from cache if !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE 2019-02-26 14:38:09 +00:00
ssl_ciphersuites.c Reduce priority of 3DES ciphersuites 2019-03-01 10:19:27 +01:00
ssl_cli.c Rename functions that inject key material to an allocated handle 2019-04-24 15:24:45 +02:00
ssl_cookie.c
ssl_srv.c Adapt client auth detection in ssl_parse_certificate_verify() 2019-02-26 14:38:09 +00:00
ssl_ticket.c Fix typo in SSL ticket documentation 2019-02-26 14:38:09 +00:00
ssl_tls.c Rename functions that inject key material to an allocated handle 2019-04-24 15:24:45 +02:00
threading.c
timing.c
version.c
version_features.c Merge remote-tracking branch 'tls/development' into development 2019-03-28 16:02:25 +00:00
x509.c
x509_create.c
x509_crl.c
x509_crt.c Add raw public key buffer bounds to mbedtls_x509_crt struct 2019-02-26 14:38:09 +00:00
x509_csr.c
x509write_crt.c Add new function mbedtls_asn1_write_named_bitstring() 2019-02-28 09:36:30 +00:00
x509write_csr.c Add new function mbedtls_asn1_write_named_bitstring() 2019-02-28 09:36:30 +00:00
xtea.c