Lines Matching refs:MD5_MAGIC_LEN
112 #define MD5_MAGIC_LEN 3 macro
153 if (strncmp(sp, MD5_MAGIC, MD5_MAGIC_LEN) == 0) { in php_md5_crypt_r()
154 sp += MD5_MAGIC_LEN; in php_md5_crypt_r()
220 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r()
223 if (strncpy_s(passwd + MD5_MAGIC_LEN, MD5_HASH_MAX_LEN - MD5_MAGIC_LEN, sp, sl + 1) != 0) { in php_md5_crypt_r()
226 passwd[MD5_MAGIC_LEN + sl] = '\0'; in php_md5_crypt_r()
230 strncpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); in php_md5_crypt_r()
285 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r()
340 if (strncmp(sp, MD5_MAGIC, MD5_MAGIC_LEN) == 0) in php_md5_crypt_r()
341 sp += MD5_MAGIC_LEN; in php_md5_crypt_r()
356 PHP_MD5Update(&ctx, (const unsigned char *)MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r()
382 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r()
383 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); in php_md5_crypt_r()
415 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r()
431 #undef MD5_MAGIC_LEN