Lines Matching refs:vctx
65 static void des_freectx(void *vctx) in des_freectx() argument
67 PROV_DES_CTX *ctx = (PROV_DES_CTX *)vctx; in des_freectx()
69 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in des_freectx()
73 static int des_init(void *vctx, const unsigned char *key, size_t keylen, in des_init() argument
77 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in des_init()
106 static int des_einit(void *vctx, const unsigned char *key, size_t keylen, in des_einit() argument
110 return des_init(vctx, key, keylen, iv, ivlen, params, 1); in des_einit()
113 static int des_dinit(void *vctx, const unsigned char *key, size_t keylen, in des_dinit() argument
117 return des_init(vctx, key, keylen, iv, ivlen, params, 0); in des_dinit()
136 static int des_get_ctx_params(void *vctx, OSSL_PARAM params[])
138 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx;
141 if (!ossl_cipher_generic_get_ctx_params(vctx, params))