Lines Matching refs:strlen
81 const int crypt_alg_magic_len = strlen(crypt_alg_magic); in crypt_genhash_impl()
100 MD5Update(&ctx, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl()
103 MD5Update(&ctx, (uchar_t *)crypt_alg_magic, strlen(crypt_alg_magic)); in crypt_genhash_impl()
110 MD5Update(&ctx1, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl()
112 MD5Update(&ctx1, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl()
114 for (pl = strlen(plaintext); pl > 0; pl -= 16) in crypt_genhash_impl()
121 for (i = strlen(plaintext); i; i >>= 1) { in crypt_genhash_impl()
145 strlen(plaintext)); in crypt_genhash_impl()
154 strlen(plaintext)); in crypt_genhash_impl()
160 strlen(plaintext)); in crypt_genhash_impl()
164 p = ctbuffer + strlen(ctbuffer); in crypt_genhash_impl()
207 to64(&gsbuffer[strlen(crypt_alg_magic)], rndval, sizeof (rndval)); in crypt_gensalt_impl()