I have been trying to convert TrueCrypt to use solely NASM - a fresh
download uses both NASM and YASM. However, NASM crashes when assembling the
Aes_x64.asm file.
Steps to reproduce:
1 - download the attached file
2 - alter YASM instructions to NASM equivalents; change line 719 from:
lea tptr,[enc_tab wrt rip]
to:
lea tptr,[rel enc_tab]
and line 833 from:
lea tptr,[dec_tab wrt rip]
to:
lea tptr,[rel dec_tab]
3 - execute nasm.exe -Xvc -f win64 -d DLL_EXPORT -o Aes_x64.obj
Aes_x64.asm. NASM will crash
To avoid the crash, comment out line 675:
export aes_encrypt
or remove -d DLL_EXPORT from the command line.
NASM version - 2.07
OS - WinXP SP3
Thanks,
Barry
Nobody/Anonymous
Assembler
None
Public
|
Date: 2009-10-14 09:10 Just tried the 2.08-rc1 windows build and the problem is indeed fixed. |
|
Date: 2009-10-13 18:50 See bug report 2827397 for details on the bug. |
|
Date: 2009-10-13 18:50 Nevermind. I was able to reproduce this, and this is, indeed, explicitly |
|
Date: 2009-10-13 18:50 The current version doesn't appear to have this problem. You may want to |
|
Date: 2009-10-13 18:43 This does not seem to happen with the latest snapshot build, could you |
| Filename | Description | Download |
|---|---|---|
| Aes_x64.asm | 64 bit AES file from TrueCrypt source | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| resolution_id | None | 2009-10-13 18:50 | hpa |
| status_id | Open | 2009-10-13 18:50 | hpa |
| close_date | - | 2009-10-13 18:50 | hpa |
| priority | 5 | 2009-10-13 18:43 | hpa |
| File Added | 345507: Aes_x64.asm | 2009-10-06 14:26 | barrydrink |