Lines Matching refs:vctx
104 static int aes_ocb_init(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_init() argument
108 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_init()
141 static int aes_ocb_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_einit() argument
145 return aes_ocb_init(vctx, key, keylen, iv, ivlen, params, 1); in aes_ocb_einit()
148 static int aes_ocb_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_dinit() argument
152 return aes_ocb_init(vctx, key, keylen, iv, ivlen, params, 0); in aes_ocb_dinit()
231 static int aes_ocb_block_update(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_update() argument
235 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_block_update()
262 static int aes_ocb_block_final(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_final() argument
265 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_block_final()
323 static void aes_ocb_freectx(void *vctx) in aes_ocb_freectx() argument
325 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_freectx()
329 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in aes_ocb_freectx()
334 static void *aes_ocb_dupctx(void *vctx) in aes_ocb_dupctx() argument
336 PROV_AES_OCB_CTX *in = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_dupctx()
353 static int aes_ocb_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_ocb_set_ctx_params() argument
355 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_set_ctx_params()
417 static int aes_ocb_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_ocb_get_ctx_params() argument
419 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_get_ctx_params()
506 static int aes_ocb_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_cipher() argument
509 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_cipher()