|
wickr-crypto-c
|
Data Structures | |
| struct | wickr_stream_iv |
| A deterministic random IV generator using a 64 byte secure random seed and HMAC-SHA512. More... | |
Functions | |
| wickr_stream_iv_t * | wickr_stream_iv_create (const wickr_crypto_engine_t engine, wickr_cipher_t cipher) |
| wickr_stream_iv_t * | wickr_stream_iv_copy (const wickr_stream_iv_t *iv) |
| void | wickr_stream_iv_destroy (wickr_stream_iv_t **iv) |
| wickr_buffer_t * | wickr_stream_iv_generate (wickr_stream_iv_t *iv) |
| wickr_stream_iv_t* wickr_stream_iv_copy | ( | const wickr_stream_iv_t * | iv | ) |
Copy a stream iv generator
| iv | the stream iv generator to copy |
| wickr_stream_iv_t* wickr_stream_iv_create | ( | const wickr_crypto_engine_t | engine, |
| wickr_cipher_t | cipher | ||
| ) |
Create a stream iv generator using an engine and cipher
| engine | see 'wickr_stream_iv' property documentation |
| cipher | see 'wickr_stream_iv' property documentation |
| void wickr_stream_iv_destroy | ( | wickr_stream_iv_t ** | iv | ) |
Destroy a stream iv generator
| iv | a pointer to a stream iv generator to destroy. Will destroy the sub properties of '*iv' as well |
| wickr_buffer_t* wickr_stream_iv_generate | ( | wickr_stream_iv_t * | iv | ) |
Generate a new unique IV. gen_count will be increamented after calling this method, so subsequent calls will output unique values
| iv | the stream iv generator to use for IV generation |