Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144338828
D30674.id90524.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30674.id90524.diff
View Options
Index: secure/lib/libcrypt/crypt-des.c
===================================================================
--- secure/lib/libcrypt/crypt-des.c
+++ secure/lib/libcrypt/crypt-des.c
@@ -177,20 +177,20 @@
static u_char bits8[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
-static u_int32_t saltbits;
-static u_int32_t old_salt;
-static u_int32_t *bits28, *bits24;
-static u_char init_perm[64], final_perm[64];
-static u_int32_t en_keysl[16], en_keysr[16];
-static u_int32_t de_keysl[16], de_keysr[16];
-static int des_initialised = 0;
-static u_char m_sbox[4][4096];
-static u_int32_t psbox[4][256];
-static u_int32_t ip_maskl[8][256], ip_maskr[8][256];
-static u_int32_t fp_maskl[8][256], fp_maskr[8][256];
-static u_int32_t key_perm_maskl[8][128], key_perm_maskr[8][128];
-static u_int32_t comp_maskl[8][128], comp_maskr[8][128];
-static u_int32_t old_rawkey0, old_rawkey1;
+__thread static u_int32_t saltbits;
+__thread static u_int32_t old_salt;
+__thread static u_int32_t *bits28, *bits24;
+__thread static u_char init_perm[64], final_perm[64];
+__thread static u_int32_t en_keysl[16], en_keysr[16];
+__thread static u_int32_t de_keysl[16], de_keysr[16];
+__thread static int des_initialised = 0;
+__thread static u_char m_sbox[4][4096];
+__thread static u_int32_t psbox[4][256];
+__thread static u_int32_t ip_maskl[8][256], ip_maskr[8][256];
+__thread static u_int32_t fp_maskl[8][256], fp_maskr[8][256];
+__thread static u_int32_t key_perm_maskl[8][128], key_perm_maskr[8][128];
+__thread static u_int32_t comp_maskl[8][128], comp_maskr[8][128];
+__thread static u_int32_t old_rawkey0, old_rawkey1;
static u_char ascii64[] =
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 10:30 PM (20 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28505439
Default Alt Text
D30674.id90524.diff (1 KB)
Attached To
Mode
D30674: crypt_r(3): fix reentrancy problems with DES
Attached
Detach File
Event Timeline
Log In to Comment