summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_DigestInit.3
diff options
context:
space:
mode:
authorjsing <>2023-08-11 15:25:36 +0000
committerjsing <>2023-08-11 15:25:36 +0000
commit7a3dd68a4f6fdb4ee9becd43c30327999e64405c (patch)
treeeb5d6cc5a362f5b5bae5441e8d0134cab87ecb2c /src/lib/libcrypto/man/EVP_DigestInit.3
parent7bf985b2585d3c60a607e8ff8e3c261213a8dde3 (diff)
downloadopenbsd-7a3dd68a4f6fdb4ee9becd43c30327999e64405c.tar.gz
openbsd-7a3dd68a4f6fdb4ee9becd43c30327999e64405c.tar.bz2
openbsd-7a3dd68a4f6fdb4ee9becd43c30327999e64405c.zip
Demacro sha256.
Replace macros with static inline functions, as well as writing out the variable rotations instead of trying to outsmart the compiler. Also pull the message schedule update up and complete it prior to commencement of the round. Also use rotate right, rather than transposed rotate left. Overall this is more readable and more closely follows the specification. On some platforms (e.g. aarch64) there is no noteable change in performance, while on others there is a significant improvement (more than 25% on arm). ok miod@ tb@
Diffstat (limited to 'src/lib/libcrypto/man/EVP_DigestInit.3')
0 files changed, 0 insertions, 0 deletions