Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dcombine_keys.c309 krb5_data inblock, outblock; in dr() local
328 outblock.data = (char *) outblockdata; in dr()
329 outblock.length = blocksize; in dr()
345 (*(enc->encrypt))(context, inkey, 0, &inblock, &outblock); in dr()
347 if ((keybytes - n) <= outblock.length) { in dr()
348 memcpy(out+n, outblock.data, (keybytes - n)); in dr()
352 memcpy(out+n, outblock.data, outblock.length); in dr()
353 memcpy(inblock.data, outblock.data, outblock.length); in dr()
354 n += outblock.length; in dr()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dderive.c266 krb5_data inblock, outblock; local
298 outblock.data = (char *) outblockdata;
299 outblock.length = blocksize;
313 ret = (*(enc->encrypt))(context, inkey, 0, &inblock, &outblock);
320 if ((keybytes - n) <= outblock.length) {
321 (void) memcpy(rawkey+n, outblock.data, (keybytes - n));
325 (void) memcpy(rawkey+n, outblock.data, outblock.length);
326 (void) memcpy(inblock.data, outblock.data, outblock.length);
327 n += outblock.length;