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

AES-128 CBC decryption. More...

#include <bbapi_crypto.hpp>

Classes

struct  Response
 

Public Member Functions

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

Public Attributes

std::vector< uint8_t > ciphertext
 
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 [] = "AesDecrypt"
 

Detailed Description

AES-128 CBC decryption.

Definition at line 210 of file bbapi_crypto.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 86 of file bbapi_crypto.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::AesDecrypt::MSGPACK_FIELDS ( ciphertext  ,
iv  ,
key  ,
length   
)

◆ operator==()

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

Member Data Documentation

◆ ciphertext

std::vector<uint8_t> bb::bbapi::AesDecrypt::ciphertext

Definition at line 220 of file bbapi_crypto.hpp.

◆ iv

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

Definition at line 221 of file bbapi_crypto.hpp.

◆ key

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

Definition at line 222 of file bbapi_crypto.hpp.

◆ length

uint32_t bb::bbapi::AesDecrypt::length

Definition at line 223 of file bbapi_crypto.hpp.

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 211 of file bbapi_crypto.hpp.


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