Lines Matching refs:hw
147 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw =
148 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->base.hw;
202 len = hw->tls_init(&ctx->base, p->data, p->data_size);
216 if (hw->tls_iv_set_fixed(&ctx->base, p->data, p->data_size) == 0) {
235 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw =
236 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->hw;
238 hw->initiv(ctx);
255 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw =
256 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->hw;
258 hw->initiv(ctx);
270 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw =
271 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->hw;
286 if (!hw->aead_cipher(ctx, out, outl, in, inl))
296 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw =
297 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->hw;
302 if (hw->aead_cipher(ctx, out, outl, NULL, 0) <= 0)