[Cryptech Tech] Padding in hash cores?

Fredrik Thulin fredrik at thulin.net
Thu Feb 6 12:25:35 UTC 2014


On Thursday 06 February 2014 12.56.03 Joachim Strömbergson wrote:
> Aloha!
> 
> Fredrik Thulin wrote:
> > It seems reasonable to me that the FPGA expects fixed size blocks,
> > and the layer above (MCU) does any necessary padding.
> 
> Good, then I don't do padding in HW.

When you say HW, you mean the blue layer of the cake?

  https://cryptech.is/attachment/wiki/OpenCryptoChip/layer-cake.jpg

When I say HW, I mean blue+green. So what I'm saying seems reasonable to me is 
to pad in green, to avoid having to do it in all instances of yellow.

Randy, that clarification answers your question too?

/Fredrik




More information about the Tech mailing list