Lines Matching refs:vctx
53 static int keccak_init(void *vctx, ossl_unused const OSSL_PARAM params[])
58 ossl_sha3_reset((KECCAK1600_CTX *)vctx);
62 static int keccak_init_params(void *vctx, const OSSL_PARAM params[])
64 return keccak_init(vctx, NULL)
65 && shake_set_ctx_params(vctx, params);
68 static int keccak_update(void *vctx, const unsigned char *inp, size_t len)
70 KECCAK1600_CTX *ctx = vctx;
105 static int keccak_final(void *vctx, unsigned char *out, size_t *outl,
109 KECCAK1600_CTX *ctx = vctx;
123 static size_t generic_sha3_absorb(void *vctx, const void *inp, size_t len)
125 KECCAK1600_CTX *ctx = vctx;
130 static int generic_sha3_final(unsigned char *md, void *vctx)
132 return ossl_sha3_final(md, (KECCAK1600_CTX *)vctx);
150 static size_t s390x_sha3_absorb(void *vctx, const void *inp, size_t len)
152 KECCAK1600_CTX *ctx = vctx;
159 static int s390x_sha3_final(unsigned char *md, void *vctx)
161 KECCAK1600_CTX *ctx = vctx;
170 static int s390x_shake_final(unsigned char *md, void *vctx)
172 KECCAK1600_CTX *ctx = vctx;
254 static void keccak_freectx(void *vctx)
256 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx;
282 static int shake_set_ctx_params(void *vctx, const OSSL_PARAM params[])
285 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx;