36__attribute__((visibility(
"default")))
45__attribute__((visibility(
"default")))
47 struct zpc_aes_key *key2);
55__attribute__((visibility(
"default")))
65__attribute__((visibility(
"default")))
75__attribute__((visibility(
"default")))
85__attribute__((visibility(
"default")))
87 const
unsigned char *pt,
size_t ptlen);
96__attribute__((visibility(
"default")))
98 const
unsigned char *ct,
size_t ctlen);
103__attribute__((visibility(
"default")))
int zpc_aes_xts_encrypt(struct zpc_aes_xts *ctx, unsigned char *ct, const unsigned char *pt, size_t ptlen)
int zpc_aes_xts_get_intermediate_iv(struct zpc_aes_xts *ctx, unsigned char iv[16])
void zpc_aes_xts_free(struct zpc_aes_xts **ctx)
int zpc_aes_xts_set_key(struct zpc_aes_xts *ctx, struct zpc_aes_key *key1, struct zpc_aes_key *key2)
int zpc_aes_xts_set_iv(struct zpc_aes_xts *ctx, const unsigned char *iv)
int zpc_aes_xts_decrypt(struct zpc_aes_xts *ctx, unsigned char *pt, const unsigned char *ct, size_t ctlen)
int zpc_aes_xts_set_intermediate_iv(struct zpc_aes_xts *ctx, const unsigned char iv[16])
int zpc_aes_xts_alloc(struct zpc_aes_xts **ctx)