ovpn_crypto_state
void ovpn_crypto_key_slot_delete(struct ovpn_crypto_state *cs,
void ovpn_crypto_key_slots_swap(struct ovpn_crypto_state *cs)
int ovpn_crypto_config_get(struct ovpn_crypto_state *cs,
void ovpn_crypto_state_release(struct ovpn_crypto_state *cs)
bool ovpn_crypto_kill_key(struct ovpn_crypto_state *cs, u8 key_id)
int ovpn_crypto_state_reset(struct ovpn_crypto_state *cs,
ovpn_crypto_key_slot_primary(const struct ovpn_crypto_state *cs)
int ovpn_crypto_state_reset(struct ovpn_crypto_state *cs,
void ovpn_crypto_key_slot_delete(struct ovpn_crypto_state *cs,
void ovpn_crypto_state_release(struct ovpn_crypto_state *cs);
void ovpn_crypto_key_slots_swap(struct ovpn_crypto_state *cs);
int ovpn_crypto_config_get(struct ovpn_crypto_state *cs,
bool ovpn_crypto_kill_key(struct ovpn_crypto_state *cs, u8 key_id);
static inline void ovpn_crypto_state_init(struct ovpn_crypto_state *cs)
ovpn_crypto_key_id_to_slot(const struct ovpn_crypto_state *cs, u8 key_id)
struct ovpn_crypto_state crypto;