|
CCF
|
#include "ccf/crypto/ec_key_pair.h"#include "ccf/crypto/entropy.h"#include "ccf/crypto/hkdf.h"#include "ccf/crypto/symmetric_key.h"#include "ccf/crypto/verifier.h"#include "ccf/ds/ccf_exception.h"#include "ccf/ds/hex.h"#include "ccf/entity_id.h"#include "ccf/pal/locking.h"#include "crypto/key_exchange.h"#include "ds/internal_logger.h"#include "ds/serialized.h"#include "ds/state_machine.h"#include "node/node_types.h"#include <iostream>#include <map>#include <openssl/crypto.h>Go to the source code of this file.
Classes | |
| struct | formatter< ccf::ChannelStatus > |
| struct | ccf::WireNonce |
| class | ccf::Channel |
Namespaces | |
| namespace | ccf |
Macros | |
| #define | CHANNEL_RECV_TRACE(s, ...) LOG_TRACE_FMT("<- {} ({}): " s, peer_id, status.value(), ##__VA_ARGS__) |
| #define | CHANNEL_SEND_TRACE(s, ...) LOG_TRACE_FMT("-> {} ({}): " s, peer_id, status.value(), ##__VA_ARGS__) |
| #define | CHANNEL_RECV_FAIL(s, ...) LOG_FAIL_FMT("<- {} ({}): " s, peer_id, status.value(), ##__VA_ARGS__) |
| #define | CHANNEL_SEND_FAIL(s, ...) LOG_FAIL_FMT("-> {} ({}): " s, peer_id, status.value(), ##__VA_ARGS__) |
Typedefs | |
| using | ccf::MsgNonce = uint64_t |
| using | ccf::GcmHdr = ccf::crypto::FixedSizeGcmHeader< sizeof(MsgNonce)> |
Enumerations | |
| enum | ccf::ChannelStatus : uint8_t { ccf::INACTIVE = 0 , ccf::INITIATED , ccf::WAITING_FOR_FINAL , ccf::ESTABLISHED } |
Functions | |
| WireNonce | ccf::get_wire_nonce (const GcmHdr &header) |
| template<typename T > | |
| void | ccf::append_value (std::vector< uint8_t > &target, const T &t) |
| void | ccf::append_buffer (std::vector< uint8_t > &target, std::span< const uint8_t > src) |
| #define CHANNEL_RECV_FAIL | ( | s, | |
| ... | |||
| ) | LOG_FAIL_FMT("<- {} ({}): " s, peer_id, status.value(), ##__VA_ARGS__) |
| #define CHANNEL_RECV_TRACE | ( | s, | |
| ... | |||
| ) | LOG_TRACE_FMT("<- {} ({}): " s, peer_id, status.value(), ##__VA_ARGS__) |
| #define CHANNEL_SEND_FAIL | ( | s, | |
| ... | |||
| ) | LOG_FAIL_FMT("-> {} ({}): " s, peer_id, status.value(), ##__VA_ARGS__) |
| #define CHANNEL_SEND_TRACE | ( | s, | |
| ... | |||
| ) | LOG_TRACE_FMT("-> {} ({}): " s, peer_id, status.value(), ##__VA_ARGS__) |