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
mbedtls_cipher_base_t Struct Reference

Public Attributes

mbedtls_cipher_id_t cipher
int(* ecb_func )(void *ctx, mbedtls_operation_t mode, const unsigned char *input, unsigned char *output)
int(* cbc_func )(void *ctx, mbedtls_operation_t mode, size_t length, unsigned char *iv, const unsigned char *input, unsigned char *output)
int(* ctr_func )(void *ctx, size_t length, size_t *nc_off, unsigned char *nonce_counter, unsigned char *stream_block, const unsigned char *input, unsigned char *output)
int(* setkey_enc_func )(void *ctx, const unsigned char *key, unsigned int key_bitlen)
int(* setkey_dec_func )(void *ctx, const unsigned char *key, unsigned int key_bitlen)
void *(* ctx_alloc_func )(void)
void(* ctx_free_func )(void *ctx)

Detailed Description

Base cipher information. The non-mode specific functions and values.

Member Data Documentation

◆ cipher

mbedtls_cipher_id_t mbedtls_cipher_base_t::cipher

Base Cipher type (e.g. MBEDTLS_CIPHER_ID_AES)

◆ ecb_func

int(* mbedtls_cipher_base_t::ecb_func) (void *ctx, mbedtls_operation_t mode, const unsigned char *input, unsigned char *output)

Encrypt using ECB

◆ cbc_func

int(* mbedtls_cipher_base_t::cbc_func) (void *ctx, mbedtls_operation_t mode, size_t length, unsigned char *iv, const unsigned char *input, unsigned char *output)

Encrypt using CBC

◆ ctr_func

int(* mbedtls_cipher_base_t::ctr_func) (void *ctx, size_t length, size_t *nc_off, unsigned char *nonce_counter, unsigned char *stream_block, const unsigned char *input, unsigned char *output)

Encrypt using CTR

◆ setkey_enc_func

int(* mbedtls_cipher_base_t::setkey_enc_func) (void *ctx, const unsigned char *key, unsigned int key_bitlen)

Set key for encryption purposes

◆ setkey_dec_func

int(* mbedtls_cipher_base_t::setkey_dec_func) (void *ctx, const unsigned char *key, unsigned int key_bitlen)

Set key for decryption purposes

◆ ctx_alloc_func

void *(* mbedtls_cipher_base_t::ctx_alloc_func) (void)

Allocate a new context

◆ ctx_free_func

void(* mbedtls_cipher_base_t::ctx_free_func) (void *ctx)

Free the given context


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