Searched defs:SALT_PREF_SIZE (Results 1 - 2 of 2) sorted by relevance

/sssd/src/util/crypto/nss/
H A Dnss_sha512crypt.c34 #define SALT_PREF_SIZE (sizeof(sha512_salt_prefix) - 1) macro
95 if (strncmp(salt, sha512_salt_prefix, SALT_PREF_SIZE) == 0) {
97 salt += SALT_PREF_SIZE;
265 if (buflen <= SALT_PREF_SIZE) {
270 cp = stpncpy(buffer, sha512_salt_prefix, SALT_PREF_SIZE);
271 buflen -= SALT_PREF_SIZE;
/sssd/src/util/crypto/libcrypto/
H A Dcrypto_sha512crypt.c36 #define SALT_PREF_SIZE (sizeof(sha512_salt_prefix) - 1) macro
97 if (strncmp(salt, sha512_salt_prefix, SALT_PREF_SIZE) == 0) {
99 salt += SALT_PREF_SIZE;
275 if (buflen <= SALT_PREF_SIZE) {
280 cp = stpncpy(buffer, sha512_salt_prefix, SALT_PREF_SIZE);
281 buflen -= SALT_PREF_SIZE;

Completed in 838 milliseconds