You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/06/14 12:54:23 UTC

[GitHub] [mynewt-core] utzig commented on issue #1876: [RFC] Add cryptographic HASH driver

utzig commented on issue #1876: [RFC] Add cryptographic HASH driver
URL: https://github.com/apache/mynewt-core/pull/1876#issuecomment-502098242
 
 
   TIL: it's interesting that the driver interface table should always be the minimum amount of functions required to achieve the functionality that a user may need, because the linker cannot garbage collect the non-used functions from the table.
   
   In this proposal I have one interface function called `process` that does the same as calls to `start + update + finish`. Although I have not used `process` it still uses 200 bytes (about the same as the other 3 functions together). Since this can be trivially done in the upper layer, I will remove later.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services