Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dchap_ms.c675 u_char Magic2[41] = /* "Pad to make it do more than one iteration" */ in GenerateAuthenticatorResponse() local
698 SHA1_Update(&sha1Context, Magic2, sizeof(Magic2)); in GenerateAuthenticatorResponse()
803 u_char Magic2[84] = in mppe_set_keys2() local
839 s = Magic2; in mppe_set_keys2()
853 s = Magic2; in mppe_set_keys2()
/external/ImageMagick/coders/
Dsixel.c174 int Magic1, Magic2; in hls_to_rgb() local
182 Magic2 = (int) (((ssize_t) lum * (HLSMAX + sat) + (HLSMAX / 2)) / HLSMAX); in hls_to_rgb()
184 Magic2 = (int) (lum + sat - (((ssize_t) lum * sat) + (HLSMAX / 2)) / HLSMAX); in hls_to_rgb()
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()