[Cryptech Tech] core size in cryptech.h
Joachim Strömbergson
joachim at secworks.se
Tue May 5 10:25:50 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Aloha!
Thanks!
Paul will you update this document or shall I?
Шатов Павел wrote:
>
>
> Отправлено из мобильной Яндекс.Почты: http://m.ya.ru/ymail
>
> 11:25, 4 мая 2015 г., "Joachim Strömbergson" <joachim at secworks.se>:
>
>
>
> Aloha!
>
> Павел Шатов wrote:
>
> Speaking of core sizes, as far as I remember, we wanted to have
> different segments for different types of cores. All hashes can be in
> one segment and have the same size. ECDSA is a signature core, we can
> place it in a different segment, where all cores will have different
> size and so on.
>
> Yes. And as long as we don't run out of address space in a segment I
> think grouping cores makes sence. We have five out of eight possible
> segments allocated so we do have a lot of headroom still. The
> globals segment could probably be squeezed a bit if it starts getting
> cramped. But for now I think we should just use what we have. As long
> as we can have the core sizes a bit different for modexp, ecdsa for
> example.
>
> We could also bikeshed a bit about if math is the best name for the
> segmemt that supports rsa, ecdsa. I don't know how generic re curves
> your core. But for modexp the name works.
>
> One similar issue is cipher modes. Having things like ctr, gcm in
> ciphers is straight forward. But should keywrap also be there. And
> for keywrap I would appreciate thoughts from you, Rob, Paul and
> anyone else how the use case should be.
>
> Basically we want to be able to write read and write wrapped keys
> and wrap/unwrap keys stored in RAM inside the FPGA. But we then would
> also like to be able to send unwrapped keys to the other cores (or
> have them read from a common key memory.) (Having the CPU transfer
> the unwrapped keys would make the wrapping rather meaningless ;-)
>
> This might mean that we need to add an internal top level
> controller/DMA unit (which could have addresses in the globals.)
> inside the FPHA. The controller can perform read/writes on the
> internal bus for us. Or some other mechanism. Thie controller would
> then also be able to access addresses the CPU can't.
>
> Joachim, we really need to write down what cores we have right now.
> Can you update that memory map, that I created along with baseline
> project?
>
> Sure. I will update the cryptech.h and the RTL with all cores (aes,
> chacha are the main ones not in there). Where is the document in the
> repo?
>
>
> http://wiki.cryptech.is/browser/test/novena_base/doc/EIM_Memory_Map.doc
>
> Download the .doc file.
>
>
>
> - -- Med vänlig hälsning, Yours
>
> Joachim Strömbergson - Alltid i harmonisk svängning.
> ========================================================================
>
>
Joachim Strömbergson Secworks AB joachim at secworks.se
> ========================================================================
>
> -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 Comment:
> GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla -
> http://enigmail.mozdev.org/
>
> iQIcBAEBCAAGBQJVRx76AAoJEF3cfFQkIuyNy9QP/0iIhC6cOQZLi7390i7MKD6f
> Rbf9pbMvA3FE6oegyaN/EtyPeuYZvGTSMjpBxm62js39mQA73s22krtEU256Zyp2
> iGSk8jXI69RbVwPrD/4xJTlYaHsGzeOnoydNYTRmTf1srqCvPfvzlE5ZET33mAi7
> yznLL2v3k5arJetx19JS/RG/7t74eHVI07LywRheTczJUJ0qf7LS4x4Oar9bph8l
> u+zWPLnjbaviX72QaV++II3uri8FiEF7I3n5EFu5fBpSOZoV6YDRZeU7RqtI2azW
> ep67y9z7O8sAK1z/uabvKoeGkOidzLeREbpYy0HVFNxaql1UJkmE6Af42dBtQUVr
> RFHDoPobCK91jAR9/YjvM8Lg6smgsGPH2C16OvdhaL90t9JVpj5cYuzGNsieeDvV
> KJzaZw9E9hXxPBmT8njJqFj/9k0c63ZTt/fUc1lTTktpWmnoijCdYIEqNxaYZwRq
> cGjYRFvkUJfeYyoxxr+W/1olg7v6ZPvdrJyky3iMpTxvUkqkjF5gnIpI4kuNKgP/
> MdxdY4sr0O4HxlL4PksbisVcB7JUgm43QkWx9c4aPyzqq8ILATan467fF1B5TQis
> eKlFPDrE81r+ZJTrBkRTP0P6mQO0edoFwB60Zx7JLWY7GTydDyCZdqAZWMw8lHqU
> pU761DgVTj14CkFR8VYg =XHGr -----END PGP SIGNATURE-----
>
>
>
- --
Med vänlig hälsning, Yours
Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
Joachim Strömbergson Secworks AB joachim at secworks.se
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJVSJquAAoJEF3cfFQkIuyNGJkP/2lGKJWxGKPdfn6xI1lVapCq
/Add8ESXNpiwElCSCg9VrfqpR8toDuZfzRB6a8+rvxx3cVqji0aqZATKHipyO/w8
8PK5G0GWuWngypzjohJIlDmfKuVz3owLJw/U/wNd+PjJhH1A+HfY9R/E/MYGdtnu
/n4jEVhxf8Pu9/OsRyZJj6vs6k/YYvn5ajzN5kzX8S7qTxfEWe565QTOmkVQQg3B
DzKlin1t5f5b5rOFNsTAOP8269HzMOnPI0NZH+dxYzSlcbP3M7Zoi6DTl6RjvVAn
uazL7oRH+Fb+iMk9bGI2MComdBr32fR226P9TnKUrnzJWwwpuFmmU7fpmQHgg34T
SyCF41gyeBwy+V5np5Zu/dpC1Nef4FpCT4/9UOHVcJbXx2+oMQ4Vts2gw2dR2eSL
mltW8GofnMIEjWOYy/KiFpqESqps9WGDkhA6Mvtp8Vvw3lbc5CTsSxuq6mMAs65E
Ze2TrI6DMNNSKFYDekA7Gs30uSLPDFHyqCxTMxrD5RolgBx7pn71Hr3IwC3wXIxC
DHlADemKKiduiHdn/EeEWWzzT1zHHi8tZbDbecRHqFsaV/SzFKv+lxPwbZTkN9zl
5KaVr1vPE4DQnxdzdn2HRxbqmLWUb694EPGxVnj7fQQT/pnLFz+0rpsNAvZzRbUS
yf8harDrfvGm6j1YMAeJ
=cNs0
-----END PGP SIGNATURE-----
More information about the Tech
mailing list