esp-idf/components/mbedtls
Richard Allen 0b51c24238 change(mbedtls/port): optimize gcm_mult()
1) pre-shift GCM last4 to use 32-bit shift

On 32-bit architectures like Aarch32, RV32, Xtensa,
shifting a 64-bit variable by 32-bits is free,
since it changes the register representing half of the 64-bit var.
Pre-shift the last4 array to take advantage of this.

2) unroll first GCM iteration

The first loop of gcm_mult() is different from
the others. By unrolling it separately from the
others, the other iterations may take advantage
of the zero-overhead loop construct, in addition
to saving a conditional branch in the loop.
2024-08-20 16:44:56 +08:00
..
esp_crt_bundle change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2024-07-03 16:01:50 +05:30
mbedtls@72aa687352 feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0 2024-04-18 14:11:02 +05:30
port change(mbedtls/port): optimize gcm_mult() 2024-08-20 16:44:56 +08:00
test_apps Merge branch 'feature/remove_aes_rsa_ds_hmac_spport_for_c61' into 'master' 2024-08-08 17:15:06 +08:00
CMakeLists.txt fix(mbedtls): link esp-cryptoauthlib to mbedcrypto library 2024-08-09 15:30:35 +05:30
Kconfig fix: Fixed build errors with TLS 1.3 only configuration 2024-07-24 13:31:07 +05:30