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

/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Ddes3.c108 uint64_t key_so_far; local
162 key_so_far = currentkey[j];
163 scratch = key_so_far;
199 key_so_far &= ~((uint64_t)1 << (i << 3));
200 key_so_far |= ((uint64_t)parity << (i << 3));
206 if (key_so_far == des_weak_keys[i]) {
229 currentkey[j] = key_so_far;
/illumos-gate/usr/src/common/crypto/des/
H A Ddes_impl.c625 uint64_t key_so_far; local
667 key_so_far = htonll(*(uint64_t *)(void *)&key[0]);
674 key_so_far = (((uint64_t)key[0] << 56) | ((uint64_t)key[1] << 48) |
683 fix_des_parity(&key_so_far);
687 if (key_so_far == des_weak_keys[i]) {
693 *(uint64_t *)(void *)&corrected_key[0] = htonll(key_so_far);
700 corrected_key[0] = key_so_far >> 56;
701 corrected_key[1] = key_so_far >> 48;
702 corrected_key[2] = key_so_far >> 40;
703 corrected_key[3] = key_so_far >> 3
717 uint64_t key_so_far, scratch, *currentkey; local
795 uint64_t key_so_far; local
[all...]

Completed in 46 milliseconds