Searched refs:poly_ctx (Results 1 – 1 of 1) sorted by relevance
| /linux/crypto/ |
| H A D | hctr2.c | 62 struct polyval_ctx poly_ctx; member 139 struct polyval_ctx *poly_ctx = &rctx->u.poly_ctx; in hctr2_hash_tweak() local 142 polyval_import_blkaligned(poly_ctx, &tctx->poly_key, in hctr2_hash_tweak() 144 polyval_update(poly_ctx, req->iv, TWEAK_SIZE); in hctr2_hash_tweak() 149 polyval_export_blkaligned(poly_ctx, &rctx->hashed_tweak); in hctr2_hash_tweak() 158 struct polyval_ctx *poly_ctx = &rctx->u.poly_ctx; in hctr2_hash_message() local 169 polyval_update(poly_ctx, miter.addr, n); in hctr2_hash_message() 174 polyval_update(poly_ctx, &padding, 1); in hctr2_hash_message() 175 polyval_final(poly_ctx, digest); in hctr2_hash_message() 183 struct polyval_ctx *poly_ctx = &rctx->u.poly_ctx; in hctr2_finish() local [all …]
|