This commit is contained in:
Lucas Gabriel Vuotto 2024-06-10 17:23:48 +00:00
parent 2ebe3467f8
commit f6bddfcd70
6 changed files with 18 additions and 0 deletions

View file

@ -419,11 +419,15 @@ xchacha20_poly1305_open(uint8_t *out, size_t *outlen, void *initparams,
static struct lc_aead_impl chacha20_poly1305_impl = {
.seal = &chacha20_poly1305_seal,
.open = &chacha20_poly1305_open,
.blocklen = LC_CHACHA20_BLOCKLEN,
};
static struct lc_aead_impl xchacha20_poly1305_impl = {
.seal = &xchacha20_poly1305_seal,
.open = &xchacha20_poly1305_open,
.blocklen = LC_XCHACHA20_BLOCKLEN,
};
const struct lc_aead_impl *