Dave Rodgman
|
8f5e5c18d8
|
Make memmove_left more efficient
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
2b4486a014
|
Rename mbedtls_ct_uint_if_new to mbedtls_ct_uint_if
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
2243137715
|
Remove old interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
199a2c5d39
|
Use new CT interface in mbedtls_ct_memcpy_offset
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
cf06acac32
|
Use new CT interface in mbedtls_mpi_safe_cond_swap
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
fd492ab1be
|
Use new CT interface in mbedtls_mpi_core_random
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
b59b73e2bc
|
Use new CT interface in mbedtls_mpi_core_add_if
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
8ac9a1df24
|
Use new CT interface in mbedtls_mpi_core_lt_ct
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
231a516682
|
Remove not-needed mbedtls_ct_mpi_uint_cond_assign
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
fd7fab4073
|
Update mbedtls_mpi_core_uint_le_mpi to new CT interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
ee54faf1cd
|
Update mpi_select to use new CT interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
1a7a5626ec
|
Update mbedtls_mpi_lt_mpi_ct to new interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
589ccb8aaa
|
Update mbedtls_mpi_safe_cond_(assign|swap) part 2
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
cd2e38b906
|
Update mbedtls_mpi_safe_cond_(assign|swap) to use new CT interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
a81373f80e
|
Use new CT interface in ssl_msg.c
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
7fe6e6fb2b
|
Add impl of mbedtls_ct_memcpy_if
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
293eedd3ad
|
Use new CT interface in ssl_tls12_server.c
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
9f9c3b8c33
|
Use new CT interface in rsa.c
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
15c142b58d
|
Use new interface in mbedtls_ct_memmove_left
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
6cee26db16
|
Remove old interface for mem_move_to_left
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
debf8679e0
|
Add impl of mbedtls_ct_zeroize_if
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
1c4eaa121f
|
Remove not-needed compiler_opaque in ct_if
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
74e18ebf77
|
Improve const-timeness of mbedtls_ct_bool_lt
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
40a41d0461
|
Introduce new CT interface (retain old interface)
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
14bec1490f
|
tests
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
7d4f019810
|
Move some bignum functions out of constant_time module
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
19e8cd06fe
|
Move mbedtls_ct_rsaes_pkcs1_v15_unpadding into rsa.c
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
0afe001871
|
Expose mbedtls_ct_size_gt and mbedtls_ct_mem_move_to_left in ct interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
2801f7fa8d
|
Move mbedtls_ct_hmac into ssl_msg.c
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
8c94e219f9
|
Evolve mbedtls_ct_uchar_in_range_if interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:48 +01:00 |
|
Dave Rodgman
|
0ee9683987
|
Move mbedtls_ct_base64_(enc|dec)_char into base64.c
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-05-26 12:42:40 +01:00 |
|
Gilles Peskine
|
36ad151b20
|
Merge pull request #7191 from oberon-microsystems/fix-test-sign-hash-check-for-pure-eddsa
Fix test conditions because PURE_EDDSA does not support sign_hash
|
2023-05-25 18:59:40 +02:00 |
|
Paul Elliott
|
981d8b6fc7
|
Merge pull request #7566 from paul-elliott-arm/core_ecp_mod_p448
[Bignum] Convert ecp_mod_p448 over to using core functions
|
2023-05-25 17:11:57 +01:00 |
|
Gilles Peskine
|
3c0e4effe4
|
Merge pull request #7512 from lpy4105/issue/7014/cert_audit-improvement
cert_audit: Improvements of audit script
|
2023-05-24 20:24:48 +02:00 |
|
Gilles Peskine
|
835be986e0
|
Merge pull request #7631 from tom-daubney-arm/remove_surplus_loop_condition_issue_7529
Remove extraneous check in for loop condition
|
2023-05-24 20:24:28 +02:00 |
|
Paul Elliott
|
7050662a48
|
Correct comment header block
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
2023-05-24 17:31:57 +01:00 |
|
Janos Follath
|
a0aa5d8f7e
|
Merge pull request #7582 from xkqian/bignum/test_add_sub_named_moduli
[Bignum] Add add_sub test cases for named moduli curves
|
2023-05-24 14:42:24 +01:00 |
|
Dave Rodgman
|
2b22834357
|
Merge pull request #7644 from tom-daubney-arm/alignment_h_refactoring
Refactor reading of multi-byte values using functions in alignment.h
|
2023-05-24 08:32:52 +01:00 |
|
Thomas Daubney
|
f9f0ba8211
|
Use functions in alignment.h to get value
Refactor code using get functions from alignment.h to
read values.
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
|
2023-05-24 06:24:16 +01:00 |
|
Xiaokang Qian
|
b5844e47c0
|
Change assert to equal base one comments
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
|
2023-05-24 02:11:06 +00:00 |
|
Dave Rodgman
|
b2e551d347
|
Merge pull request #6943 from ucko/2023b-platform
|
2023-05-23 18:37:54 +01:00 |
|
Paul Elliott
|
3b6bf105d1
|
Fix missed renames from N to X
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
|
2023-05-23 17:51:52 +01:00 |
|
Manuel Pégourié-Gonnard
|
9dc9204b77
|
Merge pull request #7554 from valeriosetti/issue7073-reshape
Avoid parse/unparse public ECC keys in PK with USE_PSA when !ECP_C
|
2023-05-23 15:08:45 +02:00 |
|
Manuel Pégourié-Gonnard
|
d7d1039755
|
Merge pull request #7634 from AndrzejKurek/fix-bad-keyfile-prereqs
Fix wrong makefile target
|
2023-05-23 09:27:29 +02:00 |
|
Xiaokang Qian
|
967b477954
|
Add test data "modulus-1" and "modulus-2" for every curve
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
|
2023-05-23 06:07:32 +00:00 |
|
Valerio Setti
|
016264b6cb
|
pk: fix a return value and a typo in comment
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-22 18:40:35 +02:00 |
|
Valerio Setti
|
a7cb845705
|
pk: add checks for the returned ECC family
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-05-22 18:39:43 +02:00 |
|
Gilles Peskine
|
50729eac74
|
Merge pull request #7611 from yanrayw/7609_tweak_build_info_include_order
build_info.h: fix mutual implications with config_psa.h temporarily
|
2023-05-22 17:49:55 +02:00 |
|
Paul Elliott
|
26070670d6
|
Merge pull request #7565 from gabor-mezei-arm/7263_split_out_Koblitz_raw_functions
[Bignum] Split out _raw Koblitz reduction functions
|
2023-05-22 16:03:17 +01:00 |
|
Andrzej Kurek
|
00d55988d9
|
Fix wrong makefile target
Missing tab and a prerequisite that's not a file
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
|
2023-05-22 09:37:55 -04:00 |
|