Lines Matching refs:ctxsize
132 ctx = __builtin_alloca(exf->ctxsize); in swcr_encdec()
139 memcpy(ctx, sw->sw_ctx, exf->ctxsize); in swcr_encdec()
232 explicit_bzero(ctx, exf->ctxsize); in swcr_encdec()
268 memcpy(&s.ctx, sw->sw_ictx, axf->ctxsize); in swcr_authcompute()
298 memcpy(&s.ctx, sw->sw_octx, axf->ctxsize); in swcr_authcompute()
348 memcpy(&s.ctx, swa->sw_ictx, axf->ctxsize); in swcr_gmac()
430 ctx = __builtin_alloca(exf->ctxsize); in swcr_gcm()
435 memcpy(ctx, swe->sw_ctx, exf->ctxsize); in swcr_gcm()
614 explicit_bzero(ctx, exf->ctxsize); in swcr_gcm()
694 memcpy(&s.ctx, swa->sw_ictx, axf->ctxsize); in swcr_ccm_cbc_mac()
768 ctx = __builtin_alloca(exf->ctxsize); in swcr_ccm()
773 memcpy(ctx, swe->sw_ctx, exf->ctxsize); in swcr_ccm()
951 explicit_bzero(ctx, exf->ctxsize); in swcr_ccm()
988 ctx = __builtin_alloca(exf->ctxsize); in swcr_chacha20_poly1305()
993 memcpy(ctx, swe->sw_ctx, exf->ctxsize); in swcr_chacha20_poly1305()
1155 explicit_bzero(ctx, exf->ctxsize); in swcr_chacha20_poly1305()
1277 if (txf->ctxsize != 0) { in swcr_setup_cipher()
1278 swe->sw_ctx = malloc(txf->ctxsize, M_CRYPTO_DATA, in swcr_setup_cipher()
1310 swa->sw_ictx = malloc(axf->ctxsize, M_CRYPTO_DATA, in swcr_setup_auth()
1325 swa->sw_octx = malloc(axf->ctxsize, M_CRYPTO_DATA, in swcr_setup_auth()