Skip to content
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

Merged
merged 3 commits into from
Jul 29, 2017
Merged

Conversation

enkore
Copy link
Contributor

@enkore enkore commented Jul 29, 2017

Fixups for #1034

@@ -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()
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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.?

Copy link
Member

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):
Copy link
Member

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?

Copy link
Contributor Author

@enkore enkore Jul 29, 2017

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-io
Copy link

codecov-io commented Jul 29, 2017

Codecov Report

Merging #2888 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
src/borg/archiver.py 87.54% <0%> (-0.12%) ⬇️
src/borg/helpers.py 88.24% <0%> (+0.07%) ⬆️
src/borg/archive.py 82.97% <0%> (+0.23%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d02c7e...e57dd4b. Read the comment docs.

@enkore enkore merged commit 7b35b1e into borgbackup:master Jul 29, 2017
@enkore enkore deleted the f/remove-gcm branch July 29, 2017 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants