Home
last modified time | relevance | path

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

/crypt/
A Dsha512-crypt.c110 char *cp; in __sha512_crypt_r() local
258 cp = mempcpy (cp, temp_result, 64); in __sha512_crypt_r()
259 memcpy (cp, temp_result, cnt); in __sha512_crypt_r()
274 cp = mempcpy (cp, temp_result, 64); in __sha512_crypt_r()
275 memcpy (cp, temp_result, cnt); in __sha512_crypt_r()
322 cp += n; in __sha512_crypt_r()
326 cp = __stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in __sha512_crypt_r()
331 *cp++ = '$'; in __sha512_crypt_r()
335 __b64_from_24bit (&cp, &buflen, in __sha512_crypt_r()
337 __b64_from_24bit (&cp, &buflen, in __sha512_crypt_r()
[all …]
A Dmd5c-test.c8 char *cp; in main() local
11 cp = crypt ("Hello world!", salt); in main()
14 if (cp) in main()
15 result |= strcmp ("$1$saltstri$YMyguxXMBpd2TEZ.vS/3q1", cp); in main()
A Dsha256-crypt.c110 char *cp; in __sha256_crypt_r() local
259 cp = mempcpy (cp, temp_result, 32); in __sha256_crypt_r()
260 memcpy (cp, temp_result, cnt); in __sha256_crypt_r()
275 cp = mempcpy (cp, temp_result, 32); in __sha256_crypt_r()
276 memcpy (cp, temp_result, cnt); in __sha256_crypt_r()
323 cp += n; in __sha256_crypt_r()
327 cp = __stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in __sha256_crypt_r()
332 *cp++ = '$'; in __sha256_crypt_r()
336 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
338 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
[all …]
A Dsha256c-test.c47 char *cp = crypt (tests[i].input, tests[i].salt); in do_test() local
49 if (strcmp (cp, tests[i].expected) != 0) in do_test()
52 i, tests[i].expected, cp); in do_test()
A Dsha512c-test.c48 char *cp = crypt (tests[i].input, tests[i].salt); in do_test() local
50 if (strcmp (cp, tests[i].expected) != 0) in do_test()
53 i, tests[i].expected, cp); in do_test()
A Dcert.c32 void get8 (char *cp);
33 void put8 (char *cp);
98 get8 (char *cp) in get8() argument
107 *cp++ = (t & (0x01 << (7-j))) != 0; in get8()
112 put8 (char *cp) in put8() argument
119 t = (t<<1) | *cp++; in put8()
A Dmd5-crypt.c98 char *cp; in __md5_crypt_r() local
251 cp = __stpncpy (buffer, md5_salt_prefix, MAX (0, buflen)); in __md5_crypt_r()
254 cp = __stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in __md5_crypt_r()
259 *cp++ = '$'; in __md5_crypt_r()
263 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
265 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
267 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
269 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
271 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
273 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
[all …]
A Dcrypt-private.h72 extern void __b64_from_24bit (char **cp, int *buflen,
A Dcrypt_util.c935 __b64_from_24bit (char **cp, int *buflen, in __b64_from_24bit() argument
942 *(*cp)++ = b64t[w & 0x3f]; in __b64_from_24bit()

Completed in 18 milliseconds