-
Notifications
You must be signed in to change notification settings - Fork 81
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
Symmetric support #8
Commits on Oct 3, 2018
-
Implement cipher.Block for AES and DES3
re #6
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 163e0f1 - Browse repository at this point
Copy the full SHA 163e0f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ffcf58 - Browse repository at this point
Copy the full SHA 5ffcf58View commit details -
re #6
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 227df68 - Browse repository at this point
Copy the full SHA 227df68View commit details -
For testing with SoftHSM2 you need at least version 2.4.0, i.e. at least Debian buster/sid or Ubuntu cosmic (or BYO). This commit also updates our dependency on github.com/miekg/pkcs11 to one with GCM support. re #6
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 9ea5798 - Browse repository at this point
Copy the full SHA 9ea5798View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60813c5 - Browse repository at this point
Copy the full SHA 60813c5View commit details -
Finalized symmetric crypto interface
You can now have a crypto11.BlockModeCloser, and must call Close(), or a cipher.BlockMode, but it has a finalizer. re #6
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 15ff8ec - Browse repository at this point
Copy the full SHA 15ff8ecView commit details -
This is rather an abuse of the cipher.AEAD interface as the name and description both indicate it provides authenticated encryption, which is not the case for CBC. The risk of using it in a context where authentication is required is mitigated only by documentation. re #6
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 851d862 - Browse repository at this point
Copy the full SHA 851d862View commit details -
Richard Kettlewell authored and Richard Kettlewell committed
Oct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 4585ede - Browse repository at this point
Copy the full SHA 4585edeView commit details -
Split symmetric support into separate files
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 1479211 - Browse repository at this point
Copy the full SHA 1479211View commit details -
Configuration menu - View commit details
-
Copy full SHA for 316d26c - Browse repository at this point
Copy the full SHA 316d26cView commit details -
Keep blockModeCloser alive during PKCS#11 calls
re #6
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 90391bc - Browse repository at this point
Copy the full SHA 90391bcView commit details -
Implement HMAC Reset() and make Sum() friendlier
re #7
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 557645c - Browse repository at this point
Copy the full SHA 557645cView commit details -
HMAC empty inputs without panicing
re #7
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for b661a57 - Browse repository at this point
Copy the full SHA b661a57View commit details -
We depend upon miekg/pkcs11#82.
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 4409d84 - Browse repository at this point
Copy the full SHA 4409d84View commit details -
Query GCM capability rather than provider
Richard Kettlewell authored and Richard Kettlewell committedOct 3, 2018 Configuration menu - View commit details
-
Copy full SHA for b92a2ba - Browse repository at this point
Copy the full SHA b92a2baView commit details