Commit Graph

23 Commits

Author SHA1 Message Date
Mads Kiilerich
ab051e5cee core: reset crypto key counters when the keys are initialized
This fixes --sec rdp --salted-checksum in combination with farm redirect.

The counters are implicitly set to 0 in rdp_new, but they also has to be reset
after redirects. Resetting the counters when the keys are reset seems like the
cleanest solution.
2012-03-24 01:57:09 +01:00
Pawel Jakub Dawidek
d70cc2f4ea For salted checksums we need separate counters, as the
encrypt_use_count and decrypt_use_count counters are reset during key
regeneration and we need counters that are never reset.
2012-02-22 19:26:00 +01:00
Anthony Tong
542a472b2e libfreerdp-core: disable fp input if FIPS is negotiated 2012-02-18 08:49:20 -06:00
Pawel Jakub Dawidek
b3a4be0298 We calculate checksum on plain text, so we must have already decrypt it, which means decrypt_use_count is off by one. Account for this. 2012-01-25 17:14:11 +01:00
Pawel Jakub Dawidek
8238f2369d - Simplify security_mac_signature() API.
- Introduce implementation of security_salted_mac_signature() that would be
  used to handle packets with SEC_SECURE_CHECKSUM flag.
2012-01-19 05:10:06 +01:00
Pawel Jakub Dawidek
3bbd2f28c7 Use CRYPTO_*_DIGEST_LENGTH defines instead of magic values. 2012-01-19 04:48:32 +01:00
Pawel Jakub Dawidek
6a7fe3e520 If we are server, our encryption key is client's decryption key and vice-versa. 2012-01-16 15:55:06 +01:00
Marc-André Moreau
0c9db6a40a libfreerdp-core: pad larger portion of rdpSettings 2012-01-14 14:42:36 -05:00
Mike Gilbert
5b7fc71b37 security: Add const to table declarations. 2011-11-30 17:33:13 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Jay Sorg
123398c419 coding style 2011-09-23 23:38:11 -07:00
Jay Sorg
b773c7e728 move non settings security items out of settings 2011-09-23 23:09:29 -07:00
Anthony Tong
052e870597 initial fips encryption work 2011-09-15 18:54:03 -05:00
Jay Sorg
fa4aa9f297 remove some debugging messages 2011-09-14 21:37:37 -07:00
Jay Sorg
2e2875966f client / server random fix 2011-09-13 18:52:10 -07:00
Jay Sorg
2ac4a5fa96 work on rdp encryption 2011-09-12 23:40:27 -07:00
Brad Hards
2601d110aa Various minor warning fixes and unittest fixes. 2011-07-27 09:14:11 +10:00
Marc-André Moreau
ac31328a64 libfreerdp-core: started processing of server demand active pdu 2011-07-19 16:30:05 -04:00
Marc-André Moreau
08c14ddf33 libfreerdp-core: fix computation of session key blob 2011-07-14 17:02:35 -04:00
Marc-André Moreau
685c8d4635 libfreerdp-core: licensing cryptographic response 2011-07-13 10:21:12 -04:00
Marc-André Moreau
0d2b3c0ca5 libfreerdp-core: generation of licensing keys 2011-07-12 15:10:43 -04:00
Marc-André Moreau
d797e7ce92 libfreerdp-core: started licensing module 2011-07-11 20:46:03 -04:00
Marc-André Moreau
297334bae2 libfreerdp-core: refactoring of RDP module 2011-07-11 18:46:36 -04:00