Lines Matching refs:cp

110   char *cp;  in __sha256_crypt_r()  local
247 cp = p_bytes = (char *) alloca (key_len); in __sha256_crypt_r()
250 free_pbytes = cp = p_bytes = (char *)malloc (key_len); in __sha256_crypt_r()
259 cp = mempcpy (cp, temp_result, 32); in __sha256_crypt_r()
260 memcpy (cp, temp_result, cnt); in __sha256_crypt_r()
273 cp = s_bytes = alloca (salt_len); 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()
316 cp = __stpncpy (buffer, sha256_salt_prefix, MAX (0, buflen)); in __sha256_crypt_r()
321 int n = __snprintf (cp, MAX (0, buflen), "%s%zu$", 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()
340 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
342 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
344 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
346 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
348 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
350 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
352 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
354 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
356 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
364 *cp = '\0'; /* Terminate the string. */ in __sha256_crypt_r()