8#ifndef ZPC_AES_XTS_FULL_H
9# define ZPC_AES_XTS_FULL_H
34struct zpc_aes_xts_full;
42__attribute__((visibility(
"default")))
50__attribute__((visibility(
"default")))
59__attribute__((visibility(
"default")))
69__attribute__((visibility(
"default")))
79__attribute__((visibility(
"default")))
89__attribute__((visibility(
"default")))
91 const
unsigned char *pt,
size_t ptlen);
100__attribute__((visibility(
"default")))
102 const
unsigned char *ct,
size_t ctlen);
107__attribute__((visibility(
"default")))
void zpc_aes_xts_full_free(struct zpc_aes_xts_full **ctx)
int zpc_aes_xts_full_set_iv(struct zpc_aes_xts_full *ctx, const unsigned char *iv)
int zpc_aes_xts_full_alloc(struct zpc_aes_xts_full **ctx)
int zpc_aes_xts_full_set_key(struct zpc_aes_xts_full *ctx, struct zpc_aes_xts_key *key)
int zpc_aes_xts_full_decrypt(struct zpc_aes_xts_full *ctx, unsigned char *pt, const unsigned char *ct, size_t ctlen)
int zpc_aes_xts_full_encrypt(struct zpc_aes_xts_full *ctx, unsigned char *ct, const unsigned char *pt, size_t ptlen)
int zpc_aes_xts_full_import(struct zpc_aes_xts_full *ctx, const unsigned char state[32])
int zpc_aes_xts_full_export(struct zpc_aes_xts_full *ctx, unsigned char state[32])