Lines Matching refs:vctx
56 static void hmac_drbg_kdf_reset(void *vctx) in hmac_drbg_kdf_reset() argument
58 KDF_HMAC_DRBG *ctx = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_reset()
70 static void hmac_drbg_kdf_free(void *vctx) in hmac_drbg_kdf_free() argument
72 KDF_HMAC_DRBG *ctx = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_free()
94 static void *hmac_drbg_kdf_dup(void *vctx) in hmac_drbg_kdf_dup() argument
96 const KDF_HMAC_DRBG *src = (const KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_dup()
116 static int hmac_drbg_kdf_derive(void *vctx, unsigned char *out, size_t outlen, in hmac_drbg_kdf_derive() argument
119 KDF_HMAC_DRBG *ctx = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_derive()
123 || !hmac_drbg_kdf_set_ctx_params(vctx, params)) in hmac_drbg_kdf_derive()
139 static int hmac_drbg_kdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in hmac_drbg_kdf_get_ctx_params() argument
141 KDF_HMAC_DRBG *hmac = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_get_ctx_params()
166 ossl_unused void *vctx, ossl_unused void *p_ctx) in hmac_drbg_kdf_gettable_ctx_params() argument
176 static int hmac_drbg_kdf_set_ctx_params(void *vctx, in hmac_drbg_kdf_set_ctx_params() argument
179 KDF_HMAC_DRBG *hmac = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_set_ctx_params()
236 ossl_unused void *vctx, ossl_unused void *p_ctx) in hmac_drbg_kdf_settable_ctx_params() argument