Searched refs:PTR_2_INT (Results 1 - 2 of 2) sorted by relevance

/sssd/src/util/crypto/nss/
H A Dnss_sha512crypt.c68 #define PTR_2_INT(x) ((x) - ((__typeof__ (x)) NULL)) macro
119 if ((PTR_2_INT(key) % ALIGN64) != 0) {
121 key = copied_key = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, key, key_len);
124 if (PTR_2_INT(salt) % ALIGN64 != 0) {
126 salt = copied_salt = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, salt, salt_len);
/sssd/src/util/crypto/libcrypto/
H A Dcrypto_sha512crypt.c70 #define PTR_2_INT(x) ((x) - ((__typeof__ (x)) NULL)) macro
121 if ((PTR_2_INT(key) % ALIGN64) != 0) {
123 key = copied_key = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, key, key_len);
126 if (PTR_2_INT(salt) % ALIGN64 != 0) {
128 salt = copied_salt = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, salt, salt_len);

Completed in 2478 milliseconds