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