1

I'm working to implement AES (128/256 - either) on one of the RISCV ISA processors & later improve performance by introducing a custom instruction in RISCV ISA.

I'm a crypto newbie and plan to use the NIST test vectors to validate this C code.

I need to know the below things

1) Is there a link wherein i can find implementation of AES using standard C library ?

2) Do i have to use some hashing scheme along with AES ? If yes, which one ?

3) Is it a good idea to validate my AES C code with the NIST test vectors

4) Do you recommend using a encryption library instead ? If so where can i find it ?

Biv
  • 9,979
  • 2
  • 39
  • 67
Displayname
  • 13
  • 1
  • 5
  • I'm sorry, but library recommendations and implementation recommendations are off-topic here (i.e. your question #1 and the second half of the fourth). They won't be answered because they could get outdated and be actively missleading at that point. – SEJPM Oct 19 '16 at 12:20
  • I implemented AES in C (with some optimizations of my own) in http://mokkong-shen.privat.t-online.de 2) No. 3) Yes. cf. also my Python implementation of AES in http://s13.zetaboards.com/Crypto/topic/7285224/1/ 4) No.
  • – Mok-Kong Shen Oct 20 '16 at 14:28