aboutsummaryrefslogtreecommitdiffstats
path: root/src/sym_algo
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-17 03:17:10 +0000
committerlloyd <[email protected]>2010-02-17 03:17:10 +0000
commit899d91f8f3f53cf0c19389e2a3667d93974a8a53 (patch)
treed77d30f61e5ebdfe39db3fdfc1b530378794265a /src/sym_algo
parent4f98e547994cdbb9643d096736cdd7d1e154196e (diff)
Remove almost entirely unnecessary friend access from GFpElement to
GFpModulus. Doing this pointed out what is probably a threading/race bug as well: assigning to a single GFpElement causes it to reset the GFpModulus to new values, but of course the other GFpElements don't know about this. Sharing the GFpModulus was a really really bad design choice by the InSiTo folks and it needs to die. That might end up wasting a bit of memory, but it will probably fix a lot of nasty bugs, and also remove the use of atomic operations which in the long run is going to hurt performance a lot worse than some extra cache use.
Diffstat (limited to 'src/sym_algo')
0 files changed, 0 insertions, 0 deletions