-
Notifications
You must be signed in to change notification settings - Fork 0
/
emu_test.s
79 lines (61 loc) · 1.3 KB
/
emu_test.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
opt h-
org $0200
table
jsr random_single_eor_seed
nop
jsr random_single_eor
nop
jsr random_four_taps_eor_seed
nop
jsr random_four_taps_eor
nop
jsr random_sfc16_seed
nop
jsr random_sfc16
nop
jsr wrapper_random_chacha20_8_seed
nop
jsr random_chacha20
nop
jsr wrapper_random_chacha20_12_seed
nop
jsr random_chacha20
nop
jsr wrapper_random_chacha20_20_seed
nop
jsr random_chacha20
nop
jsr random_jsf32_seed
nop
jsr random_jsf32
nop
jsr random_arbee_seed
nop
jsr random_arbee
nop
jsr random_sfc32_seed
nop
jsr random_sfc32
nop
.proc wrapper_random_chacha20_8_seed
mvy #8/2 random_chacha20_core.rounds
jmp random_chacha20_seed
.endp
.proc wrapper_random_chacha20_12_seed
mvy #12/2 random_chacha20_core.rounds
jmp random_chacha20_seed
.endp
.proc wrapper_random_chacha20_20_seed
mvy #20/2 random_chacha20_core.rounds
jmp random_chacha20_seed
.endp
.define RANDOM_ENABLE_SINGLE_EOR
.define RANDOM_ENABLE_FOUR_TAPS_EOR
.define RANDOM_ENABLE_SFC16
.define RANDOM_ENABLE_CHACHA20
.define RANDOM_ENABLE_JSF32
.define RANDOM_ENABLE_ARBEE
.define RANDOM_ENABLE_SFC32
;.define RANDOM_ENABLE_ARBEE_ENTROPY_POOLING
RANDOM_ZERO_PAGE=0
icl 'random.s'