AES128ESP32 Library
Loading...
Searching...
No Matches
databytes Class Reference

baseclass for memory allocation and size information. More...

#include <cryptostructs.h>

Inheritance diagram for databytes:
MasterKeyData encryptedData ivData

Public Member Functions

 databytes (size_t s)
 ~databytes ()
void cleardata ()

Public Attributes

size_t size
unsigned char * data

Detailed Description

baseclass for memory allocation and size information.

Definition at line 8 of file cryptostructs.h.

Constructor & Destructor Documentation

◆ databytes()

databytes::databytes ( size_t s)

. creates and allocates memory or size s.

Definition at line 9 of file cryptostructs.cpp.

◆ ~databytes()

databytes::~databytes ( )

destructor will clear and delete the allocated memory if there is any

Definition at line 16 of file cryptostructs.cpp.

Member Function Documentation

◆ cleardata()

void databytes::cleardata ( )

zeros out the allocated memory

Definition at line 22 of file cryptostructs.cpp.

Member Data Documentation

◆ data

unsigned char* databytes::data

Definition at line 10 of file cryptostructs.h.

◆ size

size_t databytes::size

Definition at line 9 of file cryptostructs.h.


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