mbedtls/library
Jaeden Amero cf2010cf58 psa: Check generator validity before read
Check generator validity (i.e. that alg has been initialized) before
allowing reads from the generator or allowing reads of the generator's
capacity.

This aligns our implementation with the documented error code behavior
in our crypto.h and the PSA Crypto API.
2019-02-18 17:05:50 +00:00
..
.gitignore
aes.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
aesni.c
arc4.c
aria.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
asn1parse.c
asn1write.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
base64.c
bignum.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
blowfish.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
camellia.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
ccm.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
certs.c
chacha20.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
chachapoly.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
cipher_wrap.c
cipher.c Merge branch 'development-psa-proposed' into development 2019-02-14 15:58:43 +00:00
cmac.c
CMakeLists.txt Merge branch 'development-psa-proposed' into development 2019-02-14 15:58:43 +00:00
ctr_drbg.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
debug.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
des.c
dhm.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
ecdh.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
ecdsa.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
ecjpake.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
ecp_curves.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
ecp.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
entropy_poll.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
entropy.c
error.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
gcm.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
havege.c
hkdf.c
hmac_drbg.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
Makefile Merge branch 'development-psa-proposed' into development 2019-02-14 15:58:43 +00:00
md2.c
md4.c
md5.c
md_wrap.c
md.c
memory_buffer_alloc.c
net_sockets.c
nist_kw.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
oid.c
padlock.c
pem.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
pk_wrap.c Fix outdated comment in ecdsa_verify_wrap() 2019-01-29 08:26:15 +00:00
pk.c pk: restructure precondition check 2019-02-05 05:09:05 -05:00
pkcs5.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
pkcs11.c
pkcs12.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
pkparse.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
pkwrite.c Merge development-psa commit 80b5662 into development-psa-merged branch 2019-02-05 06:02:51 -05:00
platform_util.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
platform.c Merge remote-tracking branch 'origin/pr/1551' into development 2019-01-30 13:24:55 +00:00
poly1305.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
psa_crypto_core.h
psa_crypto_invasive.h
psa_crypto_slot_management.c Replace PSA error code definitions with the ones defined in PSA spec 2019-02-18 13:53:13 +02:00
psa_crypto_slot_management.h
psa_crypto_storage_backend.h Replace PSA error code definitions with the ones defined in PSA spec 2019-02-18 13:53:13 +02:00
psa_crypto_storage_file.c Merge pull request #55 from davidsaada/david_its_ps_err_codes 2019-02-18 15:39:27 +00:00
psa_crypto_storage_its.c Replace ITS specific types with more generic PSA storage types 2019-02-18 13:56:26 +02:00
psa_crypto_storage.c psa: Fix builds without MBEDTLS_PLATFORM_C 2019-02-14 16:01:14 +00:00
psa_crypto_storage.h Replace PSA error code definitions with the ones defined in PSA spec 2019-02-18 13:53:13 +02:00
psa_crypto.c psa: Check generator validity before read 2019-02-18 17:05:50 +00:00
ripemd160.c
rsa_internal.c
rsa.c rsa: Enable use of zero-length null output 2019-02-11 03:39:51 -05:00
sha1.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
sha256.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
sha512.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
ssl_cache.c
ssl_ciphersuites.c
ssl_cli.c Merge commit '01b34fb316a5' into development 2019-02-07 12:19:59 +00:00
ssl_cookie.c
ssl_srv.c Merge commit '01b34fb316a5' into development 2019-02-07 12:19:59 +00:00
ssl_ticket.c Merge commit '01b34fb316a5' into development 2019-02-07 12:19:59 +00:00
ssl_tls.c Merge commit '01b34fb316a5' into development 2019-02-07 12:19:59 +00:00
threading.c
timing.c
version_features.c Merge branch 'development-psa-proposed' into development 2019-02-14 15:58:43 +00:00
version.c
x509_create.c
x509_crl.c
x509_crt.c Merge commit '01b34fb316a5' into development 2019-02-07 12:19:59 +00:00
x509_csr.c Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
x509.c Fix #2370, minor typos and spelling mistakes 2019-01-24 10:37:40 +01:00
x509write_crt.c
x509write_csr.c
xtea.c