forked from randombit/botan
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow using Botan for the TPM2 TSS' crypto needs
This adds an implementation of the tpm2-tss crypto callbacks. If enabled, Botan will be used for the client-side crypto functions to communicate with the TPM. This lets applications shed a transitive dependency on another crypto library (like OpenSSL or mbedTLS). The crypto callbacks are available in tpm2-tss 4.0 and later. Before that, calling TPM2::Context::use_botan_crypto_backend() will result in an exception. Co-Authored-By: René Meusel <[email protected]>
- Loading branch information
1 parent
403f899
commit 6f1d96b
Showing
6 changed files
with
968 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<defines> | ||
TPM2_CRYPTO_BACKEND -> 20240806 | ||
</defines> | ||
|
||
<module_info> | ||
name -> "TPM2 Crypto Backend" | ||
brief -> "Implementation of the TPM2-TSS crypto callbacks" | ||
</module_info> | ||
|
||
<requires> | ||
hash | ||
hmac | ||
modes | ||
pk_pad | ||
eme_raw | ||
</requires> | ||
|
||
<header:internal> | ||
tpm2_crypto_backend.h | ||
</header:internal> |
Oops, something went wrong.