-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
The assertion error occurs when the JIT-enabled emulator is executing the aes.elf
program:
Assertion failed: (state->offset <= state->size - len), function emit_bytes, file jit.c, line 281.
The way to reproduce:
$ make ENABLE_JIT=1 distclean all
...
AES-128 FPE decryption: PASSED!
AES-128 key wrapping : PASSED!
AES-128 key unwrapping: PASSED!
+-> Let's do some extra tests
Assertion failed: (state->offset <= state->size - len), function emit_bytes, file jit.c, line 281.
Without JIT compiler, it is able to run:
$ make ENABLE_JIT=0 distclean all
$ build/rv32emu build/aes.elf
...
AES-128 EAX encryption: PASSED!
AES-128 EAX decryption: PASSED!
AES-128 Poly1305 auth.: PASSED!
AES-128 Poly1305 auth.: PASSED!
inferior exit code 0
henrybear327
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working