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

[Minios-devel] [UNIKRAFT PATCH 0/3] Introduce posix-crypt internal library


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Tue, 26 Nov 2019 00:37:18 +0200
  • Delivery-date: Mon, 25 Nov 2019 22:37:29 +0000
  • Ironport-sdr: /7hL2v1gEQfI3bfI9/W9ko8Ms6ku16MbSNBqcUx62nBe+P718LwCmdWMapuR9Xa26IK/jvEL+l iOnCFze+Ue9Q==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

This is needed for providing crypt() and crypt_r() functions.

Costin Lupu (3):
  lib/posix-crypt: Introduce library skeleton
  lib/posix-crypt: Import code from musl
  lib/posix-crypt: Adapt imported musl code to Unikraft

 lib/Makefile.uk                               |    1 +
 lib/posix-crypt/Config.uk                     |    3 +
 lib/posix-crypt/Makefile.uk                   |   20 +
 lib/posix-crypt/musl-imported/include/crypt.h |   20 +
 .../musl-imported/src/crypt/crypt.c           |   14 +
 .../musl-imported/src/crypt/crypt_blowfish.c  |  798 +++++++++++++
 .../musl-imported/src/crypt/crypt_des.c       | 1016 +++++++++++++++++
 .../musl-imported/src/crypt/crypt_des.h       |   14 +
 .../musl-imported/src/crypt/crypt_md5.c       |  285 +++++
 .../musl-imported/src/crypt/crypt_r.c         |   23 +
 .../musl-imported/src/crypt/crypt_sha256.c    |  322 ++++++
 .../musl-imported/src/crypt/crypt_sha512.c    |  371 ++++++
 .../musl-imported/src/crypt/encrypt.c         |   52 +
 .../musl-imported/src/include/crypt.h         |   16 +
 14 files changed, 2955 insertions(+)
 create mode 100644 lib/posix-crypt/Config.uk
 create mode 100644 lib/posix-crypt/Makefile.uk
 create mode 100644 lib/posix-crypt/musl-imported/include/crypt.h
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/crypt.c
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/crypt_blowfish.c
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/crypt_des.c
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/crypt_des.h
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/crypt_md5.c
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/crypt_r.c
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/crypt_sha256.c
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/crypt_sha512.c
 create mode 100644 lib/posix-crypt/musl-imported/src/crypt/encrypt.c
 create mode 100644 lib/posix-crypt/musl-imported/src/include/crypt.h

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