Cargo Features

kanidm-hsm-crypto has no features set by default.

[dependencies]
kanidm-hsm-crypto = { version = "0.2.0", features = ["tpm", "msextensions"] }
tpm

Enables tss-esapi and tss-esapi-sys

Affects kanidm-hsm-crypto::tpm

msextensions

Affects kanidm-hsm-crypto::LoadableMsOapxbcRsaKey, kanidm-hsm-crypto::MsOapxbcRsaKey, kanidm-hsm-crypto::LoadableMsOapxbcSessionKey, kanidm-hsm-crypto::SealedData, kanidm-hsm-crypto::Tpm.msoapxbc_rsa_key_create, kanidm-hsm-crypto::Tpm.msoapxbc_rsa_key_import, kanidm-hsm-crypto::Tpm.msoapxbc_rsa_key_load, kanidm-hsm-crypto::Tpm.msoapxbc_rsa_public_as_der, kanidm-hsm-crypto::Tpm.msoapxbc_rsa_decipher_session_key, kanidm-hsm-crypto::Tpm.msoapxbc_rsa_yield_session_key, kanidm-hsm-crypto::Tpm.msoapxbc_rsa_seal_data, kanidm-hsm-crypto::Tpm.msoapxbc_rsa_unseal_data