Lines Matching refs:vctx
63 static void des_freectx(void *vctx) in des_freectx() argument
65 PROV_DES_CTX *ctx = (PROV_DES_CTX *)vctx; in des_freectx()
67 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in des_freectx()
71 static int des_init(void *vctx, const unsigned char *key, size_t keylen, in des_init() argument
75 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in des_init()
104 static int des_einit(void *vctx, const unsigned char *key, size_t keylen, in des_einit() argument
108 return des_init(vctx, key, keylen, iv, ivlen, params, 1); in des_einit()
111 static int des_dinit(void *vctx, const unsigned char *key, size_t keylen, in des_dinit() argument
115 return des_init(vctx, key, keylen, iv, ivlen, params, 0); in des_dinit()
134 static int des_get_ctx_params(void *vctx, OSSL_PARAM params[])
136 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx;
139 if (!ossl_cipher_generic_get_ctx_params(vctx, params))