#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:

  1. 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.
  2. You have to be running in 32-bit mode.
  3. You have to be using signals.

Change History (6)

comment:1 follow-up: Changed at 2013-04-08T06:09:12Z by zooko

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.

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: 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:6 Changed at 2016-01-03T23:02:49Z by zooko

  • Resolution set to fixed
  • Status changed from new to closed

fixed by #85

Note: See TracTickets for help on using tickets.