Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
De_des.c73 DES_cblock *deskey = (DES_cblock *)key; in des_init_key() local
76 DES_set_key(deskey, &dat->ks.ks); in des_init_key()
134 DES_cblock *deskey = (DES_cblock *)key; in des_ede3_init_key() local
137 DES_set_key(&deskey[0], &dat->ks.ks[0]); in des_ede3_init_key()
138 DES_set_key(&deskey[1], &dat->ks.ks[1]); in des_ede3_init_key()
139 DES_set_key(&deskey[2], &dat->ks.ks[2]); in des_ede3_init_key()
165 DES_cblock *deskey = (DES_cblock *) key; in des_ede_init_key() local
168 DES_set_key(&deskey[0], &dat->ks.ks[0]); in des_ede_init_key()
169 DES_set_key(&deskey[1], &dat->ks.ks[1]); in des_ede_init_key()
170 DES_set_key(&deskey[0], &dat->ks.ks[2]); in des_ede_init_key()
/external/wpa_supplicant_8/src/crypto/
Ddes-internal.c273 static void deskey(const u8 *key, int decrypt, u32 *keyout) in deskey() function
414 deskey(pkey, 0, ek); in des_encrypt()
429 deskey(key, 0, ek); in des_key_setup()
430 deskey(key, 1, dk); in des_key_setup()
458 deskey(key, 0, dkey->ek[0]); in des3_key_setup()
459 deskey(key + 8, 1, dkey->ek[1]); in des3_key_setup()
460 deskey(key + 16, 0, dkey->ek[2]); in des3_key_setup()
462 deskey(key, 1, dkey->dk[2]); in des3_key_setup()
463 deskey(key + 8, 0, dkey->dk[1]); in des3_key_setup()
464 deskey(key + 16, 1, dkey->dk[0]); in des3_key_setup()