Lines Matching refs:vctx
92 static void aes_wrap_freectx(void *vctx) in aes_wrap_freectx() argument
94 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_freectx()
96 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in aes_wrap_freectx()
100 static int aes_wrap_init(void *vctx, const unsigned char *key, in aes_wrap_init() argument
104 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in aes_wrap_init()
105 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_init()
165 static int aes_wrap_cipher_internal(void *vctx, unsigned char *out, in aes_wrap_cipher_internal() argument
168 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in aes_wrap_cipher_internal()
169 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_cipher_internal()
225 static int aes_wrap_final(void *vctx, unsigned char *out, size_t *outl, in aes_wrap_final() argument
235 static int aes_wrap_cipher(void *vctx, in aes_wrap_cipher() argument
239 PROV_AES_WRAP_CTX *ctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_cipher()
263 static int aes_wrap_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_wrap_set_ctx_params() argument
265 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in aes_wrap_set_ctx_params()