webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Typedefs | Enumerations | Functions
crypto_kernel.h File Reference
#include "cipher.h"
#include "auth.h"
#include "err.h"
#include "crypto_types.h"
#include "key.h"

Go to the source code of this file.

Classes

struct  srtp_kernel_cipher_type
 
struct  srtp_kernel_auth_type
 
struct  srtp_kernel_debug_module
 
struct  srtp_crypto_kernel_t
 

Typedefs

typedef struct srtp_kernel_cipher_type srtp_kernel_cipher_type_t
 
typedef struct srtp_kernel_auth_type srtp_kernel_auth_type_t
 
typedef struct srtp_kernel_debug_module srtp_kernel_debug_module_t
 

Enumerations

enum  srtp_crypto_kernel_state_t { srtp_crypto_kernel_state_insecure, srtp_crypto_kernel_state_secure }
 

Functions

srtp_err_status_t srtp_crypto_kernel_init (void)
 
srtp_err_status_t srtp_crypto_kernel_shutdown (void)
 
srtp_err_status_t srtp_crypto_kernel_status (void)
 
srtp_err_status_t srtp_crypto_kernel_list_debug_modules (void)
 
srtp_err_status_t srtp_crypto_kernel_load_cipher_type (const srtp_cipher_type_t *ct, srtp_cipher_type_id_t id)
 
srtp_err_status_t srtp_crypto_kernel_load_auth_type (const srtp_auth_type_t *ct, srtp_auth_type_id_t id)
 
srtp_err_status_t srtp_crypto_kernel_load_debug_module (srtp_debug_module_t *new_dm)
 
srtp_err_status_t srtp_crypto_kernel_alloc_cipher (srtp_cipher_type_id_t id, srtp_cipher_pointer_t *cp, int key_len, int tag_len)
 
srtp_err_status_t srtp_crypto_kernel_alloc_auth (srtp_auth_type_id_t id, srtp_auth_pointer_t *ap, int key_len, int tag_len)
 
srtp_err_status_t srtp_crypto_kernel_set_debug_module (char *mod_name, int v)
 

Typedef Documentation

◆ srtp_kernel_auth_type_t

◆ srtp_kernel_cipher_type_t

◆ srtp_kernel_debug_module_t

Enumeration Type Documentation

◆ srtp_crypto_kernel_state_t

Enumerator
srtp_crypto_kernel_state_insecure 
srtp_crypto_kernel_state_secure 

Function Documentation

◆ srtp_crypto_kernel_alloc_auth()

srtp_err_status_t srtp_crypto_kernel_alloc_auth ( srtp_auth_type_id_t  id,
srtp_auth_pointer_t ap,
int  key_len,
int  tag_len 
)

◆ srtp_crypto_kernel_alloc_cipher()

srtp_err_status_t srtp_crypto_kernel_alloc_cipher ( srtp_cipher_type_id_t  id,
srtp_cipher_pointer_t cp,
int  key_len,
int  tag_len 
)

◆ srtp_crypto_kernel_init()

srtp_err_status_t srtp_crypto_kernel_init ( void  )

◆ srtp_crypto_kernel_list_debug_modules()

srtp_err_status_t srtp_crypto_kernel_list_debug_modules ( void  )

◆ srtp_crypto_kernel_load_auth_type()

srtp_err_status_t srtp_crypto_kernel_load_auth_type ( const srtp_auth_type_t ct,
srtp_auth_type_id_t  id 
)

◆ srtp_crypto_kernel_load_cipher_type()

srtp_err_status_t srtp_crypto_kernel_load_cipher_type ( const srtp_cipher_type_t ct,
srtp_cipher_type_id_t  id 
)

◆ srtp_crypto_kernel_load_debug_module()

srtp_err_status_t srtp_crypto_kernel_load_debug_module ( srtp_debug_module_t new_dm)

◆ srtp_crypto_kernel_set_debug_module()

srtp_err_status_t srtp_crypto_kernel_set_debug_module ( char *  mod_name,
int  v 
)

◆ srtp_crypto_kernel_shutdown()

srtp_err_status_t srtp_crypto_kernel_shutdown ( void  )

◆ srtp_crypto_kernel_status()

srtp_err_status_t srtp_crypto_kernel_status ( void  )