Lines Matching refs:out_buf
317 static char out_buf[6 + 9 + 24 + 2]; in md5crypt() local
330 out_buf[0] = 0; in md5crypt()
354 OPENSSL_strlcat(out_buf, ascii_dollar, sizeof(out_buf)); in md5crypt()
359 OPENSSL_strlcat(out_buf, ascii_magic, sizeof(out_buf)); in md5crypt()
360 OPENSSL_strlcat(out_buf, ascii_dollar, sizeof(out_buf)); in md5crypt()
363 OPENSSL_strlcat(out_buf, ascii_salt, sizeof(out_buf)); in md5crypt()
365 if (strlen(out_buf) > 6 + 8) /* assert "$apr1$..salt.." */ in md5crypt()
368 salt_out = out_buf; in md5crypt()
460 assert(output == out_buf + strlen(out_buf)); in md5crypt()
476 assert(strlen(out_buf) < sizeof(out_buf)); in md5crypt()
478 ascii2ebcdic(out_buf, out_buf, strlen(out_buf)); in md5crypt()
482 return out_buf; in md5crypt()
510 static char out_buf[3 + 17 + 17 + 86 + 1]; in shacrypt() local
586 out_buf[0] = 0; in shacrypt()
587 OPENSSL_strlcat(out_buf, ascii_dollar, sizeof(out_buf)); in shacrypt()
588 OPENSSL_strlcat(out_buf, ascii_magic, sizeof(out_buf)); in shacrypt()
589 OPENSSL_strlcat(out_buf, ascii_dollar, sizeof(out_buf)); in shacrypt()
599 OPENSSL_strlcat(out_buf, tmp_buf, sizeof(out_buf)); in shacrypt()
600 OPENSSL_strlcat(out_buf, ascii_dollar, sizeof(out_buf)); in shacrypt()
602 OPENSSL_strlcat(out_buf, ascii_salt, sizeof(out_buf)); in shacrypt()
605 if (strlen(out_buf) > 3 + 17 * rounds_custom + salt_len ) in shacrypt()
707 cp = out_buf + strlen(out_buf); in shacrypt()
764 ascii2ebcdic(out_buf, out_buf, strlen(out_buf)); in shacrypt()
767 return out_buf; in shacrypt()