49#include "crypto_types.h"
63 srtp_direction_encrypt,
64 srtp_direction_decrypt,
66} srtp_cipher_direction_t;
103 unsigned int *octets_to_encrypt);
109 unsigned int *octets_to_decrypt);
117 srtp_cipher_direction_t direction);
135 int key_length_octets;
138 unsigned int plaintext_length_octets;
139 const uint8_t *plaintext;
140 unsigned int ciphertext_length_octets;
141 const uint8_t *ciphertext;
142 int aad_length_octets;
144 int tag_length_octets;
151 srtp_cipher_alloc_func_t alloc;
152 srtp_cipher_dealloc_func_t dealloc;
153 srtp_cipher_init_func_t init;
154 srtp_cipher_set_aad_func_t set_aad;
155 srtp_cipher_encrypt_func_t encrypt;
156 srtp_cipher_encrypt_func_t decrypt;
157 srtp_cipher_set_iv_func_t set_iv;
158 srtp_cipher_get_tag_func_t get_tag;
159 const char *description;
206 int octets_in_buffer,
220 uint32_t *num_octets_to_output);
223 uint32_t *num_octets_to_output);
226 uint32_t *num_octets_to_output);
srtp_err_status_t
srtp_err_status_t defines error codes.
Definition srtp.h:164
uint32_t srtp_cipher_type_id_t
A srtp_cipher_type_id_t is an identifier for a particular cipher type.
Definition srtp.h:139