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