Home
last modified time | relevance | path

Searched refs:hexkeybytes (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/libnsl/key/
H A Dxcrypt.c254 const int hexkeybytes = BITS2NIBBLES(keylen); in xencrypt_g() local
258 const int bufsize = do_chksum ? hexkeybytes + keychecksumsize + 1 : in xencrypt_g()
259 hexkeybytes + 1; in xencrypt_g()
268 (void) memcpy(hexkeybuf, secret, hexkeybytes); in xencrypt_g()
271 (void) memcpy(hexkeybuf + hexkeybytes, secret, in xencrypt_g()
280 hexkeybytes); in xencrypt_g()
287 (void) memcpy(hexkeybuf + hexkeybytes, in xencrypt_g()
359 const int hexkeybytes = BITS2NIBBLES(keylen); in xdecrypt_g() local
391 if (memcmp(secret, &(secret[hexkeybytes]), in xdecrypt_g()
403 hexkeybytes); in xdecrypt_g()
[all …]
/titanic_41/usr/src/cmd/keyserv/
H A Dkeylogin.c119 int rootfd, bakfd, hexkeybytes; in write_rootkey() local
159 hexkeybytes = ((keylen + 7) / 8) * 2; in write_rootkey()
181 if ((strlen(keyent) == hexkeybytes) && in write_rootkey()
H A Dchkey.c738 int rootfd, bakfd, hexkeybytes; in write_rootkey() local
778 hexkeybytes = ((keylen + 7) / 8) * 2; in write_rootkey()
800 if ((strlen(keyent) == hexkeybytes) && in write_rootkey()
/titanic_41/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Dgeneric_key.c81 int hexkeybytes = (keylen+3)/4; in adjust() local
84 for (s = keyout + hexkeybytes; p >= keyin; p--, s--) { in adjust()