Lines Matching refs:uint8_t

72 static const uint8_t IP[64] = {
79 static const uint8_t key_perm[56] = {
86 static const uint8_t key_shifts[16] = {
90 static const uint8_t comp_perm[48] = {
101 static const uint8_t sbox[8][64] = {
152 static const uint8_t pbox[32] = {
169 static const uint8_t bits8[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
174 static uint8_t m_sbox[4][4096];
214 uint8_t inv_key_perm[64]; in _crypt_extended_init()
215 uint8_t inv_comp_perm[56]; in _crypt_extended_init()
216 uint8_t init_perm[64], final_perm[64]; in _crypt_extended_init()
217 uint8_t u_sbox[8][64]; in _crypt_extended_init()
218 uint8_t un_pbox[32]; in _crypt_extended_init()
377 (uint32_t)(uint8_t)key[3] | in des_setkey()
378 ((uint32_t)(uint8_t)key[2] << 8) | in des_setkey()
379 ((uint32_t)(uint8_t)key[1] << 16) | in des_setkey()
380 ((uint32_t)(uint8_t)key[0] << 24); in des_setkey()
382 (uint32_t)(uint8_t)key[7] | in des_setkey()
383 ((uint32_t)(uint8_t)key[6] << 8) | in des_setkey()
384 ((uint32_t)(uint8_t)key[5] << 16) | in des_setkey()
385 ((uint32_t)(uint8_t)key[4] << 24); in des_setkey()
583 (uint32_t)(uint8_t)in[3] | in des_cipher()
584 ((uint32_t)(uint8_t)in[2] << 8) | in des_cipher()
585 ((uint32_t)(uint8_t)in[1] << 16) | in des_cipher()
586 ((uint32_t)(uint8_t)in[0] << 24); in des_cipher()
588 (uint32_t)(uint8_t)in[7] | in des_cipher()
589 ((uint32_t)(uint8_t)in[6] << 8) | in des_cipher()
590 ((uint32_t)(uint8_t)in[5] << 16) | in des_cipher()
591 ((uint32_t)(uint8_t)in[4] << 24); in des_cipher()
613 uint8_t *p, *q; in _crypt_extended_r()
622 q = (uint8_t *) keybuf; in _crypt_extended_r()
623 while ((size_t)(q - (uint8_t *) keybuf) < sizeof(keybuf)) { in _crypt_extended_r()
663 q = (uint8_t *) keybuf; in _crypt_extended_r()
664 while ((size_t)(q - (uint8_t *) keybuf) < sizeof(keybuf) && *key) in _crypt_extended_r()
672 p = (uint8_t *) data->output + 9; in _crypt_extended_r()
689 p = (uint8_t *) data->output + 2; in _crypt_extended_r()