More fixes and improvements - #758
Conversation
6cde560 to
1ee37a5
Compare
|
Do we actually still need sha1_x86_init and sha1_c_init when they are both equal to sha1_init? |
Nope, they could be defined to |
|
similarly sha224_x86_init / sha256_x86_init vs sha224_c_init / sha256_c_init |
1ee37a5 to
2e881d6
Compare
2e881d6 to
bb93c6e
Compare
14477e7 to
207c61f
Compare
MarekKnapek
left a comment
There was a problem hiding this comment.
Maybe also unify the *_done functions. As there is no x86specific logic inside them. They do call the *_process functions which might get dispatched to portable or x86 version, but themselves do not contain any added smart-ness over the portable version.
5f7af18 to
3432f47
Compare
|
Can we move the changes related to "... state They are IMO not easy, whereas the rest of this PR are mostly non-controversial cleanups/improvements. |
3432f47 to
4eb7518
Compare
sjaeckel
left a comment
There was a problem hiding this comment.
Looks like this can be merged!?
They're the only ones which don't follow the same pattern. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Fixes: 6c885c7 ("SM3 hash function") Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
* Use a shared init function. * Fix some functions used in descriptors and implementation. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
While running the tests in verbose mode I saw that `tests/pem/openssl_ed448_x509.pem` is skipped instead of processed. Fixes: 076a110 ("Ed448 + X448") Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
4eb7518 to
97f5d72
Compare
Yes, I have removed stuff related to "... state memcpy()'able again" |
Checklist
Fixes:tag to the commit message