[NTOSKRNL] Rewrite/fix our UUID generation implementation

So that it matches Windows behavior
Also implement ExUuidCreate that will generate UUID version 1

The implementation is based on the RFC 4122
This commit is contained in:
Pierre Schweitzer 2019-02-27 21:12:32 +01:00
parent 2d9673c68f
commit eb8b481cd4
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
5 changed files with 327 additions and 165 deletions

View file

@ -236,9 +236,14 @@ NTAPI
ExpInitializeCallbacks(VOID);
INIT_FUNCTION
VOID
BOOLEAN
NTAPI
ExpInitUuids(VOID);
ExpUuidInitialization(VOID);
INIT_FUNCTION
BOOLEAN
NTAPI
ExLuidInitialization(VOID);
INIT_FUNCTION
VOID