Searched refs:polyctx (Results 1 – 1 of 1) sorted by relevance
18 xform_Poly1305_Init(void *polyctx) in xform_Poly1305_Init() argument26 struct poly1305_xform_ctx *polyctx = ctx; in xform_Poly1305_Setkey() local32 rc = crypto_onetimeauth_poly1305_init(&polyctx->state, key); in xform_Poly1305_Setkey()40 struct poly1305_xform_ctx *polyctx = ctx; in xform_Poly1305_Update() local43 rc = crypto_onetimeauth_poly1305_update(&polyctx->state, data, len); in xform_Poly1305_Update()52 struct poly1305_xform_ctx *polyctx = ctx; in xform_Poly1305_Final() local55 rc = crypto_onetimeauth_poly1305_final(&polyctx->state, digest); in xform_Poly1305_Final()