Lines Matching refs:vctx
50 chacha20_poly1305_setkey(void *vctx, const uint8_t *key, int len) in chacha20_poly1305_setkey() argument
52 struct chacha20_poly1305_ctx *ctx = vctx; in chacha20_poly1305_setkey()
62 chacha20_poly1305_reinit(void *vctx, const uint8_t *iv, size_t ivlen) in chacha20_poly1305_reinit() argument
64 struct chacha20_poly1305_ctx *ctx = vctx; in chacha20_poly1305_reinit()
86 chacha20_poly1305_crypt(void *vctx, const uint8_t *in, uint8_t *out) in chacha20_poly1305_crypt() argument
88 struct chacha20_poly1305_ctx *ctx = vctx; in chacha20_poly1305_crypt()
102 chacha20_poly1305_crypt_multi(void *vctx, const uint8_t *in, uint8_t *out, size_t len) in chacha20_poly1305_crypt_multi() argument
104 struct chacha20_poly1305_ctx *ctx = vctx; in chacha20_poly1305_crypt_multi()
120 chacha20_poly1305_crypt_last(void *vctx, const uint8_t *in, uint8_t *out, in chacha20_poly1305_crypt_last() argument
123 struct chacha20_poly1305_ctx *ctx = vctx; in chacha20_poly1305_crypt_last()
137 chacha20_poly1305_update(void *vctx, const void *data, u_int len) in chacha20_poly1305_update() argument
139 struct chacha20_poly1305_ctx *ctx = vctx; in chacha20_poly1305_update()
146 chacha20_poly1305_final(uint8_t *digest, void *vctx) in chacha20_poly1305_final() argument
148 struct chacha20_poly1305_ctx *ctx = vctx; in chacha20_poly1305_final()
176 xchacha20_poly1305_setkey(void *vctx, const uint8_t *key, int len) in xchacha20_poly1305_setkey() argument
178 struct xchacha20_poly1305_ctx *ctx = vctx; in xchacha20_poly1305_setkey()
189 xchacha20_poly1305_reinit(void *vctx, const uint8_t *iv, size_t ivlen) in xchacha20_poly1305_reinit() argument
191 struct xchacha20_poly1305_ctx *ctx = vctx; in xchacha20_poly1305_reinit()