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

Re: [Minios-devel] [UNIKRAFT/LIBMBEDTLS PATCH 2/2] Add Makefile.uk


  • To: "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Thu, 30 Jan 2020 13:48:02 +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=EtHeMy64DQjBgIV9Y7DpFDDxTHBCfw7CTvEq93X/YW0=; b=oVkUijwtTaTF5GEe7pumqE6qVIX9ajWxpkax/tpRTvLFavfm+iVkR+TmSlsQ1ZgODaAYZCnkn1ahjCgEIlhPXvQtfb02a8gW/YWNdubMl5ObmIRxHO8HJmtPQDgLe0dB63m0JfD7zy0qOdVMkp41K0aar/G39fBIPVUA26/98YKZGxuexoa34U2p2hwjV+dMd1ERNIOqcoFntmghMprYwOyOgWct5YEkIv2TjP0NWGzZpf3Ktv886DmA0zEdnTVEOpRYs0oYY0YRoUhjveTUtXDFEC4ldQeb2xZUZnmjHX4E+ivcm+47Vxo8pViPrYb+iSW/bXa3u0EV2dSNJ6ccvw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aAN45CrlIqeld/gJmLTwypSp+dGn1X1mng/I7cn84B6IpOHkN8niREeOb+Tlk3Qcrhz0em82z5g8rXDE9spmXUhBkO8vU7SLNmSW6fG4PbXUYiy4mACRuPt1MTQ57fU3tvs464p6vz2tlBQCE1+fLCnzgMjd/AxRxDFfUZJbfPQfNxW83OimQ88/V++oOeSnBBxkqrd/oNKaXnSLP3o0NX9YBEk/lbwHtSlwnyJOoWXMVN8OU5OM/g5JiG5lsiNBsvcu5rz82H0GX/jKhms/jaq3f0b8OmjXkgwuMBbf3HopKACRjjDA9rQjMq2BAlQCfpC+ToPAtJAClDEkKClWgA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Delivery-date: Thu, 30 Jan 2020 13:48:07 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVbVhEuIXdxeaPMUu8PYaEN+4jdKgEDRQA
  • Thread-topic: [Minios-devel] [UNIKRAFT/LIBMBEDTLS PATCH 2/2] Add Makefile.uk

Thanks!

Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>

On 17.09.2019 16:02, Felipe Huici wrote:
> Add mbed TLS port Makefile.uk
>
> Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
> ---
>   Makefile.uk | 152 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 152 insertions(+)
>   create mode 100644 Makefile.uk
>
> diff --git a/Makefile.uk b/Makefile.uk
> new file mode 100644
> index 0000000..46d8488
> --- /dev/null
> +++ b/Makefile.uk
> @@ -0,0 +1,152 @@
> +#  libmbedtls Makefile.uk
> +#
> +#  Authors: Felipe Huici <felipe.huici@xxxxxxxxx>
> +#
> +#
> +#  Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. All rights reserved.
> +#
> +#  Redistribution and use in source and binary forms, with or without
> +#  modification, are permitted provided that the following conditions
> +#  are met:
> +#
> +#  1. Redistributions of source code must retain the above copyright
> +#     notice, this list of conditions and the following disclaimer.
> +#  2. Redistributions in binary form must reproduce the above copyright
> +#     notice, this list of conditions and the following disclaimer in the
> +#     documentation and/or other materials provided with the distribution.
> +#  3. Neither the name of the copyright holder nor the names of its
> +#     contributors may be used to endorse or promote products derived from
> +#     this software without specific prior written permission.
> +#
> +#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 
> IS"
> +#  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> +#  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> +#  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
> +#  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> +#  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> +#  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> +#  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> +#  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> +#  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> +#  POSSIBILITY OF SUCH DAMAGE.
> +#
> +#  THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> +#
> +
> +################################################################################
> +# Library registration
> +################################################################################
> +$(eval $(call addlib_s,libmbedtls,$(CONFIG_LIBMBEDTLS)))
> +
> +################################################################################
> +# Sources
> +################################################################################
> +LIBMBEDTLS_VERSION=2.18.1
> +LIBMBEDTLS_URL=https://github.com/ARMmbed/mbedtls/archive/mbedtls-$(LIBMBEDTLS_VERSION).zip
> +
> +#LIBMBEDTLS_PATCHDIR=$(LIBMBEDTLS_BASE)/patches
> +$(eval $(call 
> fetchas,libmbedtls,$(LIBMBEDTLS_URL),mbedtls-mbedtls-$(LIBMBEDTLS_VERSION).zip))
> +#$(eval $(call 
> patch,libmbedtls,$(LIBMBEDTLS_PATCHDIR),libmbedtls-$(LIBMBEDTLS_VERSION)))
> +
> +################################################################################
> +# Helpers
> +################################################################################
> +LIBMBEDTLS_SUBDIR=mbedtls-mbedtls-$(LIBMBEDTLS_VERSION)
> +LIBMBEDTLS_EXTRACTED=$(LIBMBEDTLS_ORIGIN)/$(LIBMBEDTLS_SUBDIR)
> +
> +################################################################################
> +# Library includes
> +################################################################################
> +CINCLUDES-$(CONFIG_LIBMBEDTLS) += -I$(LIBMBEDTLS_EXTRACTED)/include
> +
> +################################################################################
> +# Global flags
> +################################################################################
> +# Suppress some warnings to make the build process look neater
> +LIBMBEDTLS_SUPPRESS_FLAGS += -Wno-pointer-sign
> +
> +LIBMBEDTLS_CFLAGS-y   += $(LIBMBEDTLS_SUPPRESS_FLAGS)
> +LIBMBEDTLS_CXXFLAGS-y += $(LIBMBEDTLS_SUPPRESS_FLAGS)
> +
> +################################################################################
> +# Sources
> +################################################################################
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/aes.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/aesni.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/arc4.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/aria.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/asn1parse.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/asn1write.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/base64.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/bignum.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/blowfish.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/camellia.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ccm.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/certs.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/chacha20.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/chachapoly.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/cipher.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/cipher_wrap.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/cmac.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ctr_drbg.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/debug.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/des.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/dhm.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ecdh.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ecdsa.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ecjpake.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ecp.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ecp_curves.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/entropy.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/entropy_poll.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/error.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/gcm.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/havege.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/hkdf.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/hmac_drbg.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/md.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/md2.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/md4.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/md5.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/md_wrap.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/memory_buffer_alloc.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/net_sockets.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/nist_kw.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/oid.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/padlock.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/pem.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/pk.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/pk_wrap.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/pkcs11.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/pkcs12.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/pkcs5.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/pkparse.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/pkwrite.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/platform.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/platform_util.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/poly1305.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ripemd160.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/rsa.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/rsa_internal.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/sha1.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/sha256.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/sha512.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ssl_cache.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ssl_ciphersuites.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ssl_cli.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ssl_cookie.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ssl_srv.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ssl_ticket.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/ssl_tls.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/threading.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/timing.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/version.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/version_features.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/x509.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/x509_create.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/x509_crl.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/x509_crt.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/x509_csr.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/x509write_crt.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/x509write_csr.c
> +LIBMBEDTLS_SRCS-y += $(LIBMBEDTLS_EXTRACTED)/library/xtea.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®.