[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH v5 0/4] lib/ukswrand: Add ChaCha20



Thanks a lot for the changes!

Thanks,

Simon

On 27.11.19 13:41, Vlad-Andrei BĂDOIU (78692) wrote:
We add the ChaCha20 algorithm. This patch series refactors the
existing code for multiple algorithms support.

Changes since v2:
* Moved _uk_rotl32 to chacha.c
* Moved the constructor and _get_random_seed32 to swrand.c
* Added compile check for rdrand
* Changed to drop-down menu in config.

Changes since v3:
* Extend the seed argument at the init function with a custom sized vector
* Renamed _get_random_seed() to uk_swrandr_gen_seed32() which is now
public

Changes since v4:
* Resolve checkpatch errors

Vlad-Andrei BĂDOIU (78692) (4):
   lib/ukswrand: Adapt the library to work with multiple algorithms
   lib/ukswrand: Add seed generating function
   lib/ukswrand: Add ChaCha algorithm
   lib/ukswrand: Fix uk_swrand_fill_buffer to fill the entire buffer

  lib/ukswrand/Config.uk           |  29 +++++-
  lib/ukswrand/Makefile.uk         |   2 +
  lib/ukswrand/chacha.c            | 160 +++++++++++++++++++++++++++++++
  lib/ukswrand/exportsyms.uk       |   1 +
  lib/ukswrand/include/uk/swrand.h |  13 +--
  lib/ukswrand/mwc.c               |  52 +++-------
  lib/ukswrand/swrand.c            |  98 +++++++++++++++++++
  7 files changed, 303 insertions(+), 52 deletions(-)
  create mode 100644 lib/ukswrand/chacha.c
  create mode 100644 lib/ukswrand/swrand.c


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.