wickr-crypto-c

Data Fields
wickr_cipher_result Struct Reference
wickr_cipher_t

`#include <cipher.h>`

## Data Fields
wickr_cipher_t | cipher
wickr_buffer_t * | iv
wickr_buffer_t * | cipher_text
wickr_buffer_t * | auth_tag

## Detailed Description

The result of a cipher operation. Contains the components that are outputted by a cipher function

## Field Documentation

## ◆ auth_tag

wickr_cipher_result::auth_tag

the calculated authentication tag for the output of the cipher function. Can be NULL if a non-authenticated cipher is used

## ◆ cipher

wickr_cipher_result::cipher

the cipher used to create the cipher result

## ◆ cipher_text

wickr_cipher_result::cipher_text

the output of the cipher function using 'cipher' and 'iv'

## ◆ iv

wickr_cipher_result::iv

the initialization vector used in the cipher function

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

- src/wickrcrypto/include/wickrcrypto/cipher.h