Home
last modified time | relevance | path

Searched refs:key_56 (Results 1 – 1 of 1) sorted by relevance

/external/curl/lib/
Dcurl_ntlm_core.c139 static void extend_key_56_to_64(const unsigned char *key_56, char *key) in extend_key_56_to_64() argument
141 key[0] = key_56[0]; in extend_key_56_to_64()
142 key[1] = (unsigned char)(((key_56[0] << 7) & 0xFF) | (key_56[1] >> 1)); in extend_key_56_to_64()
143 key[2] = (unsigned char)(((key_56[1] << 6) & 0xFF) | (key_56[2] >> 2)); in extend_key_56_to_64()
144 key[3] = (unsigned char)(((key_56[2] << 5) & 0xFF) | (key_56[3] >> 3)); in extend_key_56_to_64()
145 key[4] = (unsigned char)(((key_56[3] << 4) & 0xFF) | (key_56[4] >> 4)); in extend_key_56_to_64()
146 key[5] = (unsigned char)(((key_56[4] << 3) & 0xFF) | (key_56[5] >> 5)); in extend_key_56_to_64()
147 key[6] = (unsigned char)(((key_56[5] << 2) & 0xFF) | (key_56[6] >> 6)); in extend_key_56_to_64()
148 key[7] = (unsigned char) ((key_56[6] << 1) & 0xFF); in extend_key_56_to_64()
156 static void setup_des_key(const unsigned char *key_56, in setup_des_key() argument
[all …]