Jump to content




EnderAPI - An API For the People, By the People

api

  • You cannot reply to this topic
65 replies to this topic

#61 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 28 December 2014 - 05:39 PM

View PostEngineer, on 23 December 2014 - 10:24 PM, said:

Can I please be taken off the list as developer? Thats because I do not code for ComputerCraft anymore, and I want this topic to be at the very least accurate ;)
Also, it is nice to see this alive again!
Of course! Nice to be back in business :)

#62 Anavrins

  • Members
  • 775 posts

Posted 31 December 2014 - 07:12 AM

About the crypto api, specifically the AES part, I tried testing it against the official FIPS test vectors and they did not pass.
After some research, it looks like the key_schedule part is not properly implemented.
https://dl.dropboxus...37842828/cc.png

#63 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 31 December 2014 - 07:12 PM

View PostAnavrins, on 31 December 2014 - 07:12 AM, said:

About the crypto api, specifically the AES part, I tried testing it against the official FIPS test vectors and they did not pass.
After some research, it looks like the key_schedule part is not properly implemented.
https://dl.dropboxus...37842828/cc.png
I'll speak to KillaVanilla about fixing that. It's not exactly my cup of tea.

#64 KillaVanilla

  • Members
  • 303 posts

Posted 01 January 2015 - 12:36 AM

View PostSuicidalSTDz, on 31 December 2014 - 07:12 PM, said:

View PostAnavrins, on 31 December 2014 - 07:12 AM, said:

About the crypto api, specifically the AES part, I tried testing it against the official FIPS test vectors and they did not pass.
After some research, it looks like the key_schedule part is not properly implemented.
https://dl.dropboxus...37842828/cc.png
I'll speak to KillaVanilla about fixing that. It's not exactly my cup of tea.

View PostAnavrins, on 31 December 2014 - 07:12 AM, said:

About the crypto api, specifically the AES part, I tried testing it against the official FIPS test vectors and they did not pass.
After some research, it looks like the key_schedule part is not properly implemented.
https://dl.dropboxus...37842828/cc.png

I'm looking into it, don't worry.

#65 Anavrins

  • Members
  • 775 posts

Posted 16 January 2015 - 06:27 AM

In addition to the Key Schedule, the shiftRows, invShiftRows and mixColumns functions were also wrong.
I made a pull request to fix them :)
https://github.com/S...nderAPI/pull/54

Edited by Anavrins, 16 January 2015 - 07:33 AM.


#66 Anavrins

  • Members
  • 775 posts

Posted 20 January 2015 - 05:19 AM

I figured out the problem with the Key Schedule, there was also an error with the round operations.
I've added both of these fix to my pull request, hope you consider it.
After testing AES again with all these fixes, it now correctly pass the test vectors! :D

Edited by Anavrins, 20 January 2015 - 05:22 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users