Botan 3.4.0
Crypto and TLS for C&
Namespaces | Macros
tpm.cpp File Reference
#include <botan/tpm.h>
#include <botan/der_enc.h>
#include <botan/hash.h>
#include <botan/pk_ops.h>
#include <botan/rsa.h>
#include <botan/internal/fmt.h>
#include <botan/internal/hash_id.h>
#include <botan/internal/workfactor.h>
#include <limits>
#include <trousers/trousers.h>
#include <tss/platform.h>
#include <tss/tspi.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Macros

#define TSPI_CHECK_SUCCESS(expr)
 

Macro Definition Documentation

◆ TSPI_CHECK_SUCCESS

#define TSPI_CHECK_SUCCESS ( expr)
Value:
do { \
TSS_RESULT res = expr; \
if(res != TSS_SUCCESS) \
tss_error(res, #expr, __FILE__, __LINE__); \
} while(0)

Definition at line 66 of file tpm.cpp.

66#define TSPI_CHECK_SUCCESS(expr) \
67 do { \
68 TSS_RESULT res = expr; \
69 if(res != TSS_SUCCESS) \
70 tss_error(res, #expr, __FILE__, __LINE__); \
71 } while(0)

Referenced by Botan::TPM_Context::current_counter(), Botan::TPM_Context::gen_random(), Botan::TPM_PrivateKey::register_key(), Botan::TPM_PrivateKey::registered_keys(), Botan::TPM_Context::stir_random(), Botan::TPM_Context::TPM_Context(), Botan::TPM_PrivateKey::TPM_PrivateKey(), Botan::TPM_PrivateKey::TPM_PrivateKey(), Botan::TPM_PrivateKey::TPM_PrivateKey(), and Botan::TPM_Context::~TPM_Context().