Lines Matching refs:sctx
52 struct sparc_md5_state *sctx = shash_desc_ctx(desc);
54 sctx->byte_count += round_down(len, MD5_HMAC_BLOCK_SIZE);
55 md5_sparc64_transform(sctx->hash, data, len / MD5_HMAC_BLOCK_SIZE);
63 struct sparc_md5_state *sctx = shash_desc_ctx(desc);
73 sctx->byte_count += offset;
75 *pbits = cpu_to_le64(sctx->byte_count << 3);
76 md5_sparc64_transform(sctx->hash, src, (pbits - block + 1) / 8);
81 dst[i] = sctx->hash[i];
88 struct sparc_md5_state *sctx = shash_desc_ctx(desc);
97 put_unaligned(le32_to_cpu(sctx->hash[i]), p.u32++);
98 put_unaligned(sctx->byte_count, p.u64);
104 struct sparc_md5_state *sctx = shash_desc_ctx(desc);
113 sctx->hash[i] = cpu_to_le32(get_unaligned(p.u32++));
114 sctx->byte_count = get_unaligned(p.u64);