mbedtls_cipher_base_t is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxReferencesInstances

Fields

Field
Declared as
Description
Base Cipher type (e.g. MBEDTLS_CIPHER_ID_AES).
int (*)(void *ctx, mbedtls_operation_t mode, const unsigned char *input, unsigned char *output)
Encrypt using ECB.
int (*)(void *ctx, mbedtls_operation_t mode, size_t length, unsigned char *iv, const unsigned char *input, unsigned char *output)
Encrypt using CBC.
int (*)(void *ctx, mbedtls_operation_t mode, size_t length, size_t *iv_off, unsigned char *iv, const unsigned char *input, unsigned char *output)
Encrypt using CFB (Full length).
int (*)(void *ctx, size_t length, size_t *iv_off, unsigned char *iv, const unsigned char *input, unsigned char *output)
Encrypt using OFB (Full length).
int (*)(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.
int (*)(void *ctx, mbedtls_operation_t mode, size_t length, const unsigned char data_unit[16], const unsigned char *input, unsigned char *output)
Encrypt or decrypt using XTS.
int (*)(void *ctx, const unsigned char *key, unsigned int key_bitlen)
Set key for encryption purposes.
int (*)(void *ctx, const unsigned char *key, unsigned int key_bitlen)
Set key for decryption purposes.
void * (*)(void)
Allocate a new context.
void (*)(void *ctx)
Free the given context.