Searched refs:des_key (Results 1 – 7 of 7) sorted by relevance
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | pppcrypt.c | 55 void pppcrypt_56_to_64_bit_key(u_char *key, u_char * des_key) { in pppcrypt_56_to_64_bit_key() argument 56 des_key[0] = pppcrypt_get_7bits(key, 0); in pppcrypt_56_to_64_bit_key() 57 des_key[1] = pppcrypt_get_7bits(key, 7); in pppcrypt_56_to_64_bit_key() 58 des_key[2] = pppcrypt_get_7bits(key, 14); in pppcrypt_56_to_64_bit_key() 59 des_key[3] = pppcrypt_get_7bits(key, 21); in pppcrypt_56_to_64_bit_key() 60 des_key[4] = pppcrypt_get_7bits(key, 28); in pppcrypt_56_to_64_bit_key() 61 des_key[5] = pppcrypt_get_7bits(key, 35); in pppcrypt_56_to_64_bit_key() 62 des_key[6] = pppcrypt_get_7bits(key, 42); in pppcrypt_56_to_64_bit_key() 63 des_key[7] = pppcrypt_get_7bits(key, 49); in pppcrypt_56_to_64_bit_key()
|
| A D | chap_ms.c | 501 u_char des_key[8]; in ChallengeResponse() local 511 pppcrypt_56_to_64_bit_key(ZPasswordHash + 0, des_key); in ChallengeResponse() 513 lwip_des_setkey_enc(&des, des_key); in ChallengeResponse() 517 pppcrypt_56_to_64_bit_key(ZPasswordHash + 7, des_key); in ChallengeResponse() 519 lwip_des_setkey_enc(&des, des_key); in ChallengeResponse() 525 lwip_des_setkey_enc(&des, des_key); in ChallengeResponse() 618 u_char des_key[8]; in ChapMS_LANMan() local 625 pppcrypt_56_to_64_bit_key(UcasePassword +0, des_key); in ChapMS_LANMan() 627 lwip_des_setkey_enc(&des, des_key); in ChapMS_LANMan() 631 pppcrypt_56_to_64_bit_key(UcasePassword +7, des_key); in ChapMS_LANMan() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | pppcrypt.c | 55 void pppcrypt_56_to_64_bit_key(u_char *key, u_char * des_key) { in pppcrypt_56_to_64_bit_key() argument 56 des_key[0] = pppcrypt_get_7bits(key, 0); in pppcrypt_56_to_64_bit_key() 57 des_key[1] = pppcrypt_get_7bits(key, 7); in pppcrypt_56_to_64_bit_key() 58 des_key[2] = pppcrypt_get_7bits(key, 14); in pppcrypt_56_to_64_bit_key() 59 des_key[3] = pppcrypt_get_7bits(key, 21); in pppcrypt_56_to_64_bit_key() 60 des_key[4] = pppcrypt_get_7bits(key, 28); in pppcrypt_56_to_64_bit_key() 61 des_key[5] = pppcrypt_get_7bits(key, 35); in pppcrypt_56_to_64_bit_key() 62 des_key[6] = pppcrypt_get_7bits(key, 42); in pppcrypt_56_to_64_bit_key() 63 des_key[7] = pppcrypt_get_7bits(key, 49); in pppcrypt_56_to_64_bit_key()
|
| A D | chap_ms.c | 501 u_char des_key[8]; in ChallengeResponse() local 511 pppcrypt_56_to_64_bit_key(ZPasswordHash + 0, des_key); in ChallengeResponse() 513 lwip_des_setkey_enc(&des, des_key); in ChallengeResponse() 517 pppcrypt_56_to_64_bit_key(ZPasswordHash + 7, des_key); in ChallengeResponse() 519 lwip_des_setkey_enc(&des, des_key); in ChallengeResponse() 525 lwip_des_setkey_enc(&des, des_key); in ChallengeResponse() 618 u_char des_key[8]; in ChapMS_LANMan() local 625 pppcrypt_56_to_64_bit_key(UcasePassword +0, des_key); in ChapMS_LANMan() 627 lwip_des_setkey_enc(&des, des_key); in ChapMS_LANMan() 631 pppcrypt_56_to_64_bit_key(UcasePassword +7, des_key); in ChapMS_LANMan() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | chpms.c | 172 u_char des_key[8]; in DesEncrypt() local 176 MakeKey(key, des_key); in DesEncrypt() 178 Expand(des_key, crypt_key); in DesEncrypt() 203 des_cblock des_key; in DesEncrypt() local 206 MakeKey(key, des_key); in DesEncrypt() 283 des_key[0] = Get7Bits(key, 0); in MakeKey() 284 des_key[1] = Get7Bits(key, 7); in MakeKey() 285 des_key[2] = Get7Bits(key, 14); in MakeKey() 286 des_key[3] = Get7Bits(key, 21); in MakeKey() 287 des_key[4] = Get7Bits(key, 28); in MakeKey() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/include/netif/ppp/ |
| A D | pppcrypt.h | 132 void pppcrypt_56_to_64_bit_key(u_char *key, u_char *des_key);
|
| /components/net/lwip/lwip-2.1.2/src/include/netif/ppp/ |
| A D | pppcrypt.h | 136 void pppcrypt_56_to_64_bit_key(u_char *key, u_char *des_key);
|
Completed in 14 milliseconds