Hi Ard, Thanks for all the inputs. On Friday 02 June 2017 05:14 PM, Ard Biesheuvel wrote: >> Alternatively, a SHA-256 implementation that uses movz/movk sequences >> instead of ldr instructions to load the round constants would already >> be 5x faster, given that we don't need page tables to enable the >> I-cache. > Actually, looking at the C code and the objdump of the kernel's > sha256_generic driver, it is likely that it is already doing this, and > none of the points I made actually make a lot of sense ... > > Pratyush: I assume you are already enabling the I-cache in the purgatory? It's not enabled yet. But, I had tried first with enabling only I-cache, but that did not make much difference in execution time. ~Pratyush