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

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


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Mon, 21 Oct 2019 11:35:29 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/c31D0hNMum9LI1vneJeSvyNbh3jpqWpLJKf5Lwg+3I=; b=J1cpznn/Q0qt9L+8e8GFJHtyU+fMXm/BlxfJllgQSTaROznjbTE+y2vXTkuzwmYqRP3Dsr3XnXxtNFw/kfX3vN41FuV+GSFLKUOwRdCL3s04E024EDScluNyB9Ln6LHYaBoX4ELCbc9kmpTVFiZmXdYtMZSeGWPtuZAeA86YGCxzQ7s4o4OEZEvv4w6X6043aYg9yxFmNYQDKfTCy8/cCgXKr2PZC2W8QYLsEoIpKijvgEnQ/CsZrAEwqOpc8YI3ECgLRYniikPBgDDo8NEUSAfI++z6mtth9OL0kzjyjtBF0g44blbl9i6xGXjbOCVQNNH1+sWiu4IatXIhzuDmaw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=caS9X1DMnQc/IPZPvjhp1QEzSgge8vprZO93+LucF334FytjFipeh+1O1RJI6OmNHCc7onO/ToUk0zw35hTz3iYHpIYSLvZS6sN5nCm8sI9CXxfQx4SN2z7a91DGiL4rp1VfSc4oaj/3Xa4NHJotKMspnaSlL0mD0nZ449g+j6HT+GRW3O9h8IMRVFn1C/b7szsJre19XpIGy9RLq0GElHkXWdiuKnb640uSshdLKNqb0YLsMkyhmUtGPLRNKHtE4tZO1s8dl9cFXE+kDNVNwwHdkrGMhXtahHiPEObKiw3m5J89FpJ04UjEW1hzfQL9xUJmPMXdgdae5l+St9jeUA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, "simon.kuenzer@xxxxxxxxx" <simon.kuenzer@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 21 Oct 2019 11:35:36 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHViAOjngO9FkFw7E6YJOMvFVqVCw==
  • Thread-topic: [UNIKRAFT PATCH v3 0/4] lib/ukswrand: Add ChaCha20

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.


Vlad-Andrei Badoiu (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            | 151 +++++++++++++++++++++++++++++++
 lib/ukswrand/include/uk/swrand.h |  10 +-
 lib/ukswrand/mwc.c               |  37 ++------
 lib/ukswrand/swrand.c            |  86 ++++++++++++++++++
 6 files changed, 273 insertions(+), 42 deletions(-)
 create mode 100644 lib/ukswrand/chacha.c
 create mode 100644 lib/ukswrand/swrand.c

-- 
2.20.1


_______________________________________________
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®.