Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/cipher/
De_des.c74 DES_cblock *deskey = (DES_cblock *)key; in des_init_key() local
77 DES_set_key(deskey, &dat->ks.ks); in des_init_key()
139 DES_cblock *deskey = (DES_cblock *)key; in des_ede3_init_key() local
142 DES_set_key(&deskey[0], &dat->ks.ks[0]); in des_ede3_init_key()
143 DES_set_key(&deskey[1], &dat->ks.ks[1]); in des_ede3_init_key()
144 DES_set_key(&deskey[2], &dat->ks.ks[2]); in des_ede3_init_key()
173 DES_cblock *deskey = (DES_cblock *) key; in des_ede_init_key() local
176 DES_set_key(&deskey[0], &dat->ks.ks[0]); in des_ede_init_key()
177 DES_set_key(&deskey[1], &dat->ks.ks[1]); in des_ede_init_key()
178 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()
430 deskey(key, 0, ek); in des_key_setup()
431 deskey(key, 1, dk); in des_key_setup()
459 deskey(key, 0, dkey->ek[0]); in des3_key_setup()
460 deskey(key + 8, 1, dkey->ek[1]); in des3_key_setup()
461 deskey(key + 16, 0, dkey->ek[2]); in des3_key_setup()
463 deskey(key, 1, dkey->dk[2]); in des3_key_setup()
464 deskey(key + 8, 0, dkey->dk[1]); in des3_key_setup()
465 deskey(key + 16, 1, dkey->dk[0]); in des3_key_setup()