Lines Matching refs:key
50 void poly1305_core_setkey(struct poly1305_key *key, const u8 *raw_key) in poly1305_core_setkey() argument
53 key->r[0] = (get_unaligned_le32(raw_key + 0) >> 0) & 0x3ffffff; in poly1305_core_setkey()
54 key->r[1] = (get_unaligned_le32(raw_key + 3) >> 2) & 0x3ffff03; in poly1305_core_setkey()
55 key->r[2] = (get_unaligned_le32(raw_key + 6) >> 4) & 0x3ffc0ff; in poly1305_core_setkey()
56 key->r[3] = (get_unaligned_le32(raw_key + 9) >> 6) & 0x3f03fff; in poly1305_core_setkey()
57 key->r[4] = (get_unaligned_le32(raw_key + 12) >> 8) & 0x00fffff; in poly1305_core_setkey()
91 const struct poly1305_key *key, in poly1305_blocks_internal() argument
103 r0 = key->r[0]; in poly1305_blocks_internal()
104 r1 = key->r[1]; in poly1305_blocks_internal()
105 r2 = key->r[2]; in poly1305_blocks_internal()
106 r3 = key->r[3]; in poly1305_blocks_internal()
107 r4 = key->r[4]; in poly1305_blocks_internal()
159 const struct poly1305_key *key, in poly1305_core_blocks() argument
162 poly1305_blocks_internal(state, key, src, nblocks, 1 << 24); in poly1305_core_blocks()