mbedtls/tests
Gilles Peskine 313a5c1fec pk_write test cases with short/long private key
Add pk_write test cases where the ASN.1 INTEGER encoding of the
private value does not have the mandatory size for the OCTET STRING
that contains the value.

ec_256_long_prv.pem is a random secp256r1 private key, selected so
that the private value is >= 2^255, i.e. the top bit of the first byte
is set (which would cause the INTEGER encoding to have an extra
leading 0 byte).

ec_521_short_prv.pem is a random secp521r1 private key, selected so
that the private value is < 2^518, i.e. the first byte is zero and the
top bit of the second byte is 0 (which would cause the INTEGER
encoding to have one less 0 byte at the start).
2018-09-04 11:16:42 +02:00
..
data_files pk_write test cases with short/long private key 2018-09-04 11:16:42 +02:00
git-scripts Add check-files.py to pre-push.sh 2018-06-05 11:57:21 +01:00
scripts Merge remote-tracking branch 'public/pr/779' into mbedtls-2.7 2018-07-24 13:38:44 +01:00
suites pk_write test cases with short/long private key 2018-09-04 11:16:42 +02:00
.gitignore
CMakeLists.txt Support out-of-tree testing with CMake 2018-03-21 12:28:59 +01:00
compat.sh Fix multiple quality issues in the source 2018-06-08 11:14:43 +01:00
Descriptions.txt
Makefile Make DLEXT var configurable in programs and tests makefiles 2018-03-27 20:04:18 +01:00
ssl-opt.sh Merge remote-tracking branch 'public/pr/1956' into mbedtls-2.7 2018-08-28 12:16:11 +01:00