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

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


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Wed, 27 Nov 2019 16:22:29 +0200
  • Delivery-date: Wed, 27 Nov 2019 14:22:40 +0000
  • Ironport-sdr: 59SgVpyyCB8Buk9IzlZjIE31nb8tEg7flUZ3x7e393t+UhSEgwTOARi4E19YxYYPLYLEkYNE/u iFPBsD8Mj1Vw==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

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

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