Home
last modified time | relevance | path

Searched refs:crypt_alg_magic_len (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c81 const int crypt_alg_magic_len = strlen(crypt_alg_magic); in crypt_genhash_impl() local
87 if (strncmp((char *)sp, crypt_alg_magic, crypt_alg_magic_len) == 0) { in crypt_genhash_impl()
88 sp += crypt_alg_magic_len; in crypt_genhash_impl()
/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c94 static const int crypt_alg_magic_len = sizeof (crypt_alg_magic) - 1; variable
187 if (strncmp((char *)salt, crypt_alg_magic, crypt_alg_magic_len) == 0) { in crypt_genhash_impl()
188 salt += crypt_alg_magic_len + 1; in crypt_genhash_impl()