flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 25 Jul 2006, 15:18
boss says DES is not safe anymore... and that you should use AES
|
|||
![]() |
|
Tomasz Grysztar 25 Jul 2006, 15:50
Not that I have choice.
![]() It's for SmartCards, BTW. PS. As for AES/Rijandel, we've got it already on the board somewhere... |
|||
![]() |
|
vid 25 Jul 2006, 16:06
ummm, some HW-close smartcard driver coding? mmmmmmm....
![]() |
|||
![]() |
|
f0dder 25 Jul 2006, 16:12
Tomasz, try looking for "john the ripper", a unix password cracker... it has some DES routines that should be very optimized, or so it's said.
|
|||
![]() |
|
Reverend 25 Jul 2006, 18:55
There are lots of crypto implementations on Witeg's site. All are in masm, but written very, very well and thus easy to make fasm-compilable. There's no DES/3DES, but I found:
Quote: NewDES (SRC) 2.82 KB NewDES algo (anything like a new version of DES... and weaker than DES) |
|||
![]() |
|
Tomasz Grysztar 26 Jul 2006, 00:03
I found some here, but it's GAS syntax, which is strange enough that I finally done it myself.
![]() It's far from being optimized but at least it appears to be working, and that's enough for me right now. I'm attaching it here in case of someone else searching for such solution. Note: the provided functions encode/decode just 64-bit blocks given in EDX:EAX. But it should easy to put them in a loop (combined with XOR operation for CBC) to make larger encodings.
|
|||||||||||
![]() |
|
f0dder 26 Jul 2006, 08:09
When you get the need for speed, google for "DES bitslice", and perhaps add MMX or DES to the party too
![]() |
|||
![]() |
|
Ivan2k2 26 Jul 2006, 08:56
try this DES, it's masm syntax
|
|||||||||||
![]() |
|
Ivan2k2 26 Jul 2006, 14:14
...and fasm version: http://www.wasm.ru/src/9/des.rar
|
|||
![]() |
|
Vasilev Vjacheslav 27 Jul 2006, 05:37
_________________ [not enough memory] |
|||||||||||||||||||||||||||||||
![]() |
|
Vasilev Vjacheslav 27 Jul 2006, 05:39
and another
_________________ [not enough memory] |
|||||||||||||||||||||
![]() |
|
weiss 02 Aug 2006, 09:37
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.