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