Lines Matching refs:vctx

59 static int keccak_init(void *vctx, ossl_unused const OSSL_PARAM params[])  in keccak_init()  argument
64 ossl_sha3_reset((KECCAK1600_CTX *)vctx); in keccak_init()
68 static int keccak_init_params(void *vctx, const OSSL_PARAM params[]) in keccak_init_params() argument
70 return keccak_init(vctx, NULL) in keccak_init_params()
71 && shake_set_ctx_params(vctx, params); in keccak_init_params()
74 static int keccak_update(void *vctx, const unsigned char *inp, size_t len) in keccak_update() argument
76 KECCAK1600_CTX *ctx = vctx; in keccak_update()
111 static int keccak_final(void *vctx, unsigned char *out, size_t *outl, in keccak_final() argument
115 KECCAK1600_CTX *ctx = vctx; in keccak_final()
130 static int shake_squeeze(void *vctx, unsigned char *out, size_t *outl, in shake_squeeze() argument
134 KECCAK1600_CTX *ctx = vctx; in shake_squeeze()
150 static size_t generic_sha3_absorb(void *vctx, const void *inp, size_t len) in generic_sha3_absorb() argument
152 KECCAK1600_CTX *ctx = vctx; in generic_sha3_absorb()
161 static int generic_sha3_final(void *vctx, unsigned char *out, size_t outlen) in generic_sha3_final() argument
163 return ossl_sha3_final((KECCAK1600_CTX *)vctx, out, outlen); in generic_sha3_final()
166 static int generic_sha3_squeeze(void *vctx, unsigned char *out, size_t outlen) in generic_sha3_squeeze() argument
168 return ossl_sha3_squeeze((KECCAK1600_CTX *)vctx, out, outlen); in generic_sha3_squeeze()
193 static size_t s390x_sha3_absorb(void *vctx, const void *inp, size_t len) in s390x_sha3_absorb() argument
195 KECCAK1600_CTX *ctx = vctx; in s390x_sha3_absorb()
211 static int s390x_sha3_final(void *vctx, unsigned char *out, size_t outlen) in s390x_sha3_final() argument
213 KECCAK1600_CTX *ctx = vctx; in s390x_sha3_final()
229 static int s390x_shake_final(void *vctx, unsigned char *out, size_t outlen) in s390x_shake_final() argument
231 KECCAK1600_CTX *ctx = vctx; in s390x_shake_final()
246 static int s390x_shake_squeeze(void *vctx, unsigned char *out, size_t outlen) in s390x_shake_squeeze() argument
248 KECCAK1600_CTX *ctx = vctx; in s390x_shake_squeeze()
288 static int s390x_keccakc_final(void *vctx, unsigned char *out, size_t outlen, in s390x_keccakc_final() argument
291 KECCAK1600_CTX *ctx = vctx; in s390x_keccakc_final()
321 static int s390x_keccak_final(void *vctx, unsigned char *out, size_t outlen) in s390x_keccak_final() argument
323 return s390x_keccakc_final(vctx, out, outlen, 0x01); in s390x_keccak_final()
326 static int s390x_kmac_final(void *vctx, unsigned char *out, size_t outlen) in s390x_kmac_final() argument
328 return s390x_keccakc_final(vctx, out, outlen, 0x04); in s390x_kmac_final()
331 static int s390x_keccakc_squeeze(void *vctx, unsigned char *out, size_t outlen, in s390x_keccakc_squeeze() argument
334 KECCAK1600_CTX *ctx = vctx; in s390x_keccakc_squeeze()
378 static int s390x_keccak_squeeze(void *vctx, unsigned char *out, size_t outlen) in s390x_keccak_squeeze() argument
380 return s390x_keccakc_squeeze(vctx, out, outlen, 0x01); in s390x_keccak_squeeze()
383 static int s390x_kmac_squeeze(void *vctx, unsigned char *out, size_t outlen) in s390x_kmac_squeeze() argument
385 return s390x_keccakc_squeeze(vctx, out, outlen, 0x04); in s390x_kmac_squeeze()
444 static size_t armsha3_sha3_absorb(void *vctx, const void *inp, size_t len) in armsha3_sha3_absorb() argument
446 KECCAK1600_CTX *ctx = vctx; in armsha3_sha3_absorb()
558 static void keccak_freectx(void *vctx) in keccak_freectx() argument
560 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; in keccak_freectx()
595 static int shake_get_ctx_params(void *vctx, OSSL_PARAM params[]) in shake_get_ctx_params() argument
598 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; in shake_get_ctx_params()
631 static int shake_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in shake_set_ctx_params() argument
634 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; in shake_set_ctx_params()