esp-idf/components/mbedtls
Richard Allen f45c9f14c3 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-21 18:26:31 +05:30
..
esp_crt_bundle Update common cert authorities csv 2023-03-12 11:00:24 +08:00
mbedtls@72aa687352 feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0 2024-05-15 11:57:14 +05:30
port change(mbedtls/port): optimize gcm_mult() 2024-08-21 18:26:31 +05:30
test_apps ci(mbedtls/gcm): Added test to verify software fallback for non-AES cipher GCM operations 2024-03-12 13:35:54 +05:30
CMakeLists.txt fix(mbedtls/gcm): Fix build failure when config MBEDTLS_HARDWARE_GCM is disabled 2024-02-16 11:55:01 +05:30
Kconfig feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C 2024-04-11 11:51:53 +08:00