esp-idf/components/mbedtls
Richard Allen 0d3856e369 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-09-17 20:06:24 +08:00
..
esp_crt_bundle change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2024-03-12 10:00:36 +08:00
mbedtls@72aa687352 feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0 2024-05-07 14:16:21 +05:30
port change(mbedtls/port): optimize gcm_mult() 2024-09-17 20:06:24 +08:00
test_apps ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
CMakeLists.txt feat(mbedtls): support rom mbedtls threading layer 2024-09-10 10:00:44 +08:00
Kconfig feat(mbedtls): support rom mbedtls threading layer 2024-09-10 10:00:44 +08:00