mbedtls/library
Gilles Peskine b0b189f31f Add missing compilation guards for GCM and CCM
Add missing compilation guards that broke the build if either GCM or
CCM was not defined.

Add missing guards on test cases that require GCM or CBC.

The build and tests now pass for any subset of {MBEDTLS_CCM_C,
MBEDTLS_GCM_C}. There are still unused variables warnings if neither
is defined.
2018-11-28 17:30:58 +01:00
..
.gitignore
aes.c Merge remote-tracking branch 'public/pr/2054' into development-proposed 2018-11-09 19:57:53 +00:00
aesni.c
arc4.c
aria.c
asn1parse.c
asn1write.c Merge branch 'iotssl-1770' into development_thomas_dee 2018-11-02 10:52:49 +00:00
base64.c
bignum.c Fix bias in random number generation in Miller-Rabin test 2018-10-09 16:36:53 +01:00
blowfish.c
camellia.c
ccm.c
certs.c Update hardcoded certificates in library/certs.c 2018-11-02 10:52:38 +00:00
chacha20.c
chachapoly.c
cipher_wrap.c Fix style in NUM_CIPHERS definition in cipher_wrap.c 2018-11-22 16:33:01 +00:00
cipher.c Return 'Feature unavailable' error for ciphers unsupported by PSA 2018-11-22 16:33:01 +00:00
cmac.c
CMakeLists.txt Merge pull request #198 from ARMmbed/psa_crypto_its 2018-11-21 15:04:03 +01:00
ctr_drbg.c
debug.c
des.c
dhm.c
ecdh.c Change to positive flow for all cases 2018-11-05 18:08:46 +02:00
ecdsa.c Avoid using restartable and alternative ECP imp. 2018-11-05 14:04:26 +02:00
ecjpake.c
ecp_curves.c
ecp.c Detect unsigned integer overflow in mbedtls_ecp_check_budget() 2018-10-26 15:09:35 +01:00
entropy_poll.c
entropy.c
error.c Add common feature unavailable error 2018-11-09 13:57:37 +00:00
gcm.c Deprecate hardware acceleration errors 2018-11-09 15:01:07 +00:00
havege.c
hkdf.c
hmac_drbg.c
Makefile Merge pull request #198 from ARMmbed/psa_crypto_its 2018-11-21 15:04:03 +01:00
md2.c
md4.c
md5.c
md_wrap.c
md.c
memory_buffer_alloc.c
net_sockets.c
nist_kw.c
oid.c
padlock.c
pem.c
pk_wrap.c Merge branch 'iotssl-2578-psa-sig-verification_CRYPTO' into feature-psa-tls-integration-proposed 2018-11-23 16:00:32 +00:00
pk.c Add test utility function: wrap_as_opaque() 2018-11-22 16:39:39 +00:00
pkcs5.c
pkcs11.c
pkcs12.c
pkparse.c Reinitialize PK ctx in mbedtls_pk_parse_key before reuse are free 2018-10-11 11:31:15 +01:00
pkwrite.c pkwrite: add an explicit cast to size_t 2018-11-22 12:43:53 -05:00
platform_util.c Don't declare and define gmtime()-mutex on Windows platforms 2018-09-06 12:09:56 +01:00
platform.c Omit runtime configuration of calloc/free if macro config enabled 2018-10-11 11:04:20 +01:00
poly1305.c
psa_crypto_storage_backend.h psa: Add storage implementation for files 2018-11-20 15:21:22 +00:00
psa_crypto_storage_file.c psa: Add storage implementation for files 2018-11-20 15:21:22 +00:00
psa_crypto_storage_its.c Add new PSA Crypto Storage backend implementation using ITS APIs 2018-11-21 13:28:10 +02:00
psa_crypto_storage.c psa: Add magic header to storage backend 2018-11-20 15:21:22 +00:00
psa_crypto_storage.h psa: Add storage implementation for files 2018-11-20 15:21:22 +00:00
psa_crypto.c Add missing compilation guards for GCM and CCM 2018-11-28 17:30:58 +01:00
ripemd160.c
rsa_internal.c Bignum: Deprecate mbedtls_mpi_is_prime() 2018-10-09 16:36:53 +01:00
rsa.c Merge tag 'mbedtls-2.14.0' into feature-psa 2018-11-19 19:25:56 +00:00
sha1.c
sha256.c
sha512.c
ssl_cache.c
ssl_ciphersuites.c
ssl_cli.c Rename ssl_conf_has_[raw_]_psk to ssl_conf_has_static_[raw_]psk 2018-11-22 16:30:20 +00:00
ssl_cookie.c
ssl_srv.c Don't use idiom if( func() ) but always add explicit value check 2018-11-22 16:30:20 +00:00
ssl_ticket.c Use PSA-based ciphers for SSL ticket protection 2018-11-22 16:38:06 +00:00
ssl_tls.c Merge branch 'psa_cipher_integration_CRYPTO' into feature-psa-tls-integration-proposed 2018-11-23 15:59:26 +00:00
threading.c Don't declare and define gmtime()-mutex on Windows platforms 2018-09-06 12:09:56 +01:00
timing.c Merge remote-tracking branch 'public/pr/1777' into development-proposed 2018-11-04 18:51:36 +00:00
version_features.c Add config option for X.509/TLS to use PSA 2018-11-22 16:25:36 +00:00
version.c
x509_create.c Break overly long line in library/x509_create.c 2018-11-02 10:52:38 +00:00
x509_crl.c
x509_crt.c Remove trailing whitespace 2018-11-22 13:02:29 -05:00
x509_csr.c
x509.c Rename mbedtls_platform_gmtime() to mbedtls_platform_gmtime_r() 2018-09-05 15:06:19 +01:00
x509write_crt.c
x509write_csr.c x509: remove unnecessary calls to psa_hash_abort 2018-11-22 12:53:32 -05:00
xtea.c