Searched refs:des_key (Results 1 – 5 of 5) sorted by relevance
/third_party/lwip/src/netif/ppp/ |
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()
|
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() 523 pppcrypt_56_to_64_bit_key(ZPasswordHash + 14, 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() [all …]
|
/third_party/mbedtls/library/ |
D | pem.c | 143 unsigned char des_key[8]; in pem_des_decrypt() local 148 if( ( ret = pem_pbkdf1( des_key, 8, des_iv, pwd, pwdlen ) ) != 0 ) in pem_des_decrypt() 151 if( ( ret = mbedtls_des_setkey_dec( &des_ctx, des_key ) ) != 0 ) in pem_des_decrypt() 158 mbedtls_platform_zeroize( des_key, 8 ); in pem_des_decrypt()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsdecrypt.c | 109 u8 des_key[8]; member 848 static gcry_error_t ntfs_desx_key_expand(const u8 *src, u32 *des_key, in ntfs_desx_key_expand() argument 874 des_key[0] = md[0] ^ md[1]; in ntfs_desx_key_expand() 875 des_key[1] = md[2] ^ md[3]; in ntfs_desx_key_expand() 1126 err = ntfs_desx_key_expand(fek->key_data, (u32*)ctx->des_key, in ntfs_fek_import_from_raw() 1130 ctx->des_key, 8); in ntfs_fek_import_from_raw()
|
/third_party/lwip/src/include/netif/ppp/ |
D | pppcrypt.h | 136 void pppcrypt_56_to_64_bit_key(u_char *key, u_char *des_key);
|