Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mras0
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
mras0
8mo ago
There already exist cross-compilers (e.g. http://sun.hasenbraten.de/vbcc/ and various amiga-gcc versions). vAmos is more for the case where you want to use an Amiga-native compiler (say SAS/C http://pjh
2.
▲
by
mras0
8mo ago
Amiga Forever is a distribution of software (Amiga ROMs and OS disks) and a full system emulator: CPU, custom chips (graphics/sound/..) etc. It allows you to emulate various Amiga systems completely. vAmos is just CPU and an embed
3.
▲
by
mras0
11mo ago
Size optimizing assembly code finds use in a variety of places. Demoscene for size constrained things is one of them, but also "hacking"/exploits and of course "whitehat" stuff (patches / compiler optimization
4.
▲
by
mras0
11mo ago
I understand what you're getting at, but in this case even I (who know what most things on that page means) struggle to understand why it was submitted. Are we looking for the 0E opcode? New optimization opportunities? Genuinely asking
5.
▲
by
mras0
11mo ago
The link is to an opcode map with strange abbreviations with no apparent explanation. Asking "What am I looking at?" without doing any research (with a LLM or otherwise) is entirely reasonable.
6.
▲
by
mras0
11mo ago
Not sure why you're being downvoted. You need a to know quite a bit of esoteric knowledge to parse this beyond knowing x86 opcodes (even x86 assembly). It's more or less the same information you get from the intel manuals (specifi
7.
▲
by
mras0
1y ago
No, it's due to the construction of bcrypt - it ends up using the password more or less directly as the key for blowfish (the underlying cipher) which is why the limit is there. Check wikipedia for details.
8.
▲
by
mras0
1y ago
bcrypt is based on the blowfish cipher which "only" support keys up to 576 bits (72 bytes) in length (actually only 448 bits as spec'ed). Wikipedia has all the details.
9.
▲
by
mras0
1y ago
> moduli generated by OpenSSL will always have the high bit set Correct for 1024, but... openssl genrsa 1023 | openssl rsa -text -noout :) Also just noticed that openssl rsa actually has a -modulus switch so you can make do with
10.
▲
by
mras0
1y ago
The standard format for RSA private keys is ASN.1 ( https://www.rfc-editor.org/rfc/rfc8017#appendix-C ) with the components encoded as INTEGERs. An INTEGER is always signed in ASN.1, so you need the leading 0 byte if the
11.
▲
by
mras0
1y ago
Not really the ethos of C(++), though of course this particular bug would be easily caught by running a debug build (even 20 years ago). However, this being a game "true" debug builds were probably too slow to be usable. That was
12.
▲
by
mras0
2y ago
Good luck! As the sibling comment mentions, Asm-Pro is IMO a good choice these though it requires KSv2+ (so you can't use it on an stock A500). I mostly use vasm for "larger" stuff though ( http://sun.hasenbraten.de
13.
▲
by
mras0
2y ago
Update: a1=-1 is a bad choice of test value (0 is much better), as it won't show the issue if present! However, it doesn't change the outcome of the test on 060, but I would have noticed that 020 is affected as well (as also menti
14.
▲
by
mras0
2y ago
Rev5 "full" 060 (not EC/LC). Quick capture of crappy methodology: https://imgur.com/a/XwQ1Tnp (PCR with revision number is in d0)
15.
▲
by
mras0
2y ago
Have an Amiga w/ 060, and that instruction doesn't seem to modify any A registers. (Only did a very quick test of those exact instruction words)
16.
▲
by
mras0
2y ago
Thanks, understand what you mean. I probably botched the 1/4 probability thing, was thinking 4^-60 gives 2^-120 bit assurance (roughly, security margin in my mind), and an extra round would quadruple it, but doesn't work that way
17.
▲
by
mras0
2y ago
Thanks for the reply (and it definitely answers my original question). For both short-lived keys, and where production time matters it makes perfect sense. I was mostly thinking about the scenario where you're generating a key for e.g.
18.
▲
by
mras0
2y ago
I don't pretend to understand all the involved math, but what I'm trying to say is that as far as I understand T rounds gives 4^-T probability that we've chosen a "bad" prime (really composite) per normal Miller-Rab
19.
▲
by
mras0
2y ago
The BSI recommendation I linked says 60 times here (considering the worst case and the security level they're targeting). Just wondering why we'd want to do less for a (presumably rare) one-time operation.
20.
▲
by
mras0
2y ago
I happened to look at this recently, and while I understand the argument (but not the math) of having to do fewer Miller-Rabain rounds, why would you do so in PRACTICAL settings? Unlike ECC you're likely only generating long term keys,
21.
▲
by
mras0
2y ago
Great article and analysis as always, thanks! Somewhat crazy to remember that a (as you argue) minor CPU erretum made world wide headlines. So many worse ones out there (like you mention from Intel) but others as well, that are completely f
22.
▲
by
mras0
2y ago
Thing is that isn't a single unified Amiga community with a clear goal. Roughly speaking you have people who (like this project) want to keep the "OS/UI experience" and move that forward to newer architectures and build
23.
▲
by
mras0
3y ago
Simplified: Traditional SIM card is "smart" card with a chip (exactly like modern credit cards) from your network operator that gives access to mobile network(s). The chip has software + data that allows this. eSIM: same (or simil
24.
▲
by
mras0
3y ago
Once the drive is spinning that doesn't matter though. Floppies are slow by modern standards mostly because you only get a new (decoded) bit around every 2nd (or for DD drives 4th) microsecond, and the drive takes some time stepping to
25.
▲
by
mras0
3y ago
The addressing modes do exist on 68020+ ( https://www.nxp.com/files-static/archives/doc/ref_manual/M68... section 2.2), but I don't think any compiler will generate them (even with -mcpu=68020) as I
26.
▲
by
mras0
3y ago
Only supported on 68020+ though, but yeah think it would be something like move.l #3,([6,a0,d0.l*8],4) (scale only goes up to 8 though)
27.
▲
by
mras0
4y ago
One thing to consider is that the compiler can't simply replace a division by just a right shift for signed variables (it will round towards -inf for negative numbers), so even today there's a tiny bit of benefit of explicitly usi
28.
▲
by
mras0
4y ago
Yeah, and I seem to recall reading an article about some of the good old tricks (think it was about the Aladdin game?), but unfortunately I can't seem to find it now. Doing the dithering (by hand) just right would give a good effect in
29.
▲
by
mras0
4y ago
14" 1994 vintage Microvitec. Very popular monitor for Amiga systems because it supports 15KHz horizontal refresh rate modes (PAL/NTSC TV standard - for games/demos) up to 31KHz+ (VGA) for nice flicker free 640x480 60Hz displa
30.
▲
by
mras0
4y ago
Guess it depends. I haven't had a CRT TV for many years, but I have an old multisync CRT monitor and I can clearly see the individual raster lines (close up of 320x200 progressive scan: https://i.imgur.com/Osc4ZMm.jpeg
More ›