Page MenuHomeFreeBSD

D30674.id90524.diff
No OneTemporary

D30674.id90524.diff

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

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)

Event Timeline