Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::bbapi::AesEncrypt Struct Reference

AES-128 CBC encryption. More...

#include <bbapi_crypto.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (plaintext, iv, key, length)
 
bool operator== (const AesEncrypt &) const =default
 

Public Attributes

std::vector< uint8_t > plaintext
 
std::array< uint8_t, 16 > iv
 
std::array< uint8_t, 16 > key
 
uint32_t length
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "AesEncrypt"
 

Detailed Description

AES-128 CBC encryption.

Definition at line 187 of file bbapi_crypto.hpp.

Member Function Documentation

◆ execute()

AesEncrypt::Response bb::bbapi::AesEncrypt::execute ( BBApiRequest request) &&

Definition at line 75 of file bbapi_crypto.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::AesEncrypt::MSGPACK_FIELDS ( plaintext  ,
iv  ,
key  ,
length   
)

◆ operator==()

bool bb::bbapi::AesEncrypt::operator== ( const AesEncrypt ) const
default

Member Data Documentation

◆ iv

std::array<uint8_t, 16> bb::bbapi::AesEncrypt::iv

Definition at line 198 of file bbapi_crypto.hpp.

◆ key

std::array<uint8_t, 16> bb::bbapi::AesEncrypt::key

Definition at line 199 of file bbapi_crypto.hpp.

◆ length

uint32_t bb::bbapi::AesEncrypt::length

Definition at line 200 of file bbapi_crypto.hpp.

◆ MSGPACK_SCHEMA_NAME

constexpr const char bb::bbapi::AesEncrypt::MSGPACK_SCHEMA_NAME[] = "AesEncrypt"
staticconstexpr

Definition at line 188 of file bbapi_crypto.hpp.

◆ plaintext

std::vector<uint8_t> bb::bbapi::AesEncrypt::plaintext

Definition at line 197 of file bbapi_crypto.hpp.


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