mbedtls/library
Manuel Pégourié-Gonnard 073c1e1391 Remove pk_info from pk_context_t with SINGLE_TYPE
In very reduced configurations, we don't want the overhead of maintaining a
bool just to remember if the context is valid and checking that bit at every
point of entry.

Note: so far this validity bit also served as a proxy to ensure that pk_ctx
was valid (currently this is a pointer to a dynamically-allocated buffer). In
the next series of commits, this will be changed to a statically-allocated
buffer, so there will be no question about its validity.

In the end (after this commit and the next series), a pk_context_t will be
(memory-wise) just the same as a mbedtls_uecc_keypair when SINGLE_TYPE is
enabled - meaning the PK layer will have zero memory overhead in that case.
2019-09-19 10:45:14 +02:00
..
.gitignore
aes.c
aesni.c
arc4.c
aria.c
asn1parse.c
asn1write.c
base64.c
bignum.c
blowfish.c
camellia.c
ccm.c
certs.c Fixup certs.c: Remove redundant TinyCrypt guard 2019-09-04 16:19:49 +01:00
chacha20.c
chachapoly.c
cipher_wrap.c
cipher.c
cmac.c
CMakeLists.txt Merge pk_wrap into pk.c 2019-09-19 10:45:14 +02:00
ctr_drbg.c
debug.c
des.c
dhm.c
ecdh.c
ecdsa.c Introduce MD handle type 2019-09-09 09:45:57 +01:00
ecjpake.c Introduce MD handle type 2019-09-09 09:45:57 +01:00
ecp_curves.c
ecp.c
entropy_poll.c
entropy.c
error.c
gcm.c
havege.c
hkdf.c Introduce MD handle type 2019-09-09 09:45:57 +01:00
hmac_drbg.c Introduce getter for MD handle from MD context 2019-09-09 09:45:57 +01:00
Makefile Merge pk_wrap into pk.c 2019-09-19 10:45:14 +02:00
md2.c
md4.c
md5.c
md.c Fixup MD: Avoid always-false pointer comparison 2019-09-09 09:45:57 +01:00
memory_buffer_alloc.c
net_sockets.c
nist_kw.c
oid.c Fixup: Add missing TinyCrypt guards 2019-09-04 16:17:45 +01:00
padlock.c
pem.c
pk.c Remove pk_info from pk_context_t with SINGLE_TYPE 2019-09-19 10:45:14 +02:00
pkcs5.c Introduce getter for MD handle from MD context 2019-09-09 09:45:57 +01:00
pkcs11.c Introduce MD handle type 2019-09-09 09:45:57 +01:00
pkcs12.c Introduce MD handle type 2019-09-09 09:45:57 +01:00
pkparse.c Introduce abstraction mbedtls_pk_handle_t 2019-09-19 10:45:14 +02:00
pkwrite.c Fix bug in pkwrite with TinyCrypt but no RSA 2019-09-19 10:45:14 +02:00
platform_util.c Review corrections 2 2019-09-09 17:21:18 +03:00
platform.c
poly1305.c
ripemd160.c
rsa_internal.c
rsa.c Introduce getter for MD handle from MD context 2019-09-09 09:45:57 +01:00
sha1.c
sha256.c Review corrections 6 2019-09-10 11:30:40 +03:00
sha512.c
ssl_cache.c
ssl_ciphersuites.c Fixup: Add missing TinyCrypt guards 2019-09-04 16:17:45 +01:00
ssl_cli.c Remove dependency from SSL on PK internals 2019-09-19 10:45:14 +02:00
ssl_cookie.c Review corrections 2 2019-09-09 17:21:18 +03:00
ssl_srv.c Remove dependency from SSL on PK internals 2019-09-19 10:45:14 +02:00
ssl_ticket.c Review corrections 6 2019-09-10 11:30:40 +03:00
ssl_tls.c Remove dependency from SSL on PK internals 2019-09-19 10:45:14 +02:00
threading.c
timing.c
version_features.c Merge remote-tracking branch 'origin/pr/609' into baremetal 2019-09-10 14:50:04 +01:00
version.c
x509_create.c
x509_crl.c
x509_crt.c Merge remote-tracking branch 'origin/pr/654' into baremetal 2019-09-10 14:54:28 +01:00
x509_csr.c
x509.c Merge remote-tracking branch 'origin/pr/654' into baremetal 2019-09-10 14:54:28 +01:00
x509write_crt.c
x509write_csr.c
xtea.c