Home
last modified time | relevance | path

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

/external/openssl/crypto/evp/
De_des3.c198 DES_cblock *deskey = (DES_cblock *)key; in des_ede_init_key() local
200 if (DES_set_key_checked(&deskey[0],&data(ctx)->ks1) in des_ede_init_key()
201 !! DES_set_key_checked(&deskey[1],&data(ctx)->ks2)) in des_ede_init_key()
204 DES_set_key_unchecked(&deskey[0],&data(ctx)->ks1); in des_ede_init_key()
205 DES_set_key_unchecked(&deskey[1],&data(ctx)->ks2); in des_ede_init_key()
215 DES_cblock *deskey = (DES_cblock *)key; in des_ede3_init_key() local
228 if (DES_set_key_checked(&deskey[0],&data(ctx)->ks1) in des_ede3_init_key()
229 || DES_set_key_checked(&deskey[1],&data(ctx)->ks2) in des_ede3_init_key()
230 || DES_set_key_checked(&deskey[2],&data(ctx)->ks3)) in des_ede3_init_key()
233 DES_set_key_unchecked(&deskey[0],&data(ctx)->ks1); in des_ede3_init_key()
[all …]
De_des.c150 DES_cblock *deskey = (DES_cblock *)key; in des_init_key() local
152 if(DES_set_key_checked(deskey,ctx->cipher_data) != 0) in des_init_key()
155 DES_set_key_unchecked(deskey,ctx->cipher_data); in des_init_key()
De_xcbc_d.c106 DES_cblock *deskey = (DES_cblock *)key; in desx_cbc_init_key() local
108 DES_set_key_unchecked(deskey,&data(ctx)->ks); in desx_cbc_init_key()
/external/wpa_supplicant/
Ddes.c281 static void deskey(const u8 *key, int decrypt, u32 *keyout) in deskey() function
422 deskey(pkey, 0, ek); in des_encrypt()
439 deskey(key, 0, dkey->ek[0]); in des3_key_setup()
440 deskey(key + 8, 1, dkey->ek[1]); in des3_key_setup()
441 deskey(key + 16, 0, dkey->ek[2]); in des3_key_setup()
443 deskey(key, 1, dkey->dk[2]); in des3_key_setup()
444 deskey(key + 8, 0, dkey->dk[1]); in des3_key_setup()
445 deskey(key + 16, 1, dkey->dk[0]); in des3_key_setup()
/external/qemu/
Dd3des.h25 extern void deskey(unsigned char *, int);
Dd3des.c67 void deskey(unsigned char *key, int edf) in deskey() function
Dvnc.c1905 deskey(key, EN0); in protocol_client_auth_vnc()
Dvnc-android.c1911 deskey(key, EN0); in protocol_client_auth_vnc()
/external/dropbear/libtomcrypt/src/ciphers/
Ddes.c1308 static void deskey(const unsigned char *key, short edf, ulong32 *keyout) in _deskey()
1358 static void deskey(const unsigned char *key, short edf, ulong32 *keyout) in deskey() function
1545 deskey(key, EN0, skey->des.ek);
1546 deskey(key, DE1, skey->des.dk);
1573 deskey(key, EN0, skey->des3.ek[0]); in des3_setup()
1574 deskey(key+8, DE1, skey->des3.ek[1]); in des3_setup()
1575 deskey(key+16, EN0, skey->des3.ek[2]); in des3_setup()
1577 deskey(key, DE1, skey->des3.dk[2]); in des3_setup()
1578 deskey(key+8, EN0, skey->des3.dk[1]); in des3_setup()
1579 deskey(key+16, DE1, skey->des3.dk[0]); in des3_setup()
/external/dropbear/libtomcrypt/
Dchanges429 -- Declared deskey() from des.c as static instead of a global