| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Add a checker script.
|
|
|
|
|
|
|
| |
TPM 1.2 expects passing the owner and SRK secret
encrypted with the public endorsement key.
For asymmetric encryption, the TPM 1.2 uses OAEP
with the label "TCPA".
|
|
|
|
|
|
| |
Test vectors from pyca/cryptography
Fixes GH #109
|
|
|
|
| |
Some help from include-what-you-use
|
|
|
|
|
|
| |
Renames a couple of functions for somewhat better name consistency,
eg make_u32bit becomes make_uint32. The old typedefs remain for now
since probably lots of application code uses them.
|
|
|
|
|
|
| |
This required taking a global lock and doing a map lookup each
time an algorithm was requested (and so many times during a TLS
handshake).
|
|
|
|
|
|
|
| |
I repent my use of global constructors.
I repent my use of global locks.
Hopefully I will never touch this code again.
:)
|
|
|
|
|
| |
Performs content checks on the value (expected length, expected bytes)
and in constant time returns either the decrypted value or a random value.
|
|
|
|
| |
explicit.
|
|
|
|
| |
Only user-visible change is the removal of get_byte.h
|
|
|
|
|
|
|
|
| |
With this change the tests pass when linked against a static library
built in the normal (non-amalgamation) fashion.
Remove the restriction in configure.py, and have circleci build the
clang static build as a non-amalg.
|
| |
|
|
|
|
|
| |
Update license header line to specify the terms and refer to the file,
neither of which it included before.
|
|
|