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

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH v2 0/2] Import crypt() and crypt_r() from musl



Hi Costin,


Thank you very much for this patch series!


Best,

Roxana

On 27.11.2019 16:22, Costin Lupu wrote:
This series was previously named 'Introduce posix-crypt internal library'.
Following the discussion on the mailing list, we aggreed to adopt Simon's
suggestion and move the code into newlib glue. Therefore we got rid of the
first patch, while the second one is almost the same (the only difference is
that `musl-imported/include/crypt.h` was already here). For the third patch we
started from the same one we used for v1 and applied Roxana's feedback.

Costin Lupu (2):
   Import crypt code from musl
   lib/posix-crypt: Adapt imported musl code to Unikraft

  Config.uk                                |    4 +
  Makefile.uk                              |   15 +
  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        |   27 +
  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 +
  12 files changed, 2934 insertions(+)
  create mode 100644 musl-imported/src/crypt/crypt.c
  create mode 100644 musl-imported/src/crypt/crypt_blowfish.c
  create mode 100644 musl-imported/src/crypt/crypt_des.c
  create mode 100644 musl-imported/src/crypt/crypt_des.h
  create mode 100644 musl-imported/src/crypt/crypt_md5.c
  create mode 100644 musl-imported/src/crypt/crypt_r.c
  create mode 100644 musl-imported/src/crypt/crypt_sha256.c
  create mode 100644 musl-imported/src/crypt/crypt_sha512.c
  create mode 100644 musl-imported/src/crypt/encrypt.c
  create mode 100644 musl-imported/src/include/_crypt.h


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