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()
222 if (strncpy_s(passwd + MD5_MAGIC_LEN, MD5_HASH_MAX_LEN - MD5_MAGIC_LEN, sp, sl + 1) != 0) { in php_md5_crypt_r()
225 passwd[MD5_MAGIC_LEN + sl] = '\0'; in php_md5_crypt_r()
280 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r()
335 if (strncmp(sp, MD5_MAGIC, MD5_MAGIC_LEN) == 0) in php_md5_crypt_r()
336 sp += MD5_MAGIC_LEN; in php_md5_crypt_r()
351 PHP_MD5Update(&ctx, (const unsigned char *)MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r()
377 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r()
378 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); in php_md5_crypt_r()
410 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r()
426 #undef MD5_MAGIC_LEN