Lines Matching defs:input
34 __be64 input = cpu_to_be64(key);
36 sha256((__force u8 *)&input, sizeof(input), (u8 *)mptcp_hashed_key);
46 u8 input[SHA256_BLOCK_SIZE + SHA256_DIGEST_SIZE];
58 memset(input, 0x36, SHA256_BLOCK_SIZE);
60 input[i] ^= key1be[i];
62 input[i + 8] ^= key2be[i];
64 memcpy(&input[SHA256_BLOCK_SIZE], msg, len);
66 /* emit sha256(K1 || msg) on the second input block, so we can
67 * reuse 'input' for the last hashing
69 sha256(input, SHA256_BLOCK_SIZE + len, &input[SHA256_BLOCK_SIZE]);
72 memset(input, 0x5C, SHA256_BLOCK_SIZE);
74 input[i] ^= key1be[i];
76 input[i + 8] ^= key2be[i];
78 sha256(input, SHA256_BLOCK_SIZE + SHA256_DIGEST_SIZE, hmac);