Lines Matching refs:vmacctx
75 static void cmac_free(void *vmacctx) in cmac_free() argument
77 struct cmac_data_st *macctx = vmacctx; in cmac_free()
106 static size_t cmac_size(void *vmacctx) in cmac_size() argument
108 struct cmac_data_st *macctx = vmacctx; in cmac_size()
170 static int cmac_init(void *vmacctx, const unsigned char *key, in cmac_init() argument
173 struct cmac_data_st *macctx = vmacctx; in cmac_init()
183 static int cmac_update(void *vmacctx, const unsigned char *data, in cmac_update() argument
186 struct cmac_data_st *macctx = vmacctx; in cmac_update()
191 static int cmac_final(void *vmacctx, unsigned char *out, size_t *outl, in cmac_final() argument
194 struct cmac_data_st *macctx = vmacctx; in cmac_final()
214 static int cmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in cmac_get_ctx_params() argument
219 && !OSSL_PARAM_set_size_t(p, cmac_size(vmacctx))) in cmac_get_ctx_params()
223 && !OSSL_PARAM_set_size_t(p, cmac_size(vmacctx))) in cmac_get_ctx_params()
226 if (!OSSL_FIPS_IND_GET_CTX_PARAM((struct cmac_data_st *)vmacctx, params)) in cmac_get_ctx_params()
247 static int cmac_set_ctx_params(void *vmacctx, const OSSL_PARAM params[]) in cmac_set_ctx_params() argument
249 struct cmac_data_st *macctx = vmacctx; in cmac_set_ctx_params()