-
-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto: fixes & remove AES-GCM #2888
Conversation
(-Wstrict-prototypes, Cyton forgets a "void")
@@ -67,7 +67,6 @@ cdef extern from "openssl/evp.h": | |||
pass | |||
|
|||
const EVP_CIPHER *EVP_aes_256_ctr() | |||
const EVP_CIPHER *EVP_aes_256_gcm() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i intentionally did not remove gcm although some people have bad feelings about it. other people have also bad feelings about patents (even with the patent license for FOSS and openssl), so there would be gcm as option for them.
technically, I'ld also choose ocb over gcm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chapoly > either, like I argued previously. With no performance impact.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #1031 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, remove OCB as well.?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, keep it, it is hw accelerated and fastest.
@staticmethod | ||
def requirements_check(): | ||
@classmethod | ||
def requirements_check(cls): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting, i didn't notice malfunction here. did you file a bug at cython?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a malfunction, just slightly incorrect code.
foo something(); // this is not a prototype for the function below, compiler can't typecheck!
foo
something() { // this function was not declared above!
return ...;
}
Codecov Report
@@ Coverage Diff @@
## master #2888 +/- ##
==========================================
+ Coverage 86.21% 86.23% +0.02%
==========================================
Files 23 23
Lines 8813 8813
Branches 1484 1484
==========================================
+ Hits 7598 7600 +2
+ Misses 823 822 -1
+ Partials 392 391 -1
Continue to review full report at Codecov.
|
Fixups for #1034