- // Load (plain) uid^nt into the cipher\r
- crypto1_word(pcs, nt ^ uid, 0);\r
+ if (isNested == AUTH_NESTED) {\r
+ // decrypt nt with help of new key \r
+ nt = crypto1_word(pcs, nt ^ uid, 1) ^ nt;\r
+ } else {\r
+ // Load (plain) uid^nt into the cipher\r
+ crypto1_word(pcs, nt ^ uid, 0);\r
+ }\r
+\r
+ // some statistic\r
+ Dbprintf("auth uid: %08x nt: %08x", uid, nt); \r