Botan 3.6.0
Crypto and TLS for C&
tpm2_algo_mappings.h File Reference

Internal Header. More...

#include <botan/asn1_obj.h>
#include <botan/exceptn.h>
#include <botan/internal/fmt.h>
#include <botan/internal/scan_name.h>
#include <optional>
#include <string>
#include <string_view>
#include <tss2/tss2_tpm2_types.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 
namespace  Botan::TPM2
 

Functions

std::optional< TPM2_ALG_ID > Botan::TPM2::asymmetric_algorithm_botan_to_tss2 (std::string_view algo_name) noexcept
 
std::optional< std::pair< TPMI_ALG_SYM, TPM2_KEY_BITS > > Botan::TPM2::block_cipher_botan_to_tss2 (std::string_view cipher_name) noexcept
 
std::optional< std::string > Botan::TPM2::block_cipher_tss2_to_botan (TPMI_ALG_SYM cipher_id, TPM2_KEY_BITS key_bits) noexcept
 
std::optional< TPMT_SYM_DEF > Botan::TPM2::cipher_botan_to_tss2 (std::string_view algo_name)
 
std::optional< TPMI_ALG_SYM_MODE > Botan::TPM2::cipher_mode_botan_to_tss2 (std::string_view mode_name) noexcept
 
std::optional< std::string > Botan::TPM2::cipher_mode_tss2_to_botan (TPMI_ALG_SYM_MODE mode_id)
 
std::optional< std::string > Botan::TPM2::cipher_tss2_to_botan (TPMT_SYM_DEF cipher_def) noexcept
 
std::optional< size_t > Botan::TPM2::curve_id_order_byte_size (TPMI_ECC_CURVE curve_id)
 
std::optional< std::string > Botan::TPM2::curve_id_tss2_to_botan (TPMI_ECC_CURVE mode_id)
 
std::string Botan::TPM2::get_botan_hash_name (TPM2_ALG_ID hash_id)
 
std::optional< TPM2_ECC_CURVE > Botan::TPM2::get_tpm2_curve_id (const OID &curve_oid)
 
TPMI_ALG_HASH Botan::TPM2::get_tpm2_hash_type (std::string_view hash_name)
 
TPMT_SYM_DEF Botan::TPM2::get_tpm2_sym_cipher_spec (std::string_view algo_name)
 
std::optional< TPMI_ALG_HASH > Botan::TPM2::hash_algo_botan_to_tss2 (std::string_view hash_name) noexcept
 
std::optional< std::string > Botan::TPM2::hash_algo_tss2_to_botan (TPMI_ALG_HASH hash_id) noexcept
 
std::optional< TPMI_ALG_ASYM_SCHEME > Botan::TPM2::rsa_encryption_padding_botan_to_tss2 (std::string_view name) noexcept
 
std::optional< TPMT_RSA_DECRYPT > Botan::TPM2::rsa_encryption_scheme_botan_to_tss2 (std::string_view padding)
 
std::optional< TPMI_ALG_SIG_SCHEME > Botan::TPM2::rsa_signature_padding_botan_to_tss2 (std::string_view padding_name) noexcept
 
std::optional< TPMT_SIG_SCHEME > Botan::TPM2::rsa_signature_scheme_botan_to_tss2 (std::string_view name)
 

Detailed Description

Internal Header.

Definition in file tpm2_algo_mappings.h.