|
CCF
|
Functions | |
| crypto::GcmCipher | aes_gcm_sealing (std::span< const uint8_t > raw_key, std::span< const uint8_t > plaintext, const std::span< uint8_t > &aad) |
| std::vector< uint8_t > | aes_gcm_unsealing (std::span< const uint8_t > raw_key, std::vector< uint8_t > sealed_text, std::span< const uint8_t > aad) |
| std::vector< uint8_t > | derive_snp_sealing_key (const ccf::pal::snp::TcbVersionRaw &tcb_version) |
| SealedRecoveryKey | get_snp_sealed_recovery_key (const pal::snp::TcbVersionRaw &tcb_version) |
| EncryptedSealedSharesMap | compute_encrypted_sealed_shares (ccf::kv::Tx &tx, const SharedLedgerSecretWrappingKey &ls_wrapping_key) |
| void | shuffle_sealed_shares (ccf::kv::Tx &tx, const LedgerSecretPtr &latest_ledger_secret) |
| crypto::RSAKeyPairPtr | unseal_recovery_key (std::span< uint8_t > derived_key, const SealedRecoveryKey &sealed_key) |
| std::optional< LedgerSecretPtr > | unseal_share (ccf::kv::ReadOnlyTx &tx, const std::vector< uint8_t > &sealed_wrapping_key, const SealedRecoveryKey &sealed_recovery_key) |
Variables | |
| const std::string | LOCAL_SEALING_LABEL = "CCF AMD Local Sealing Key" |
| crypto::GcmCipher ccf::sealing::aes_gcm_sealing | ( | std::span< const uint8_t > | raw_key, |
| std::span< const uint8_t > | plaintext, | ||
| const std::span< uint8_t > & | aad | ||
| ) |
| std::vector< uint8_t > ccf::sealing::aes_gcm_unsealing | ( | std::span< const uint8_t > | raw_key, |
| std::vector< uint8_t > | sealed_text, | ||
| std::span< const uint8_t > | aad | ||
| ) |
| EncryptedSealedSharesMap ccf::sealing::compute_encrypted_sealed_shares | ( | ccf::kv::Tx & | tx, |
| const SharedLedgerSecretWrappingKey & | ls_wrapping_key | ||
| ) |
| std::vector< uint8_t > ccf::sealing::derive_snp_sealing_key | ( | const ccf::pal::snp::TcbVersionRaw & | tcb_version | ) |
| SealedRecoveryKey ccf::sealing::get_snp_sealed_recovery_key | ( | const pal::snp::TcbVersionRaw & | tcb_version | ) |
| void ccf::sealing::shuffle_sealed_shares | ( | ccf::kv::Tx & | tx, |
| const LedgerSecretPtr & | latest_ledger_secret | ||
| ) |
| crypto::RSAKeyPairPtr ccf::sealing::unseal_recovery_key | ( | std::span< uint8_t > | derived_key, |
| const SealedRecoveryKey & | sealed_key | ||
| ) |
| std::optional< LedgerSecretPtr > ccf::sealing::unseal_share | ( | ccf::kv::ReadOnlyTx & | tx, |
| const std::vector< uint8_t > & | sealed_wrapping_key, | ||
| const SealedRecoveryKey & | sealed_recovery_key | ||
| ) |
| const std::string ccf::sealing::LOCAL_SEALING_LABEL = "CCF AMD Local Sealing Key" |