Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dchap_ms.c670 u_char Magic1[39] = /* "Magic server to client signing constant" */ in GenerateAuthenticatorResponse() local
690 SHA1_Update(&sha1Context, Magic1, sizeof(Magic1)); in GenerateAuthenticatorResponse()
797 u_char Magic1[27] = in mppe_set_keys2() local
830 SHA1_Update(&sha1Context, Magic1, sizeof(Magic1)); in mppe_set_keys2()
/external/ImageMagick/coders/
Dsixel.c174 int Magic1, Magic2; in hls_to_rgb() local
186 Magic1 = 2 * lum - Magic2; in hls_to_rgb()
188 R = (hue_to_rgb(Magic1, Magic2, hue + (HLSMAX / 3)) * RGBMAX + (HLSMAX / 2)) / HLSMAX; in hls_to_rgb()
189 G = (hue_to_rgb(Magic1, Magic2, hue) * RGBMAX + (HLSMAX / 2)) / HLSMAX; in hls_to_rgb()
190 B = (hue_to_rgb(Magic1, Magic2, hue - (HLSMAX / 3)) * RGBMAX + (HLSMAX/2)) / HLSMAX; in hls_to_rgb()