Searched refs:ovpn_crypto_state (Results 1 – 3 of 3) sorted by relevance
52 struct ovpn_crypto_state { struct65 static inline void ovpn_crypto_state_init(struct ovpn_crypto_state *cs) in ovpn_crypto_state_init() argument74 ovpn_crypto_key_id_to_slot(const struct ovpn_crypto_state *cs, u8 key_id) in ovpn_crypto_key_id_to_slot()109 ovpn_crypto_key_slot_primary(const struct ovpn_crypto_state *cs) in ovpn_crypto_key_slot_primary()129 int ovpn_crypto_state_reset(struct ovpn_crypto_state *cs,132 void ovpn_crypto_key_slot_delete(struct ovpn_crypto_state *cs,135 void ovpn_crypto_state_release(struct ovpn_crypto_state *cs);137 void ovpn_crypto_key_slots_swap(struct ovpn_crypto_state *cs);139 int ovpn_crypto_config_get(struct ovpn_crypto_state *cs,143 bool ovpn_crypto_kill_key(struct ovpn_crypto_state *cs, u8 key_id);
40 void ovpn_crypto_state_release(struct ovpn_crypto_state *cs) in ovpn_crypto_state_release()58 bool ovpn_crypto_kill_key(struct ovpn_crypto_state *cs, u8 key_id) in ovpn_crypto_kill_key()82 int ovpn_crypto_state_reset(struct ovpn_crypto_state *cs, in ovpn_crypto_state_reset()116 void ovpn_crypto_key_slot_delete(struct ovpn_crypto_state *cs, in ovpn_crypto_key_slot_delete()151 void ovpn_crypto_key_slots_swap(struct ovpn_crypto_state *cs) in ovpn_crypto_key_slots_swap()180 int ovpn_crypto_config_get(struct ovpn_crypto_state *cs, in ovpn_crypto_config_get()
98 struct ovpn_crypto_state crypto;