]> granicus.if.org Git - esp-idf/commit
mbedtls hardware bignum: Use memcpy instead of REG_WRITE/REG_READ in a loop
authorAngus Gratton <angus@espressif.com>
Mon, 21 Nov 2016 07:08:22 +0000 (18:08 +1100)
committerAngus Gratton <angus@espressif.com>
Mon, 21 Nov 2016 07:09:09 +0000 (18:09 +1100)
commit1d4775558814b6673d59078cc37c8c65274b5d49
tree125685ceb60383f71b6d2465a6233f5537dc0029
parent1cc0b3000b699e9ea451a18c9f255da1e590a62d
mbedtls hardware bignum: Use memcpy instead of REG_WRITE/REG_READ in a loop

Removes memory barriers for better performance, thanks Ivan for pointing
this out.

Manually unrolling the loop further seemed like diminishing returns.
components/mbedtls/port/esp_bignum.c