Valerio Setti
|
f57007dd1e
|
pk: fixing and improving comments
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-19 13:54:39 +02:00 |
|
Dave Rodgman
|
0805ad10b2
|
XOR perf improvements
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-19 11:48:10 +01:00 |
|
Dave Rodgman
|
68ef1d6ee6
|
Remove DIY SIZE_MAX definitions
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-18 20:49:03 +01:00 |
|
Paul Elliott
|
9a11f8a122
|
Merge pull request #7573 from tom-cosgrove-arm/add-psa_want_alg_some_pake
Only include psa_pake_setup() and friends if some PAKE algorithms are required
|
2023-05-18 09:59:52 +01:00 |
|
Paul Elliott
|
aa266f29e6
|
Merge pull request #7602 from mprse/AuthorityKeyId_leak_fix
Fix for memory leak while parsing AuthorityKeyId ext
|
2023-05-18 09:57:56 +01:00 |
|
Andrzej Kurek
|
63a6a267a4
|
Check for overflows when writing x509 SANs
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
|
2023-05-17 15:23:56 -04:00 |
|
Andrzej Kurek
|
908716f097
|
Add missing RFC822_NAME case to SAN setting
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
|
2023-05-17 15:23:56 -04:00 |
|
Andrzej Kurek
|
e488c454ea
|
Remove unnecessary zeroization
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
|
2023-05-17 15:23:56 -04:00 |
|
Andrzej Kurek
|
dc22090671
|
Return an error on an unsupported SubjectAltName
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
|
2023-05-17 15:23:56 -04:00 |
|
Andrzej Kurek
|
c6215b0ce1
|
Add braces to a switch case
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
|
2023-05-17 15:23:56 -04:00 |
|
Andrzej Kurek
|
1bc7df2540
|
Add documentation and a changelog entry
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
|
2023-05-17 15:23:56 -04:00 |
|
Dave Rodgman
|
e4cbab6945
|
Merge pull request #7607 from daverodgman/pr6511
|
2023-05-17 19:11:56 +01:00 |
|
Paul Elliott
|
8203f2d89f
|
Merge pull request #7535 from minosgalanakis/ecp/7264_enable_core_shift_l
[Bignum] Adjust mbedtls_mpi_core_shift_l to use the core function
|
2023-05-17 18:45:44 +01:00 |
|
Valerio Setti
|
c1541cb3c7
|
pk: minor fixes (guards and a wrong assignment)
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-17 19:23:02 +02:00 |
|
Gabor Mezei
|
d56e6e008b
|
Add input parameter length check for the Koblitz reduction
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-05-17 17:51:19 +02:00 |
|
Andrzej Kurek
|
67fdb3307d
|
Add a possibility to write subject alt names in a certificate
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
|
2023-05-17 11:45:36 -04:00 |
|
Gabor Mezei
|
fa3f74145b
|
Add documentation
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-05-17 17:35:47 +02:00 |
|
Valerio Setti
|
483738ed67
|
tests: fixes for using the new public key raw format
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-17 15:38:39 +02:00 |
|
Valerio Setti
|
d7ca39511f
|
tls12: use the the raw format for the public key when USE_PSA is enabled
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-17 15:36:18 +02:00 |
|
Valerio Setti
|
7ca7b90bc7
|
debug: add support for printing the new EC raw format
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-17 15:35:46 +02:00 |
|
Valerio Setti
|
a1b8af6869
|
pkwrap: update ECDSA verify and EC pair check to use the new public key
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-17 15:34:57 +02:00 |
|
Valerio Setti
|
4064dbbdb2
|
pk: update pkparse and pkwrite to use the new public key storing solution
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-17 15:33:07 +02:00 |
|
Valerio Setti
|
722f8f7472
|
pk: adding a new field to store the public key in raw format
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-17 15:31:21 +02:00 |
|
Paul Elliott
|
c05f51ded9
|
Convert comments over to X rather than N
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
2023-05-17 14:29:44 +01:00 |
|
Valerio Setti
|
4ac9d44d83
|
pk: fix typos in description of mbedtls_pk_ec_[ro/rw]
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-17 12:32:13 +02:00 |
|
Manuel Pégourié-Gonnard
|
b1c0afe484
|
Merge pull request #7595 from valeriosetti/deprecate_pk_ec
Set mbedtls_pk_ec() as internal function when ECP_C is not defined
|
2023-05-17 12:27:03 +02:00 |
|
Paul Elliott
|
6b1f7f101f
|
Use const where appropriate
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
2023-05-16 17:51:48 +01:00 |
|
Paul Elliott
|
235c1947fb
|
Group memory allocations earlier
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
2023-05-16 17:51:48 +01:00 |
|
Paul Elliott
|
34b08e5005
|
Convert over to using X, X_limbs
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
2023-05-16 17:51:48 +01:00 |
|
Paul Elliott
|
4fa8334bae
|
Convert curve 448 to use ecp core functions
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
2023-05-16 17:51:48 +01:00 |
|
Minos Galanakis
|
0144b35f7d
|
bignum: Updated mbedtls_mpi_shift_l to use the core method.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
|
2023-05-16 17:16:26 +01:00 |
|
Paul Elliott
|
f0806bee66
|
Merge pull request #7489 from minosgalanakis/ecp/7246_xtrack_core_shift_l
[Bignum]: Introduce left shift from prototype
|
2023-05-16 17:13:19 +01:00 |
|
Dave Rodgman
|
8508e50d3d
|
Make use of MBEDTLS_STATIC_ASSERT
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-16 16:43:48 +01:00 |
|
Dave Rodgman
|
ed59ea76a6
|
Document minimum size for DEBUG_BUF_SIZE
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-16 16:42:40 +01:00 |
|
valord577
|
5bfcd1c63b
|
simplify code
Signed-off-by: valord577 <valord577@gmail.com>
|
2023-05-16 16:42:40 +01:00 |
|
valord577
|
176e92711c
|
code style
Signed-off-by: valord577 <valord577@gmail.com>
|
2023-05-16 16:42:40 +01:00 |
|
valord577
|
536893c22f
|
make code readable and change var name
Signed-off-by: valord577 <valord577@gmail.com>
|
2023-05-16 16:42:40 +01:00 |
|
valord577
|
24da0cd0f9
|
send debug msg if contains '\n'
Signed-off-by: valord577 <valord577@gmail.com>
|
2023-05-16 16:42:40 +01:00 |
|
Dave Rodgman
|
9ecf5f96df
|
Update library/debug.c
Fix trailing white-space
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-16 16:42:40 +01:00 |
|
valord577
|
25418ac734
|
Fix: no newline when debug msg over DEBUG_BUF_SIZE
Signed-off-by: valord577 <valord577@gmail.com>
|
2023-05-16 16:42:40 +01:00 |
|
Gabor Mezei
|
caac83c517
|
Fix comment
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-05-16 17:41:26 +02:00 |
|
Gabor Mezei
|
03558b847e
|
Add _raw function to P256K1
Modified the testing to use the generic fast reduction test function.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-05-16 17:30:03 +02:00 |
|
Gabor Mezei
|
e42bb6294e
|
Add _raw function to P224K1
Modified the testing to use the generic fast reduction test function.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-05-16 17:30:03 +02:00 |
|
Gabor Mezei
|
dacfe56370
|
Add _raw function to P192K1
Modified the testing to use the generic fast reduction test function.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-05-16 17:29:57 +02:00 |
|
Paul Elliott
|
55a701afec
|
Merge pull request #7564 from gabor-mezei-arm/7262_fix_ouput_width_in_ecc_mod_koblitz
[Bignum] Fix output width in ecp_mod_koblitz()
|
2023-05-16 15:24:31 +01:00 |
|
Przemek Stekiel
|
0b11ee0888
|
Fix compilation errors(unused variables, guards)
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-05-16 13:26:06 +02:00 |
|
Przemek Stekiel
|
690ff698f7
|
mbedtls_x509_crt_free: release authorityCertIssuer sequence
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-05-16 11:08:30 +02:00 |
|
Paul Elliott
|
926bcb04fe
|
Merge pull request #7532 from AndrzejKurek/remove-leading-zeroes-ip-parsing
Disallow leading zeroes when parsing IPv4 addresses
|
2023-05-15 13:59:10 +01:00 |
|
Paul Elliott
|
aba165b58c
|
Merge pull request #7586 from gilles-peskine-arm/gitignore-objects-at-root
Ignore *.o everywhere
|
2023-05-15 13:57:24 +01:00 |
|
Gabor Mezei
|
a274041190
|
Fix comment
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-05-15 14:50:17 +02:00 |
|