Home
last modified time | relevance | path

Searched refs:ovpn_crypto_state (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ovpn/
H A Dcrypto.h54 struct ovpn_crypto_state { struct
67 static inline void ovpn_crypto_state_init(struct ovpn_crypto_state *cs) in ovpn_crypto_state_init() argument
76 ovpn_crypto_key_id_to_slot(const struct ovpn_crypto_state *cs, u8 key_id) in ovpn_crypto_key_id_to_slot()
111 ovpn_crypto_key_slot_primary(const struct ovpn_crypto_state *cs) in ovpn_crypto_key_slot_primary()
131 int ovpn_crypto_state_reset(struct ovpn_crypto_state *cs,
134 void ovpn_crypto_key_slot_delete(struct ovpn_crypto_state *cs,
137 void ovpn_crypto_state_release(struct ovpn_crypto_state *cs);
139 void ovpn_crypto_key_slots_swap(struct ovpn_crypto_state *cs);
141 int ovpn_crypto_config_get(struct ovpn_crypto_state *cs,
145 bool ovpn_crypto_kill_key(struct ovpn_crypto_state *cs, u8 key_id);
H A Dcrypto.c32 void ovpn_crypto_state_release(struct ovpn_crypto_state *cs) in ovpn_crypto_state_release()
50 bool ovpn_crypto_kill_key(struct ovpn_crypto_state *cs, u8 key_id) in ovpn_crypto_kill_key()
78 int ovpn_crypto_state_reset(struct ovpn_crypto_state *cs, in ovpn_crypto_state_reset()
112 void ovpn_crypto_key_slot_delete(struct ovpn_crypto_state *cs, in ovpn_crypto_key_slot_delete()
147 void ovpn_crypto_key_slots_swap(struct ovpn_crypto_state *cs) in ovpn_crypto_key_slots_swap()
176 int ovpn_crypto_config_get(struct ovpn_crypto_state *cs, in ovpn_crypto_config_get()
H A Dpeer.h100 struct ovpn_crypto_state crypto;