Home
last modified time | relevance | path

Searched refs:DES_KEY_SIZE (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/common/net/wanboot/crypt/
H A Ddes3_test.c50 char key[DES_KEY_SIZE * 2];
93 char key1[DES_KEY_SIZE * 2];
94 char key2[DES_KEY_SIZE * 2];
95 char key3[DES_KEY_SIZE * 2];
131 getxdata(key, td[i].key, DES_KEY_SIZE); in des3test()
132 bcopy(key, &key[8], DES_KEY_SIZE); /* K1=K2=K3 for test */ in des3test()
133 bcopy(key, &key[16], DES_KEY_SIZE); in des3test()
169 unsigned char key[DES_KEY_SIZE * 3]; in des3_keytest()
177 getxdata(key, gk[i].key1, DES_KEY_SIZE); in des3_keytest()
178 getxdata(&key[8], gk[i].key2, DES_KEY_SIZE); in des3_keytest()
[all …]
H A Ddes.h38 #define DES_KEY_SIZE 8 macro
45 extern void des_key(DES_KS k, const unsigned char key[DES_KEY_SIZE],
H A Ddes3.c93 uint8_t *k2 = k1 + DES_KEY_SIZE; in des3_key()
94 uint8_t *k3 = k2 + DES_KEY_SIZE; in des3_key()