[KSECDD]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 22 Jan 2014 23:41:04 +0000 (23:41 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 22 Jan 2014 23:41:04 +0000 (23:41 +0000)
commit0739ebd3f93445f36be07fb0310e350b46e15fcd
tree7a528ee4721e4ac1cf7c182f4b820dc503057fa7
parent49ca94a0f8bc871cb3a7100349853c69c48b7bd8
[KSECDD]
Implement IRP_MJ_DEVICE_CONTROL, handle ioctl 0x390004, used by MS advapi32 to generate random numbers. Even though it is not very crypto-safe, for now we just use RtlRandomEx, "improved" by xoring the seed with some data from KeTickCount (no idea whether that does any good)

svn path=/trunk/; revision=61759
reactos/drivers/crypto/ksecdd/CMakeLists.txt
reactos/drivers/crypto/ksecdd/dispatch.c
reactos/drivers/crypto/ksecdd/ksecdd.c
reactos/drivers/crypto/ksecdd/ksecdd.h
reactos/drivers/crypto/ksecdd/random.c [new file with mode: 0644]