Lines Matching refs:ctxsize
133 ctx = __builtin_alloca(exf->ctxsize); in swcr_encdec()
140 memcpy(ctx, sw->sw_ctx, exf->ctxsize); in swcr_encdec()
233 explicit_bzero(ctx, exf->ctxsize); in swcr_encdec()
269 memcpy(&s.ctx, sw->sw_ictx, axf->ctxsize); in swcr_authcompute()
299 memcpy(&s.ctx, sw->sw_octx, axf->ctxsize); in swcr_authcompute()
349 memcpy(&s.ctx, swa->sw_ictx, axf->ctxsize); in swcr_gmac()
431 ctx = __builtin_alloca(exf->ctxsize); in swcr_gcm()
436 memcpy(ctx, swe->sw_ctx, exf->ctxsize); in swcr_gcm()
615 explicit_bzero(ctx, exf->ctxsize); in swcr_gcm()
695 memcpy(&s.ctx, swa->sw_ictx, axf->ctxsize); in swcr_ccm_cbc_mac()
769 ctx = __builtin_alloca(exf->ctxsize); in swcr_ccm()
774 memcpy(ctx, swe->sw_ctx, exf->ctxsize); in swcr_ccm()
952 explicit_bzero(ctx, exf->ctxsize); in swcr_ccm()
989 ctx = __builtin_alloca(exf->ctxsize); in swcr_chacha20_poly1305()
994 memcpy(ctx, swe->sw_ctx, exf->ctxsize); in swcr_chacha20_poly1305()
1156 explicit_bzero(ctx, exf->ctxsize); in swcr_chacha20_poly1305()
1278 if (txf->ctxsize != 0) { in swcr_setup_cipher()
1279 swe->sw_ctx = malloc(txf->ctxsize, M_CRYPTO_DATA, in swcr_setup_cipher()
1311 swa->sw_ictx = malloc(axf->ctxsize, M_CRYPTO_DATA, in swcr_setup_auth()
1326 swa->sw_octx = malloc(axf->ctxsize, M_CRYPTO_DATA, in swcr_setup_auth()