Manuel Pégourié-Gonnard
1df23b903f
Check the result of PEM decoding
...
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-02-08 14:53:50 -05:00
Manuel Pégourié-Gonnard
33ab075f45
Add success case for pem_read testing
...
Currently all cases were negative, so the block that exercised
mbedtls_pem_get_der() would never be reached.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-02-08 14:53:50 -05:00
Andres AG
a3b9adb6bd
Add negative testing for mbedtls_pem_read_buffer()
2017-05-30 16:54:23 +01:00
Andres AG
49d29337fa
Add tests for overreads in pem_read_buffer()
2017-02-15 23:31:07 +02:00
Andres AG
9060d4da08
Fix generate_code.pl to handle escaped :
2017-02-02 14:38:13 +00:00
Andres AG
9c94b6951c
Add tests for overreads in pem_read_buffer()
2016-11-21 11:03:40 +00:00
Manuel Pégourié-Gonnard
2cf5a7c98e
The Great Renaming
...
A simple execution of tmp/invoke-rename.pl
2015-04-08 13:25:31 +02:00
Paul Bakker
1630058dde
Potential buffer overwrite in pem_write_buffer() fixed
...
Length indication when given a too small buffer was off.
Added regression test in test_suite_pem to detect this.
2014-04-11 13:58:05 +02:00