Lines Matching defs:out
74 u32 out;
76 out = (u32)sbox[x & 0xff];
77 out |= (u32)sbox[(x >> 8) & 0xff] << 8;
78 out |= (u32)sbox[(x >> 16) & 0xff] << 16;
79 out |= (u32)sbox[(x >> 24) & 0xff] << 24;
81 return out;
157 * @out: Buffer to store output data
160 void sm4_crypt_block(const u32 *rk, u8 *out, const u8 *in)
176 put_unaligned_be32(x[3 - 0], out + 0 * 4);
177 put_unaligned_be32(x[3 - 1], out + 1 * 4);
178 put_unaligned_be32(x[3 - 2], out + 2 * 4);
179 put_unaligned_be32(x[3 - 3], out + 3 * 4);