Lines Matching refs:cpx
108 typedef struct cpx *cpx_t;
188 int cpx_alloc_ctx(cpx_t cpx);
189 void cpx_free_ctx(cpx_t cpx);
191 void cpx_init_ctx_ptr(cpx_t cpx);
193 void cpx_writeprotect(cpx_t cpx);
195 __attribute__((pure)) bool cpx_is_sep_wrapped_key(const struct cpx *);
196 void cpx_set_is_sep_wrapped_key(struct cpx *, bool);
197 __attribute__((pure)) bool cpx_is_composite_key(const struct cpx *);
198 void cpx_set_is_composite_key(struct cpx *, bool);
199 __attribute__((pure)) bool cpx_use_offset_for_iv(const struct cpx *);
200 void cpx_set_use_offset_for_iv(struct cpx *, bool);
201 __attribute__((pure)) bool cpx_synthetic_offset_for_iv(const struct cpx *);
202 void cpx_set_synthetic_offset_for_iv(struct cpx *, bool);
203 __attribute__((pure)) uint16_t cpx_key_len(const struct cpx *);
204 void cpx_set_key_len(struct cpx *, uint16_t key_len);
205 __attribute__((pure)) void *cpx_key(const struct cpx *);
206 aes_encrypt_ctx *cpx_iv_aes_ctx(struct cpx *);
207 void cpx_flush(cpx_t cpx);
208 bool cpx_can_copy(const struct cpx *src, const struct cpx *dst);
209 void cpx_copy(const struct cpx *src, cpx_t dst);
210 uint16_t cpx_max_key_len(const struct cpx *cpx);
211 bool cpx_has_key(const struct cpx *cpx);
212 size_t cpx_sizex(const struct cpx *cpx);
213 void cpx_set_aes_iv_key(struct cpx *cpx, void *iv_key);