Home
last modified time | relevance | path

Searched refs:des_key (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dpppcrypt.c55 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 Dchap_ms.c501 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 …]
/AliOS-Things-master/components/mbedtls/library/
A Dpem.c148 unsigned char des_key[8]; in pem_des_decrypt() local
153 if( ( ret = pem_pbkdf1( des_key, 8, des_iv, pwd, pwdlen ) ) != 0 ) in pem_des_decrypt()
156 if( ( ret = mbedtls_des_setkey_dec( &des_ctx, des_key ) ) != 0 ) in pem_des_decrypt()
163 mbedtls_platform_zeroize( des_key, 8 ); in pem_des_decrypt()
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/netif/ppp/
A Dpppcrypt.h132 void pppcrypt_56_to_64_bit_key(u_char *key, u_char *des_key);
/AliOS-Things-master/components/lwip/lwip2.0.0/include/netif/ppp/
A Dpppcrypt.h132 void pppcrypt_56_to_64_bit_key(u_char *key, u_char *des_key);

Completed in 9 milliseconds