Commit Graph

19 Commits

Author SHA1 Message Date
Valerio Setti 3a682feb75 data_files: update dates and MD alg in server[5|11]-rsa-signed.crt
- use SHA-256 instead of SHA-1 for "server5-rsa-signed.crt". This change is
  not applied to "server11.crt" because the goal there is to have as many
  features as possible which are _not_ part of suite-b (and SHA-1 is not
  part of it).
- move start/end dates forward so that certificates are valid for the
  next 10 years.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-02 12:45:31 +01:00
Valerio Setti 85cbd7ae63 data_files: add server11-rsa-signed.crt
This is almost identical to "server5-rsa-signed.crt" in the sense that it
includes an EC public key and it's signed with an RSA one.
The main difference compared to "server5-rsa-signed.crt" is that in this
case we're using a secp256k1 key, instead the companion one uses a
secp256r1. The important thing here is that the "k1" type does not belong
to "suite-b", while "r1" does.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-11-28 17:44:37 +01:00
Valerio Setti 75e471a66f data_files: add server11.key
This is a secp256k1 EC key. The goal is to use it in tests where a key
that does not belong to the "suite-b" list is required.
For example it can be used as counterpart of "server5.key" since this one
is secp256r1 and this curve type belong to "suite-b".

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-11-28 17:44:30 +01:00
Valerio Setti ca170622d5 data_files: add server5-rsa-signed.crt
This is basically identical to "server3.crt", i.e. it contains an EC public
key and it's signed by a RSA one. The difference is that in this case
we're using a secp256r1 EC key, instead of the secp192r1 that was used
in "server3.crt".

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-11-28 16:38:43 +01:00
Valerio Setti 4fb0db47d0 data_files: remove unnecessary ec_256_prv.sec1[.comp].pem files
Their generation was removed from the Makefile, but physical files were
not deleted.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-11-04 12:02:33 +01:00
Valerio Setti a7de749187 data_files: remove duplicate of ec_256 files and regorganize
- there was already a SEC1 formatted EC file for secp256r1 so
  ec_256_prv.sec1.der was useless;
- all other ec_256_[pub|priv] files should be generated starting from
  ec_256_prv.pem

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-23 23:53:11 +02:00
Valerio Setti c1be4dc753 data_files: fix format of ec_256_prv.pk8.der
Previously the file format was PEM even though the extension suggests it
should be DER. This commit set the correct format.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-23 23:10:57 +02:00
Valerio Setti c0011b3574 data_files: fix Makefile's target commands for EC secp256 curves
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-23 18:25:57 +02:00
Valerio Setti 3b52387aef data_files: add files for EC secp256r1 with PKCS8 and DER/PEM formats
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-21 16:11:28 +02:00
Valerio Setti 8f8fbfabc1 data_files: add EC public key file for secp256r1 in RFC 5480 and DER format
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-21 16:11:28 +02:00
Valerio Setti 460f64cd7d data_files: add EC secp256r1 private key data files in SEC1 format
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-21 16:11:28 +02:00
Ari Weiler-Ofek 4f0784cc44 Add AES-CBC PBES2 test keys
Signed-off-by: Ari Weiler-Ofek <ari.weiler-ofek@arm.com>
2025-08-01 16:59:35 +01:00
Ari Weiler-Ofek 1e134931ac Issue #398: Add AES-CBC PBES2 rules and generate test data (.der/.pem)
Signed-off-by: Ari Weiler-Ofek <ari.weiler-ofek@arm.com>
2025-08-01 12:44:59 +01:00
Valerio Setti aa5018defe data_files: fix RSA key X509 certificate
The previous key had only 518 bits for E. Being not a multiple of 8
this didn't allow the key to be imported into PSA.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-06-12 23:00:54 +02:00
Ronald Cron 7fb089ce64 Fix data_files/.gitignore
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-01-15 09:09:07 +01:00
Gilles Peskine 8ae12506ff Merge pull request #43 from mpg/update-gitignore
Update data_files/.gitignore with test output
2024-09-14 12:49:40 +02:00
Gilles Peskine 3249507089 ssl-opt: Fix GnuTLS PSK injection
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-09-06 15:27:19 +02:00
Manuel Pégourié-Gonnard e239d1d4a8 Update data_files/.gitignore with test output
Before this commit, if I run 'make test' in an Mbed TLS work tree,
then afterwards 'git status' lists the framework submodule as unclean
(untracked files) which I find annoying.

Signed-off-by: Manuel Pégourié-Gonnard <mpg@elzevir.fr>
2024-09-05 12:49:39 +02:00
David Horstmann 7fee5fbdbc Move some files to framework repository
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-07-05 15:40:15 +01:00