Searched refs:hexkeybytes (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | xcrypt.c | 254 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 …]
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keylogin.c | 117 int rootfd, bakfd, hexkeybytes; in write_rootkey() local 157 hexkeybytes = ((keylen + 7) / 8) * 2; in write_rootkey() 179 if ((strlen(keyent) == hexkeybytes) && in write_rootkey()
|
H A D | chkey.c | 738 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()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | generic_key.c | 79 int hexkeybytes = (keylen+3)/4; in adjust() local 82 for (s = keyout + hexkeybytes; p >= keyin; p--, s--) { in adjust()
|