summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/dsa/dsatest.c
diff options
context:
space:
mode:
authorjsing <>2023-08-11 15:25:36 +0000
committerjsing <>2023-08-11 15:25:36 +0000
commite5c37e5e9f9d7f447090e5f144afac1bcc9341d9 (patch)
treeeb5d6cc5a362f5b5bae5441e8d0134cab87ecb2c /src/regress/lib/libcrypto/dsa/dsatest.c
parent1d23790aedecd16063a7b5e8eb1b0f7009f81d22 (diff)
downloadopenbsd-e5c37e5e9f9d7f447090e5f144afac1bcc9341d9.tar.gz
openbsd-e5c37e5e9f9d7f447090e5f144afac1bcc9341d9.tar.bz2
openbsd-e5c37e5e9f9d7f447090e5f144afac1bcc9341d9.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/regress/lib/libcrypto/dsa/dsatest.c')
0 files changed, 0 insertions, 0 deletions