Opened at 2013-04-08T06:08:10Z
Closed at 2016-01-03T23:02:49Z
#84 closed defect (fixed)
segfault in AES
Reported by: | zooko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Version: | 0.5.29 | Keywords: | |
Cc: | Launchpad Bug: |
Description
https://groups.google.com/forum/?fromgroups=#!topic/cryptopp-users/qGIdqp3MIgg
From that message:
- You have to make sure that you're taking the SSE2 code path for AES. So, you need to be running on an SSE2 processor, and you either need to disable AESNI when compiling or have a processor that doesn't support it.
- You have to be running in 32-bit mode.
- You have to be using signals.
Change History (6)
comment:1 follow-up: ↓ 2 Changed at 2013-04-08T06:09:12Z by zooko
comment:2 in reply to: ↑ 1 Changed at 2013-04-08T19:30:51Z by daira
Replying to zooko:
But, if we define CRYPTOPP_DISABLE_ASM always in git/setup.py, that will almost certainly not hurt and could help.
+1
comment:3 Changed at 2013-04-12T16:46:03Z by zooko
I posted an update on the Crypto++ mailing list: https://groups.google.com/forum/?fromgroups=#!topic/cryptopp-users/qGIdqp3MIgg
#85 appears to be on the way to fixing this bug, but it is somewhat dissatisfying since I don't know _exactly_ why #85 fixes it.
comment:4 follow-up: ↓ 5 Changed at 2013-04-13T01:16:24Z by gdt
I went to the URL above, and got a blank screen, probably because I don't take google cookies or have a google login. Please consider this a bug report that requiring having a relationship with an advertising company to participate in an open-source project is a bug :-)
comment:5 in reply to: ↑ 4 Changed at 2013-04-19T19:25:08Z by zooko
gdt: sorry about that. Here's a mailing list archive on an alternate host:
comment:6 Changed at 2016-01-03T23:02:49Z by zooko
- Resolution set to fixed
- Status changed from new to closed
fixed by #85
I can't tell if this effects pycryptopp. See my post to the Crypto++ mailing list:
https://groups.google.com/forum/?fromgroups=#!topic/cryptopp-users/qGIdqp3MIgg
But, if we define CRYPTOPP_DISABLE_ASM always in git/setup.py, that will almost certainly not hurt and could help.