DELTA 296162 210 568 SVN6{CA struct crypt_data { int initialized; /* For compatibility with glibc. */ char __buf[256]; /* Buffer returned by crypt_r(). */ }; char *crypt_r(const char *, const char *, struct crypt_data *ENDREP DELTA 300903 0 119 SVNNd fvXr.3 \ ENDREP DELTA 115733 0 845 SVN 1H0"wV1m \. n: oix^n@r8u}j{!P,;(ڇ.I-U%B5ve.m`^B:0E7u69FRR[jYBE!tp(̟B=}n(1E٧%eV0FA. Ҡ;!PN#o`l<;ʥg"]1`ufuk!E#Z _ ]ɢnM|VK;N ` (dwenNIvi`9]>}1T:x6F~W-QRT=\<-܇9eq4ػ<~ע{ t^hc*쳣3{qŽ/fߞNس);(GqZLRENDREP DELTA 115720 489 1381 SVN`-S E[int crypt_nthash(const char *pw, const char *salt __unused, char *buffer) { size_t unipwLen; int i; static const char hexconvtab[] = "0123456789abcdef"; static const char *magic = "$3$"; u_int16_t unipw[128 buffer = stpcpy(buffer, magic); *buffer++ = '$'; for (i = 0; i < MD4_SIZE; i++) { *buffer++ = hexconvtab[hash[i] >> 4]; *buffer++ = hexconvtab[hash[i] & 15]; } *buffer = '\0'; return (0ENDREP DELTA 221471 0 107 SVNq!$ YSsLKvQwz=x^n )HӮZDfٓ, L[30O[sqAfNe,{ez$;Gjh$EzuzRH">'3yF(j/BE8}VV&ns,&Sx:v]΋Z3;tۮxպO{A y?I=yx"4C(9ГYa>@-@E3? ݃}`(y|7g?-X9*ENDREP DELTA 221471 136 109 SVN/u.YSsLKvVL;3LyGqtb|NxyOKŅ?ܡؕeaWWuy6oٶk^6d|H_nlQV8$p;*"m8cƗ6ngg$Q2+7^oaO.:fǖ K۞s.OI[ %wגmz(r@@瀕*3Ё˳@瀕DA;O}*4tS:KCފK@ThVʢ ,ZBi12@XmAkѳ*ȞXQBc2( mb ?RN?q~v ENDREP DELTA 267773 212 25 SVNMz aa.nO'O kE_August 10, 2016har * .Fn crypt_r "const char *key" "const char *salt" "struct crypt_data *dataPp The .Fn crypt_r function behaves identically to .Fn crypt , except that the resulting string is stored in .Fa data , making it thread-safe. .Sh RETURN VALUES The .Fn crypt and .Fn crypt_r functions returnPp The .Fn crypt_r function was added in .Fx 12.0 ENDREP DELTA 272830 0 496 SVN(5ME57x^Mk0 ;B + ٸNZ'c5eb[+鑤šHj4QN[r' $)\X|ĹYP/}V] ֙AzpP9TG2P9HX3C[:ynU(XZU$7ڇxȍ (r;qju > rËe]<6 ^&0"Ō#5nK4FFCCp%A1*q@_sqFNV;n:Z˒Oe.c}NENDREP DELTA 221471 382 91 SVN0w2u}q {uint crypt_des(const char *pw, const char *salt, char *buf); int crypt_md5(const char *pw, const char *salt, char *buf); int crypt_nthash(const char *pw, const char *salt, char *buf); int crypt_blowfish(const char *pw, const char *salt, char *buf); int crypt_sha256 (const char *pw, const char *salt, char *buf); int crypt_sha512 (const char *pw, const char *salt, char *bufENDREP DELTA 220497 11635 270 SVNH  :ENDREP DELTA 284483 0 111 SVN57=f<4i^B4exaj|iQi>4w>dint crypt_blowfish(const char *key, const char *salt, char *buffer return (-1);(-1)(-1); memcpy(arounds, salt, sizeof(arounds)); if (arounds[sizeof(arounds) - 1] != '$') return (-1)(-1)(-1)*buffer++ = '$'; *buffer++ = BCRYPT_VERSION; if (minr) *buffer++ = minr; *buffer++ = '$'; snprintf(buffer, 4, "%2.2u$", logr); buffer += 3; encode_base64((u_int8_t *)buffer, csalt, BCRYPT_MAXSALT); buffer += strlen(buffer); encode_base64((u_int8_t *)buffer, ciphertext,(0)ENDREP DELTA 236304 348 1741 SVN3|2I1oa+QFSl">.x^RN0 >OӖveK;4 cF*-I*w϶pBTrdUH|U8r=} NySܕu+3VgN3Y6E V`$1 *.u3MHE/ϒ>BOj \t"FCBm{洸<ؑH#'Q S:A{9m