Home
last modified time | relevance | path

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

/reactos/drivers/network/tcpip/lwip/src/netif/ppp/
H 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()
H 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 …]
/reactos/dll/3rdparty/libtirpc/src/
H A Dcrypt_client.c81 bcopy(dparms->des_key, des_crypt_1_arg.des_key, 8);
H A Ddes_crypt.c141 COPY8(key, desp->des_key);
/reactos/sdk/lib/cryptlib/
H A Dtomcrypt.h126 } des_key; typedef
141 int des_setup(const unsigned char *key, int keylen, int num_rounds, des_key *skey);
142 void des_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const des_key *key);
143 void des_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const des_key *key);
H A Ddes.c1416 int des_setup(const unsigned char *key, int keylen, int num_rounds, des_key *des) in des_setup()
1453 void des_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const des_key *des) in des_ecb_encrypt()
1463 void des_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const des_key *des) in des_ecb_decrypt()
/reactos/dll/3rdparty/mbedtls/
H A Dpem.c173 unsigned char des_key[8]; in pem_des_decrypt() local
178 if( ( ret = pem_pbkdf1( des_key, 8, des_iv, pwd, pwdlen ) ) != 0 ) in pem_des_decrypt()
181 if( ( ret = mbedtls_des_setkey_dec( &des_ctx, des_key ) ) != 0 ) in pem_des_decrypt()
188 mbedtls_platform_zeroize( des_key, 8 ); in pem_des_decrypt()
/reactos/dll/win32/rsaenh/
H A Dtomcrypt.h126 } des_key; typedef
141 int des_setup(const unsigned char *key, int keylen, int num_rounds, des_key *skey);
142 void des_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const des_key *key);
143 void des_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const des_key *key);
H A Dimplglue.h68 des_key des;
H A Ddes.c1416 int des_setup(const unsigned char *key, int keylen, int num_rounds, des_key *des) in des_setup()
1453 void des_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const des_key *des) in des_ecb_encrypt()
1463 void des_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const des_key *des) in des_ecb_decrypt()
/reactos/dll/3rdparty/libtirpc/tirpc/rpcsvc/
H A Dcrypt.x69 u_char des_key[8]; /* key (with low bit parity) */ member
H A Dcrypt.h53 u_char des_key[8]; member
/reactos/dll/3rdparty/libtirpc/tirpc/rpc/
H A Ddes.h46 u_char des_key[8]; /* key (with low bit parity) */ member
/reactos/drivers/network/tcpip/lwip/src/include/netif/ppp/
H A Dpppcrypt.h136 void pppcrypt_56_to_64_bit_key(u_char *key, u_char *des_key);
/reactos/modules/rostests/winetests/advapi32/
H A Dcrypt_lmhash.c387 static unsigned char des_key[] = { variable
416 r = func(des_plaintext, des_key, output); in test_SystemFunction_encrypt()
438 r = func(des_ciphertext, des_key, output); in test_SystemFunction_decrypt()