Lines Matching refs:nonce
214 const u32 nonce[4]) in poly1305_emit()
240 h0 = (u64)(t = (u128)h0 + nonce[0] + ((u64)nonce[1]<<32)); in poly1305_emit()
241 h1 = (u64)(t = (u128)h1 + nonce[2] + ((u64)nonce[3]<<32) + (t >> 64)); in poly1305_emit()
380 const u32 nonce[4]) in poly1305_emit()
414 h0 = (u32)(t = (u64)h0 + nonce[0]); in poly1305_emit()
415 h1 = (u32)(t = (u64)h1 + (t >> 32) + nonce[1]); in poly1305_emit()
416 h2 = (u32)(t = (u64)h2 + (t >> 32) + nonce[2]); in poly1305_emit()
417 h3 = (u32)(t = (u64)h3 + (t >> 32) + nonce[3]); in poly1305_emit()
430 const unsigned int nonce[4]);
435 ctx->nonce[0] = U8TOU32(&key[16]); in Poly1305_Init()
436 ctx->nonce[1] = U8TOU32(&key[20]); in Poly1305_Init()
437 ctx->nonce[2] = U8TOU32(&key[24]); in Poly1305_Init()
438 ctx->nonce[3] = U8TOU32(&key[28]); in Poly1305_Init()
525 poly1305_emit(ctx->opaque, mac, ctx->nonce); in Poly1305_Final()