You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following on from issue #266, I'm wondering whether the element order is reversed for vaes* instructions in the rivosinc Spike reference implementation. Can you please check whether the specification and model are correct? Thanks.
Apart from the trivial vaesz.vs, I'm not able to get any vaes* instruction to match what I think the specification is saying. I looked at one of the easier instructions, vaeskf2.vi. For this the specification says:
Just to confirm: to match Spike behaviour, definitions of vaeskf1.vi, vaeskf2.vi, aes_shift_rows_fwd and aes_shift_rows_inv in the specification need to be modified.
Thanks for letting us know about this James.
The Spike code is correct and I am in the process of fixing the pseudo-code in the specification. As you said, the word order was reversed in the key-round generation pseudo code. The shift_rows function pseudo-code has been replaced.
Following on from issue #266, I'm wondering whether the element order is reversed for
vaes*
instructions in the rivosinc Spike reference implementation. Can you please check whether the specification and model are correct? Thanks.Apart from the trivial
vaesz.vs
, I'm not able to get anyvaes*
instruction to match what I think the specification is saying. I looked at one of the easier instructions,vaeskf2.vi
. For this the specification says:But the implementation in Spike seems to be:
Is it possible the element order is reversed for all
vaes*
instructions?Thanks.
The text was updated successfully, but these errors were encountered: