Home
last modified time | relevance | path

Searched refs:ccmode_siv (Results 1 – 3 of 3) sorted by relevance

/xnu-11215.1.10/EXTERNAL_HEADERS/corecrypto/
H A Dccmode_siv.h26 size_t ccsiv_context_size(const struct ccmode_siv *mode);
36 size_t ccsiv_block_size(const struct ccmode_siv *mode);
47 size_t ccsiv_ciphertext_size(const struct ccmode_siv *mode, size_t plaintext_size);
59 size_t ccsiv_plaintext_size(const struct ccmode_siv *mode, size_t ciphertext_size);
91 int ccsiv_init(const struct ccmode_siv *mode, ccsiv_ctx *ctx,
108 int ccsiv_set_nonce(const struct ccmode_siv *mode, ccsiv_ctx *ctx,
121 int ccsiv_aad(const struct ccmode_siv *mode, ccsiv_ctx *ctx,
151 int ccsiv_crypt(const struct ccmode_siv *mode, ccsiv_ctx *ctx,
161 int ccsiv_reset(const struct ccmode_siv *mode, ccsiv_ctx *ctx);
195 int ccsiv_one_shot(const struct ccmode_siv *mode,
H A Dccmode_impl.h247 struct ccmode_siv { struct
250 int (*CC_SPTR(ccmode_siv, init))(const struct ccmode_siv *siv, ccsiv_ctx *ctx, argument
252 …int (*CC_SPTR(ccmode_siv, set_nonce))(ccsiv_ctx *ctx, size_t nbytes, const uint8_t *in); // coul…
253 …int (*CC_SPTR(ccmode_siv, auth))(ccsiv_ctx *ctx, size_t nbytes, const uint8_t *in); // could jus…
254 … int (*CC_SPTR(ccmode_siv, crypt))(ccsiv_ctx *ctx, size_t nbytes, const uint8_t *in, uint8_t *out);
255 int (*CC_SPTR(ccmode_siv, reset))(ccsiv_ctx *ctx);
H A Dccaes.h100 const struct ccmode_siv *ccaes_siv_encrypt_mode(void);
101 const struct ccmode_siv *ccaes_siv_decrypt_mode(void);