Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::EncryptionCanary Struct Reference
Collaboration diagram for duckdb::EncryptionCanary:

Public Member Functions

data_ptr_t data ()
 
idx_t size () const
 

Private Attributes

unique_ptr< data_t[]> canary
 

Constructor & Destructor Documentation

◆ EncryptionCanary()

duckdb::EncryptionCanary::EncryptionCanary ( )
52391 : canary(new data_t[MainHeader::CANARY_BYTE_SIZE]()) {
52392#ifdef DEBUG
52393 // Check whether canary is zero-initialized
52394 for (idx_t i = 0; i < MainHeader::CANARY_BYTE_SIZE; i++) {
52395 if (canary[i] != 0) {
52396 throw InvalidInputException("Nonce is not correctly zero-initialized!");
52397 }
52398 }
52399#endif
52400}
static constexpr idx_t CANARY_BYTE_SIZE
The canary is a known plaintext for detecting wrong keys early.
Definition duckdb.hpp:9767
uint8_t data_t
data pointers
Definition duckdb.hpp:246

Member Function Documentation

◆ data()

data_ptr_t duckdb::EncryptionCanary::data ( )
52402 {
52403 return canary.get();
52404}

◆ size()

idx_t duckdb::EncryptionCanary::size ( ) const
52406 {
52408}

The documentation for this struct was generated from the following file: