Botan
3.9.0
Crypto and TLS for C&
src
lib
prov
tpm2
tpm2_crypto_backend
tpm2_crypto_backend_impl.h
Go to the documentation of this file.
1
/*
2
* TPM 2 TSS crypto callbacks backend implementation
3
* (C) 2024 Jack Lloyd
4
* (C) 2024 René Meusel, Amos Treiber - Rohde & Schwarz Cybersecurity GmbH, financed by LANCOM Systems GmbH
5
*
6
* Botan is released under the Simplified BSD License (see license.txt)
7
*/
8
9
#ifndef BOTAN_TPM2_CRYPTO_BACKEND_IMPL_H_
10
#define BOTAN_TPM2_CRYPTO_BACKEND_IMPL_H_
11
12
struct
ESYS_CONTEXT;
13
14
namespace
Botan::TPM2
{
15
16
/**
17
* Enable Botan's crypto callbacks in the TPM2-TSS for the given @p context.
18
* @throws Not_Implemented if the TPM2-TSS does not support crypto callbacks.
19
*/
20
void
set_crypto_callbacks
(ESYS_CONTEXT* context,
void
* callback_state);
21
22
}
// namespace Botan::TPM2
23
24
#endif
Botan::TPM2
Definition
tpm2_algo_mappings.h:24
Botan::TPM2::set_crypto_callbacks
void set_crypto_callbacks(ESYS_CONTEXT *ctx, void *callback_state)
Definition
tpm2_crypto_backend_impl.cpp:861
Generated by
1.14.0