projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Increase ENTROPY_NEEDED to support Rijndael's larger key size.
[openssl.git]
/
crypto
/
rand
/
rand_win.c
diff --git
a/crypto/rand/rand_win.c
b/crypto/rand/rand_win.c
index a688467e022e8b55a366aae996a3cf58624aeb94..5f71d2da2600eee32f5440bf3c6cfa3473f489ea 100644
(file)
--- a/
crypto/rand/rand_win.c
+++ b/
crypto/rand/rand_win.c
@@
-582,7
+582,8
@@
static void readtimer(void)
if (have_tsc) {
__try {
__asm {
- rdtsc
+ _emit 0x0f
+ _emit 0x31
mov cyclecount, eax
}
RAND_add(&cyclecount, sizeof(cyclecount), 1);