Hello,
I noticed some functions in this SHA256 implementation aren't inlined (where they possibly can be inlined). These are rotr(), choose(), majority(), sig0(), and sig1(). Compiler by itself will not perform these smaller inlines (without specifying special parameters). This will remove the possible overhead of calling those functions and thus can improve performance.
Hello,
I noticed some functions in this SHA256 implementation aren't inlined (where they possibly can be inlined). These are
rotr(),choose(),majority(),sig0(), andsig1(). Compiler by itself will not perform these smaller inlines (without specifying special parameters). This will remove the possible overhead of calling those functions and thus can improve performance.