diff --git a/README.rst b/README.rst index 14f725d2..03aec315 100644 --- a/README.rst +++ b/README.rst @@ -37,7 +37,7 @@ In order to run the tests, enter:: In order to build for a Windows platform, you should use WINDOWS_BUILD=1 if the target is Windows but the build environment is Unix-like (eg when cross-compiling, or compiling from an MSYS shell), and WINDOWS=1 if the build environment is a Windows shell. -Depending on your platform, you might run into some issues. Please check the Makefiles in *library/*, *programs/* and *tests/* for options to manually add or remove for specific platforms. You can also check `the mbed TLS Knowledge Base `_ for articles on your platform or issue. +Depending on your platform, you might run into some issues. Please check the Makefiles in *library/*, *programs/* and *tests/* for options to manually add or remove for specific platforms. You can also check `the mbed TLS Knowledge Base `_ for articles on your platform or issue. In case you find that you need to do something else as well, please let us know what, so we can add it to the KB. @@ -128,10 +128,10 @@ For larger contributions, e.g. a new feature, the code possible falls under copy Process ------- -#. `Check for open issues `_ or - `start a discussion `_ around a feature +#. `Check for open issues `_ or + `start a discussion `_ around a feature idea or a bug. -#. Fork the `mbed TLS repository on Github `_ +#. Fork the `mbed TLS repository on Github `_ to start making your changes. #. Write a test which shows that the bug was fixed or that the feature works as expected. diff --git a/include/polarssl/aes.h b/include/polarssl/aes.h index 4ca69b7c..8bcc0393 100644 --- a/include/polarssl/aes.h +++ b/include/polarssl/aes.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/aesni.h b/include/polarssl/aesni.h index 7125d6ac..bb514ca6 100644 --- a/include/polarssl/aesni.h +++ b/include/polarssl/aesni.h @@ -5,7 +5,7 @@ * * Copyright (C) 2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/arc4.h b/include/polarssl/arc4.h index 96e520d8..9de05770 100644 --- a/include/polarssl/arc4.h +++ b/include/polarssl/arc4.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/asn1.h b/include/polarssl/asn1.h index c723c008..0bfa9293 100644 --- a/include/polarssl/asn1.h +++ b/include/polarssl/asn1.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/asn1write.h b/include/polarssl/asn1write.h index ecb82cee..154a6ba2 100644 --- a/include/polarssl/asn1write.h +++ b/include/polarssl/asn1write.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/base64.h b/include/polarssl/base64.h index 6610a18b..0f1e8549 100644 --- a/include/polarssl/base64.h +++ b/include/polarssl/base64.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/bignum.h b/include/polarssl/bignum.h index 9e4e05b0..df25bd1f 100644 --- a/include/polarssl/bignum.h +++ b/include/polarssl/bignum.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/blowfish.h b/include/polarssl/blowfish.h index 246b053e..21ba7d46 100644 --- a/include/polarssl/blowfish.h +++ b/include/polarssl/blowfish.h @@ -5,7 +5,7 @@ * * Copyright (C) 2012-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/bn_mul.h b/include/polarssl/bn_mul.h index 55cf24ca..aa940a99 100644 --- a/include/polarssl/bn_mul.h +++ b/include/polarssl/bn_mul.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2010, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/camellia.h b/include/polarssl/camellia.h index c17988eb..03218d18 100644 --- a/include/polarssl/camellia.h +++ b/include/polarssl/camellia.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/ccm.h b/include/polarssl/ccm.h index 47c7f590..f1f24bda 100644 --- a/include/polarssl/ccm.h +++ b/include/polarssl/ccm.h @@ -5,7 +5,7 @@ * * Copyright (C) 2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/certs.h b/include/polarssl/certs.h index eca6a788..7b00a8bb 100644 --- a/include/polarssl/certs.h +++ b/include/polarssl/certs.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2010, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/check_config.h b/include/polarssl/check_config.h index 27b672e4..a12c3028 100644 --- a/include/polarssl/check_config.h +++ b/include/polarssl/check_config.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/cipher.h b/include/polarssl/cipher.h index d890ff9c..977cc97d 100644 --- a/include/polarssl/cipher.h +++ b/include/polarssl/cipher.h @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -477,7 +477,7 @@ static inline const char *cipher_get_name( const cipher_context_t *ctx ) * POLARSSL_KEY_LENGTH_NONE if ctx has not been * initialised. */ -static inline int cipher_get_key_size ( const cipher_context_t *ctx ) +static inline int cipher_get_key_size( const cipher_context_t *ctx ) { if( NULL == ctx || NULL == ctx->cipher_info ) return POLARSSL_KEY_LENGTH_NONE; diff --git a/include/polarssl/cipher_wrap.h b/include/polarssl/cipher_wrap.h index 92dfe458..3e685b13 100644 --- a/include/polarssl/cipher_wrap.h +++ b/include/polarssl/cipher_wrap.h @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/compat-1.2.h b/include/polarssl/compat-1.2.h index 47a45167..f7f3d001 100644 --- a/include/polarssl/compat-1.2.h +++ b/include/polarssl/compat-1.2.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/config.h b/include/polarssl/config.h index 74881140..dd11b5ab 100644 --- a/include/polarssl/config.h +++ b/include/polarssl/config.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -2341,8 +2341,8 @@ //#define POLARSSL_PLATFORM_STD_PRINTF printf /**< Default printf to use, can be undefined */ //#define POLARSSL_PLATFORM_STD_SNPRINTF snprintf /**< Default snprintf to use, can be undefined */ -/* To Use Function Macros POLARSSL_PLATFORM_C must be enabled */ -/* POLARSSL_PLATFORM_XXX_MACRO and POLARSSL_PLATFORM_XXX_ALT cannot both be defined */ +/* To Use Function Macros POLARSSL_PLATFORM_C must be enabled */ +/* POLARSSL_PLATFORM_XXX_MACRO and POLARSSL_PLATFORM_XXX_ALT cannot both be defined */ //#define POLARSSL_PLATFORM_MALLOC_MACRO malloc /**< Default allocator macro to use, can be undefined */ //#define POLARSSL_PLATFORM_FREE_MACRO free /**< Default free macro to use, can be undefined */ //#define POLARSSL_PLATFORM_EXIT_MACRO exit /**< Default exit macro to use, can be undefined */ diff --git a/include/polarssl/ctr_drbg.h b/include/polarssl/ctr_drbg.h index c473e76d..ebab55f2 100644 --- a/include/polarssl/ctr_drbg.h +++ b/include/polarssl/ctr_drbg.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/debug.h b/include/polarssl/debug.h index a4d2bdb9..fcf14908 100644 --- a/include/polarssl/debug.h +++ b/include/polarssl/debug.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/des.h b/include/polarssl/des.h index 3155e5ec..3f7236c1 100644 --- a/include/polarssl/des.h +++ b/include/polarssl/des.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/dhm.h b/include/polarssl/dhm.h index 8d01915f..8d64a5f9 100644 --- a/include/polarssl/dhm.h +++ b/include/polarssl/dhm.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/ecdh.h b/include/polarssl/ecdh.h index 20698f59..60f913d9 100644 --- a/include/polarssl/ecdh.h +++ b/include/polarssl/ecdh.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/ecdsa.h b/include/polarssl/ecdsa.h index c5290f6a..9a04ee65 100644 --- a/include/polarssl/ecdsa.h +++ b/include/polarssl/ecdsa.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/ecp.h b/include/polarssl/ecp.h index b7707d76..eef445fa 100644 --- a/include/polarssl/ecp.h +++ b/include/polarssl/ecp.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/entropy.h b/include/polarssl/entropy.h index 53a1f0e2..aa23a037 100644 --- a/include/polarssl/entropy.h +++ b/include/polarssl/entropy.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/entropy_poll.h b/include/polarssl/entropy_poll.h index 523a7cd4..94b5a6ef 100644 --- a/include/polarssl/entropy_poll.h +++ b/include/polarssl/entropy_poll.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/error.h b/include/polarssl/error.h index b1b5513c..56b49979 100644 --- a/include/polarssl/error.h +++ b/include/polarssl/error.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/gcm.h b/include/polarssl/gcm.h index b61d4a90..5a947229 100644 --- a/include/polarssl/gcm.h +++ b/include/polarssl/gcm.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/havege.h b/include/polarssl/havege.h index df267554..825a1daa 100644 --- a/include/polarssl/havege.h +++ b/include/polarssl/havege.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/hmac_drbg.h b/include/polarssl/hmac_drbg.h index 1df82217..0fe7b031 100644 --- a/include/polarssl/hmac_drbg.h +++ b/include/polarssl/hmac_drbg.h @@ -5,7 +5,7 @@ * * Copyright (C) 2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/md.h b/include/polarssl/md.h index 3bbff6e7..3472f80b 100644 --- a/include/polarssl/md.h +++ b/include/polarssl/md.h @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/md2.h b/include/polarssl/md2.h index 84260374..53c85f84 100644 --- a/include/polarssl/md2.h +++ b/include/polarssl/md2.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/md4.h b/include/polarssl/md4.h index 9fc7c861..68ac6c13 100644 --- a/include/polarssl/md4.h +++ b/include/polarssl/md4.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/md5.h b/include/polarssl/md5.h index 50c7774b..d5ce136a 100644 --- a/include/polarssl/md5.h +++ b/include/polarssl/md5.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/md_wrap.h b/include/polarssl/md_wrap.h index 92c3a2cc..dd5fd6cf 100644 --- a/include/polarssl/md_wrap.h +++ b/include/polarssl/md_wrap.h @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/memory.h b/include/polarssl/memory.h index 5b8a3044..9b2daef3 100644 --- a/include/polarssl/memory.h +++ b/include/polarssl/memory.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/memory_buffer_alloc.h b/include/polarssl/memory_buffer_alloc.h index 3bba1c19..19abe55f 100644 --- a/include/polarssl/memory_buffer_alloc.h +++ b/include/polarssl/memory_buffer_alloc.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/net.h b/include/polarssl/net.h index 55ef40bb..088662e2 100644 --- a/include/polarssl/net.h +++ b/include/polarssl/net.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/oid.h b/include/polarssl/oid.h index 497eac82..6b04893b 100644 --- a/include/polarssl/oid.h +++ b/include/polarssl/oid.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/openssl.h b/include/polarssl/openssl.h index 039f4989..63c16e5c 100644 --- a/include/polarssl/openssl.h +++ b/include/polarssl/openssl.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2010, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/padlock.h b/include/polarssl/padlock.h index 185eff8f..55a0395a 100644 --- a/include/polarssl/padlock.h +++ b/include/polarssl/padlock.h @@ -6,7 +6,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/pbkdf2.h b/include/polarssl/pbkdf2.h index 7c98eaec..5c06bfb0 100644 --- a/include/polarssl/pbkdf2.h +++ b/include/polarssl/pbkdf2.h @@ -8,7 +8,7 @@ * * Copyright (C) 2006-2012, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/pem.h b/include/polarssl/pem.h index 9ccdbef2..b47e0e9f 100644 --- a/include/polarssl/pem.h +++ b/include/polarssl/pem.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h index 45066168..8d9407c4 100644 --- a/include/polarssl/pk.h +++ b/include/polarssl/pk.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/pk_wrap.h b/include/polarssl/pk_wrap.h index 94611029..36772500 100644 --- a/include/polarssl/pk_wrap.h +++ b/include/polarssl/pk_wrap.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/pkcs11.h b/include/polarssl/pkcs11.h index 5cf21a15..18c3370f 100644 --- a/include/polarssl/pkcs11.h +++ b/include/polarssl/pkcs11.h @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/pkcs12.h b/include/polarssl/pkcs12.h index 0920cd16..cb53fe24 100644 --- a/include/polarssl/pkcs12.h +++ b/include/polarssl/pkcs12.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/pkcs5.h b/include/polarssl/pkcs5.h index fda40b52..6a21af10 100644 --- a/include/polarssl/pkcs5.h +++ b/include/polarssl/pkcs5.h @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/platform.h b/include/polarssl/platform.h index 3e76c301..76e61bbf 100644 --- a/include/polarssl/platform.h +++ b/include/polarssl/platform.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -80,10 +80,10 @@ extern "C" { * The function pointers for malloc and free */ #if defined(POLARSSL_PLATFORM_MEMORY) -#if defined(POLARSSL_PLATFORM_FREE_MACRO) &&\ - defined(POLARSSL_PLATFORM_MALLOC_MACRO) -#define polarssl_free POLARSSL_PLATFORM_FREE_MACRO -#define polarssl_malloc POLARSSL_PLATFORM_MALLOC_MACRO +#if defined(POLARSSL_PLATFORM_FREE_MACRO) && \ + defined(POLARSSL_PLATFORM_MALLOC_MACRO) +#define polarssl_free POLARSSL_PLATFORM_FREE_MACRO +#define polarssl_malloc POLARSSL_PLATFORM_MALLOC_MACRO #else extern void * (*polarssl_malloc)( size_t len ); extern void (*polarssl_free)( void *ptr ); @@ -100,8 +100,8 @@ int platform_set_malloc_free( void * (*malloc_func)( size_t ), void (*free_func)( void * ) ); #endif /* POLARSSL_PLATFORM_FREE_MACRO && POLARSSL_PLATFORM_MALLOC_MACRO */ #else /* !POLARSSL_PLATFORM_MEMORY */ -#define polarssl_free free -#define polarssl_malloc malloc +#define polarssl_free free +#define polarssl_malloc malloc #endif /* POLARSSL_PLATFORM_MEMORY && !POLARSSL_PLATFORM_{FREE,MALLOC}_MACRO */ /* diff --git a/include/polarssl/ripemd160.h b/include/polarssl/ripemd160.h index 4762720f..2555eb40 100644 --- a/include/polarssl/ripemd160.h +++ b/include/polarssl/ripemd160.h @@ -5,7 +5,7 @@ * * Copyright (C) 2014-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/rsa.h b/include/polarssl/rsa.h index 53b81ead..21109edb 100644 --- a/include/polarssl/rsa.h +++ b/include/polarssl/rsa.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/sha1.h b/include/polarssl/sha1.h index 84975011..e9e5a8e7 100644 --- a/include/polarssl/sha1.h +++ b/include/polarssl/sha1.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/sha256.h b/include/polarssl/sha256.h index b7362dd8..f8917ff8 100644 --- a/include/polarssl/sha256.h +++ b/include/polarssl/sha256.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/sha512.h b/include/polarssl/sha512.h index 90b5e3e5..15d266cd 100644 --- a/include/polarssl/sha512.h +++ b/include/polarssl/sha512.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,11 +33,9 @@ #include #if defined(_MSC_VER) || defined(__WATCOMC__) - #define UL64(x) x##ui64 typedef unsigned __int64 uint64_t; #else #include - #define UL64(x) x##ULL #endif #define POLARSSL_ERR_SHA512_FILE_IO_ERROR -0x007A /**< Read/write error in file. */ diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h index 8ec84c37..dd1fbdc0 100644 --- a/include/polarssl/ssl.h +++ b/include/polarssl/ssl.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/ssl_cache.h b/include/polarssl/ssl_cache.h index 3bdd94fb..063d7d7b 100644 --- a/include/polarssl/ssl_cache.h +++ b/include/polarssl/ssl_cache.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/ssl_ciphersuites.h b/include/polarssl/ssl_ciphersuites.h index 1550c0ae..bc8424c6 100644 --- a/include/polarssl/ssl_ciphersuites.h +++ b/include/polarssl/ssl_ciphersuites.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/threading.h b/include/polarssl/threading.h index 4a8288e4..293da38c 100644 --- a/include/polarssl/threading.h +++ b/include/polarssl/threading.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/timing.h b/include/polarssl/timing.h index 5f3acfa1..2dae5d9c 100644 --- a/include/polarssl/timing.h +++ b/include/polarssl/timing.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/version.h b/include/polarssl/version.h index 9fea4bb4..df2987b2 100644 --- a/include/polarssl/version.h +++ b/include/polarssl/version.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/x509.h b/include/polarssl/x509.h index 6e5f2171..268121d9 100644 --- a/include/polarssl/x509.h +++ b/include/polarssl/x509.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/x509_crl.h b/include/polarssl/x509_crl.h index fa5c8495..6f4b65d5 100644 --- a/include/polarssl/x509_crl.h +++ b/include/polarssl/x509_crl.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/x509_crt.h b/include/polarssl/x509_crt.h index ab6b1645..fe270078 100644 --- a/include/polarssl/x509_crt.h +++ b/include/polarssl/x509_crt.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/x509_csr.h b/include/polarssl/x509_csr.h index ed6c6b5e..34f527b8 100644 --- a/include/polarssl/x509_csr.h +++ b/include/polarssl/x509_csr.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/include/polarssl/xtea.h b/include/polarssl/xtea.h index f055490e..02cd8d6f 100644 --- a/include/polarssl/xtea.h +++ b/include/polarssl/xtea.h @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/aes.c b/library/aes.c index 69505ef4..9d96064f 100644 --- a/library/aes.c +++ b/library/aes.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/aesni.c b/library/aesni.c index a235904e..5315aba2 100644 --- a/library/aesni.c +++ b/library/aesni.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/arc4.c b/library/arc4.c index 90970ef7..309d16a8 100644 --- a/library/arc4.c +++ b/library/arc4.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/asn1parse.c b/library/asn1parse.c index 2cfd1295..e4f46eb0 100644 --- a/library/asn1parse.c +++ b/library/asn1parse.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/asn1write.c b/library/asn1write.c index efdd6489..df9442ef 100644 --- a/library/asn1write.c +++ b/library/asn1write.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/base64.c b/library/base64.c index 684c537e..ac922a47 100644 --- a/library/base64.c +++ b/library/base64.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/bignum.c b/library/bignum.c index 91c79639..da70ae0c 100644 --- a/library/bignum.c +++ b/library/bignum.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/blowfish.c b/library/blowfish.c index 07cd060b..77191e7e 100644 --- a/library/blowfish.c +++ b/library/blowfish.c @@ -3,7 +3,7 @@ * * Copyright (C) 2012-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/camellia.c b/library/camellia.c index f765f1b5..2a1c0c4d 100644 --- a/library/camellia.c +++ b/library/camellia.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ccm.c b/library/ccm.c index bfa9ed9e..87f1886b 100644 --- a/library/ccm.c +++ b/library/ccm.c @@ -3,7 +3,7 @@ * * Copyright (C) 2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/certs.c b/library/certs.c index 78eb43e7..95fc8cc7 100644 --- a/library/certs.c +++ b/library/certs.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/cipher.c b/library/cipher.c index b98b4a2b..8c7452b1 100644 --- a/library/cipher.c +++ b/library/cipher.c @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/cipher_wrap.c b/library/cipher_wrap.c index 12fc5c68..4c170bc3 100644 --- a/library/cipher_wrap.c +++ b/library/cipher_wrap.c @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -169,7 +169,7 @@ static void aes_ctx_free( void *ctx ) polarssl_free( ctx ); } -const cipher_base_t aes_info = { +static const cipher_base_t aes_info = { POLARSSL_CIPHER_ID_AES, aes_crypt_ecb_wrap, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -190,7 +190,7 @@ const cipher_base_t aes_info = { aes_ctx_free }; -const cipher_info_t aes_128_ecb_info = { +static const cipher_info_t aes_128_ecb_info = { POLARSSL_CIPHER_AES_128_ECB, POLARSSL_MODE_ECB, 128, @@ -201,7 +201,7 @@ const cipher_info_t aes_128_ecb_info = { &aes_info }; -const cipher_info_t aes_192_ecb_info = { +static const cipher_info_t aes_192_ecb_info = { POLARSSL_CIPHER_AES_192_ECB, POLARSSL_MODE_ECB, 192, @@ -212,7 +212,7 @@ const cipher_info_t aes_192_ecb_info = { &aes_info }; -const cipher_info_t aes_256_ecb_info = { +static const cipher_info_t aes_256_ecb_info = { POLARSSL_CIPHER_AES_256_ECB, POLARSSL_MODE_ECB, 256, @@ -224,7 +224,7 @@ const cipher_info_t aes_256_ecb_info = { }; #if defined(POLARSSL_CIPHER_MODE_CBC) -const cipher_info_t aes_128_cbc_info = { +static const cipher_info_t aes_128_cbc_info = { POLARSSL_CIPHER_AES_128_CBC, POLARSSL_MODE_CBC, 128, @@ -235,7 +235,7 @@ const cipher_info_t aes_128_cbc_info = { &aes_info }; -const cipher_info_t aes_192_cbc_info = { +static const cipher_info_t aes_192_cbc_info = { POLARSSL_CIPHER_AES_192_CBC, POLARSSL_MODE_CBC, 192, @@ -246,7 +246,7 @@ const cipher_info_t aes_192_cbc_info = { &aes_info }; -const cipher_info_t aes_256_cbc_info = { +static const cipher_info_t aes_256_cbc_info = { POLARSSL_CIPHER_AES_256_CBC, POLARSSL_MODE_CBC, 256, @@ -259,7 +259,7 @@ const cipher_info_t aes_256_cbc_info = { #endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) -const cipher_info_t aes_128_cfb128_info = { +static const cipher_info_t aes_128_cfb128_info = { POLARSSL_CIPHER_AES_128_CFB128, POLARSSL_MODE_CFB, 128, @@ -270,7 +270,7 @@ const cipher_info_t aes_128_cfb128_info = { &aes_info }; -const cipher_info_t aes_192_cfb128_info = { +static const cipher_info_t aes_192_cfb128_info = { POLARSSL_CIPHER_AES_192_CFB128, POLARSSL_MODE_CFB, 192, @@ -281,7 +281,7 @@ const cipher_info_t aes_192_cfb128_info = { &aes_info }; -const cipher_info_t aes_256_cfb128_info = { +static const cipher_info_t aes_256_cfb128_info = { POLARSSL_CIPHER_AES_256_CFB128, POLARSSL_MODE_CFB, 256, @@ -294,7 +294,7 @@ const cipher_info_t aes_256_cfb128_info = { #endif /* POLARSSL_CIPHER_MODE_CFB */ #if defined(POLARSSL_CIPHER_MODE_CTR) -const cipher_info_t aes_128_ctr_info = { +static const cipher_info_t aes_128_ctr_info = { POLARSSL_CIPHER_AES_128_CTR, POLARSSL_MODE_CTR, 128, @@ -305,7 +305,7 @@ const cipher_info_t aes_128_ctr_info = { &aes_info }; -const cipher_info_t aes_192_ctr_info = { +static const cipher_info_t aes_192_ctr_info = { POLARSSL_CIPHER_AES_192_CTR, POLARSSL_MODE_CTR, 192, @@ -316,7 +316,7 @@ const cipher_info_t aes_192_ctr_info = { &aes_info }; -const cipher_info_t aes_256_ctr_info = { +static const cipher_info_t aes_256_ctr_info = { POLARSSL_CIPHER_AES_256_CTR, POLARSSL_MODE_CTR, 256, @@ -336,7 +336,7 @@ static int gcm_aes_setkey_wrap( void *ctx, const unsigned char *key, key, key_length ); } -const cipher_base_t gcm_aes_info = { +static const cipher_base_t gcm_aes_info = { POLARSSL_CIPHER_ID_AES, NULL, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -357,7 +357,7 @@ const cipher_base_t gcm_aes_info = { gcm_ctx_free, }; -const cipher_info_t aes_128_gcm_info = { +static const cipher_info_t aes_128_gcm_info = { POLARSSL_CIPHER_AES_128_GCM, POLARSSL_MODE_GCM, 128, @@ -368,7 +368,7 @@ const cipher_info_t aes_128_gcm_info = { &gcm_aes_info }; -const cipher_info_t aes_192_gcm_info = { +static const cipher_info_t aes_192_gcm_info = { POLARSSL_CIPHER_AES_192_GCM, POLARSSL_MODE_GCM, 192, @@ -379,7 +379,7 @@ const cipher_info_t aes_192_gcm_info = { &gcm_aes_info }; -const cipher_info_t aes_256_gcm_info = { +static const cipher_info_t aes_256_gcm_info = { POLARSSL_CIPHER_AES_256_GCM, POLARSSL_MODE_GCM, 256, @@ -399,7 +399,7 @@ static int ccm_aes_setkey_wrap( void *ctx, const unsigned char *key, key, key_length ); } -const cipher_base_t ccm_aes_info = { +static const cipher_base_t ccm_aes_info = { POLARSSL_CIPHER_ID_AES, NULL, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -420,7 +420,7 @@ const cipher_base_t ccm_aes_info = { ccm_ctx_free, }; -const cipher_info_t aes_128_ccm_info = { +static const cipher_info_t aes_128_ccm_info = { POLARSSL_CIPHER_AES_128_CCM, POLARSSL_MODE_CCM, 128, @@ -431,7 +431,7 @@ const cipher_info_t aes_128_ccm_info = { &ccm_aes_info }; -const cipher_info_t aes_192_ccm_info = { +static const cipher_info_t aes_192_ccm_info = { POLARSSL_CIPHER_AES_192_CCM, POLARSSL_MODE_CCM, 192, @@ -442,7 +442,7 @@ const cipher_info_t aes_192_ccm_info = { &ccm_aes_info }; -const cipher_info_t aes_256_ccm_info = { +static const cipher_info_t aes_256_ccm_info = { POLARSSL_CIPHER_AES_256_CCM, POLARSSL_MODE_CCM, 256, @@ -526,7 +526,7 @@ static void camellia_ctx_free( void *ctx ) polarssl_free( ctx ); } -const cipher_base_t camellia_info = { +static const cipher_base_t camellia_info = { POLARSSL_CIPHER_ID_CAMELLIA, camellia_crypt_ecb_wrap, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -547,7 +547,7 @@ const cipher_base_t camellia_info = { camellia_ctx_free }; -const cipher_info_t camellia_128_ecb_info = { +static const cipher_info_t camellia_128_ecb_info = { POLARSSL_CIPHER_CAMELLIA_128_ECB, POLARSSL_MODE_ECB, 128, @@ -558,7 +558,7 @@ const cipher_info_t camellia_128_ecb_info = { &camellia_info }; -const cipher_info_t camellia_192_ecb_info = { +static const cipher_info_t camellia_192_ecb_info = { POLARSSL_CIPHER_CAMELLIA_192_ECB, POLARSSL_MODE_ECB, 192, @@ -569,7 +569,7 @@ const cipher_info_t camellia_192_ecb_info = { &camellia_info }; -const cipher_info_t camellia_256_ecb_info = { +static const cipher_info_t camellia_256_ecb_info = { POLARSSL_CIPHER_CAMELLIA_256_ECB, POLARSSL_MODE_ECB, 256, @@ -581,7 +581,7 @@ const cipher_info_t camellia_256_ecb_info = { }; #if defined(POLARSSL_CIPHER_MODE_CBC) -const cipher_info_t camellia_128_cbc_info = { +static const cipher_info_t camellia_128_cbc_info = { POLARSSL_CIPHER_CAMELLIA_128_CBC, POLARSSL_MODE_CBC, 128, @@ -592,7 +592,7 @@ const cipher_info_t camellia_128_cbc_info = { &camellia_info }; -const cipher_info_t camellia_192_cbc_info = { +static const cipher_info_t camellia_192_cbc_info = { POLARSSL_CIPHER_CAMELLIA_192_CBC, POLARSSL_MODE_CBC, 192, @@ -603,7 +603,7 @@ const cipher_info_t camellia_192_cbc_info = { &camellia_info }; -const cipher_info_t camellia_256_cbc_info = { +static const cipher_info_t camellia_256_cbc_info = { POLARSSL_CIPHER_CAMELLIA_256_CBC, POLARSSL_MODE_CBC, 256, @@ -616,7 +616,7 @@ const cipher_info_t camellia_256_cbc_info = { #endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) -const cipher_info_t camellia_128_cfb128_info = { +static const cipher_info_t camellia_128_cfb128_info = { POLARSSL_CIPHER_CAMELLIA_128_CFB128, POLARSSL_MODE_CFB, 128, @@ -627,7 +627,7 @@ const cipher_info_t camellia_128_cfb128_info = { &camellia_info }; -const cipher_info_t camellia_192_cfb128_info = { +static const cipher_info_t camellia_192_cfb128_info = { POLARSSL_CIPHER_CAMELLIA_192_CFB128, POLARSSL_MODE_CFB, 192, @@ -638,7 +638,7 @@ const cipher_info_t camellia_192_cfb128_info = { &camellia_info }; -const cipher_info_t camellia_256_cfb128_info = { +static const cipher_info_t camellia_256_cfb128_info = { POLARSSL_CIPHER_CAMELLIA_256_CFB128, POLARSSL_MODE_CFB, 256, @@ -651,7 +651,7 @@ const cipher_info_t camellia_256_cfb128_info = { #endif /* POLARSSL_CIPHER_MODE_CFB */ #if defined(POLARSSL_CIPHER_MODE_CTR) -const cipher_info_t camellia_128_ctr_info = { +static const cipher_info_t camellia_128_ctr_info = { POLARSSL_CIPHER_CAMELLIA_128_CTR, POLARSSL_MODE_CTR, 128, @@ -662,7 +662,7 @@ const cipher_info_t camellia_128_ctr_info = { &camellia_info }; -const cipher_info_t camellia_192_ctr_info = { +static const cipher_info_t camellia_192_ctr_info = { POLARSSL_CIPHER_CAMELLIA_192_CTR, POLARSSL_MODE_CTR, 192, @@ -673,7 +673,7 @@ const cipher_info_t camellia_192_ctr_info = { &camellia_info }; -const cipher_info_t camellia_256_ctr_info = { +static const cipher_info_t camellia_256_ctr_info = { POLARSSL_CIPHER_CAMELLIA_256_CTR, POLARSSL_MODE_CTR, 256, @@ -693,7 +693,7 @@ static int gcm_camellia_setkey_wrap( void *ctx, const unsigned char *key, key, key_length ); } -const cipher_base_t gcm_camellia_info = { +static const cipher_base_t gcm_camellia_info = { POLARSSL_CIPHER_ID_CAMELLIA, NULL, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -714,7 +714,7 @@ const cipher_base_t gcm_camellia_info = { gcm_ctx_free, }; -const cipher_info_t camellia_128_gcm_info = { +static const cipher_info_t camellia_128_gcm_info = { POLARSSL_CIPHER_CAMELLIA_128_GCM, POLARSSL_MODE_GCM, 128, @@ -725,7 +725,7 @@ const cipher_info_t camellia_128_gcm_info = { &gcm_camellia_info }; -const cipher_info_t camellia_192_gcm_info = { +static const cipher_info_t camellia_192_gcm_info = { POLARSSL_CIPHER_CAMELLIA_192_GCM, POLARSSL_MODE_GCM, 192, @@ -736,7 +736,7 @@ const cipher_info_t camellia_192_gcm_info = { &gcm_camellia_info }; -const cipher_info_t camellia_256_gcm_info = { +static const cipher_info_t camellia_256_gcm_info = { POLARSSL_CIPHER_CAMELLIA_256_GCM, POLARSSL_MODE_GCM, 256, @@ -756,7 +756,7 @@ static int ccm_camellia_setkey_wrap( void *ctx, const unsigned char *key, key, key_length ); } -const cipher_base_t ccm_camellia_info = { +static const cipher_base_t ccm_camellia_info = { POLARSSL_CIPHER_ID_CAMELLIA, NULL, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -777,7 +777,7 @@ const cipher_base_t ccm_camellia_info = { ccm_ctx_free, }; -const cipher_info_t camellia_128_ccm_info = { +static const cipher_info_t camellia_128_ccm_info = { POLARSSL_CIPHER_CAMELLIA_128_CCM, POLARSSL_MODE_CCM, 128, @@ -788,7 +788,7 @@ const cipher_info_t camellia_128_ccm_info = { &ccm_camellia_info }; -const cipher_info_t camellia_192_ccm_info = { +static const cipher_info_t camellia_192_ccm_info = { POLARSSL_CIPHER_CAMELLIA_192_CCM, POLARSSL_MODE_CCM, 192, @@ -799,7 +799,7 @@ const cipher_info_t camellia_192_ccm_info = { &ccm_camellia_info }; -const cipher_info_t camellia_256_ccm_info = { +static const cipher_info_t camellia_256_ccm_info = { POLARSSL_CIPHER_CAMELLIA_256_CCM, POLARSSL_MODE_CCM, 256, @@ -932,7 +932,7 @@ static void des3_ctx_free( void *ctx ) polarssl_free( ctx ); } -const cipher_base_t des_info = { +static const cipher_base_t des_info = { POLARSSL_CIPHER_ID_DES, des_crypt_ecb_wrap, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -953,7 +953,7 @@ const cipher_base_t des_info = { des_ctx_free }; -const cipher_info_t des_ecb_info = { +static const cipher_info_t des_ecb_info = { POLARSSL_CIPHER_DES_ECB, POLARSSL_MODE_ECB, POLARSSL_KEY_LENGTH_DES, @@ -965,7 +965,7 @@ const cipher_info_t des_ecb_info = { }; #if defined(POLARSSL_CIPHER_MODE_CBC) -const cipher_info_t des_cbc_info = { +static const cipher_info_t des_cbc_info = { POLARSSL_CIPHER_DES_CBC, POLARSSL_MODE_CBC, POLARSSL_KEY_LENGTH_DES, @@ -977,7 +977,7 @@ const cipher_info_t des_cbc_info = { }; #endif /* POLARSSL_CIPHER_MODE_CBC */ -const cipher_base_t des_ede_info = { +static const cipher_base_t des_ede_info = { POLARSSL_CIPHER_ID_DES, des3_crypt_ecb_wrap, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -998,7 +998,7 @@ const cipher_base_t des_ede_info = { des3_ctx_free }; -const cipher_info_t des_ede_ecb_info = { +static const cipher_info_t des_ede_ecb_info = { POLARSSL_CIPHER_DES_EDE_ECB, POLARSSL_MODE_ECB, POLARSSL_KEY_LENGTH_DES_EDE, @@ -1010,7 +1010,7 @@ const cipher_info_t des_ede_ecb_info = { }; #if defined(POLARSSL_CIPHER_MODE_CBC) -const cipher_info_t des_ede_cbc_info = { +static const cipher_info_t des_ede_cbc_info = { POLARSSL_CIPHER_DES_EDE_CBC, POLARSSL_MODE_CBC, POLARSSL_KEY_LENGTH_DES_EDE, @@ -1022,7 +1022,7 @@ const cipher_info_t des_ede_cbc_info = { }; #endif /* POLARSSL_CIPHER_MODE_CBC */ -const cipher_base_t des_ede3_info = { +static const cipher_base_t des_ede3_info = { POLARSSL_CIPHER_ID_DES, des3_crypt_ecb_wrap, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -1043,7 +1043,7 @@ const cipher_base_t des_ede3_info = { des3_ctx_free }; -const cipher_info_t des_ede3_ecb_info = { +static const cipher_info_t des_ede3_ecb_info = { POLARSSL_CIPHER_DES_EDE3_ECB, POLARSSL_MODE_ECB, POLARSSL_KEY_LENGTH_DES_EDE3, @@ -1054,7 +1054,7 @@ const cipher_info_t des_ede3_ecb_info = { &des_ede3_info }; #if defined(POLARSSL_CIPHER_MODE_CBC) -const cipher_info_t des_ede3_cbc_info = { +static const cipher_info_t des_ede3_cbc_info = { POLARSSL_CIPHER_DES_EDE3_CBC, POLARSSL_MODE_CBC, POLARSSL_KEY_LENGTH_DES_EDE3, @@ -1131,7 +1131,7 @@ static void blowfish_ctx_free( void *ctx ) polarssl_free( ctx ); } -const cipher_base_t blowfish_info = { +static const cipher_base_t blowfish_info = { POLARSSL_CIPHER_ID_BLOWFISH, blowfish_crypt_ecb_wrap, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -1152,7 +1152,7 @@ const cipher_base_t blowfish_info = { blowfish_ctx_free }; -const cipher_info_t blowfish_ecb_info = { +static const cipher_info_t blowfish_ecb_info = { POLARSSL_CIPHER_BLOWFISH_ECB, POLARSSL_MODE_ECB, 128, @@ -1164,7 +1164,7 @@ const cipher_info_t blowfish_ecb_info = { }; #if defined(POLARSSL_CIPHER_MODE_CBC) -const cipher_info_t blowfish_cbc_info = { +static const cipher_info_t blowfish_cbc_info = { POLARSSL_CIPHER_BLOWFISH_CBC, POLARSSL_MODE_CBC, 128, @@ -1177,7 +1177,7 @@ const cipher_info_t blowfish_cbc_info = { #endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) -const cipher_info_t blowfish_cfb64_info = { +static const cipher_info_t blowfish_cfb64_info = { POLARSSL_CIPHER_BLOWFISH_CFB64, POLARSSL_MODE_CFB, 128, @@ -1190,7 +1190,7 @@ const cipher_info_t blowfish_cfb64_info = { #endif /* POLARSSL_CIPHER_MODE_CFB */ #if defined(POLARSSL_CIPHER_MODE_CTR) -const cipher_info_t blowfish_ctr_info = { +static const cipher_info_t blowfish_ctr_info = { POLARSSL_CIPHER_BLOWFISH_CTR, POLARSSL_MODE_CTR, 128, @@ -1241,7 +1241,7 @@ static void arc4_ctx_free( void *ctx ) polarssl_free( ctx ); } -const cipher_base_t arc4_base_info = { +static const cipher_base_t arc4_base_info = { POLARSSL_CIPHER_ID_ARC4, NULL, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -1262,7 +1262,7 @@ const cipher_base_t arc4_base_info = { arc4_ctx_free }; -const cipher_info_t arc4_128_info = { +static const cipher_info_t arc4_128_info = { POLARSSL_CIPHER_ARC4_128, POLARSSL_MODE_STREAM, 128, @@ -1304,7 +1304,7 @@ static void null_ctx_free( void *ctx ) ((void) ctx); } -const cipher_base_t null_base_info = { +static const cipher_base_t null_base_info = { POLARSSL_CIPHER_ID_NULL, NULL, #if defined(POLARSSL_CIPHER_MODE_CBC) @@ -1325,7 +1325,7 @@ const cipher_base_t null_base_info = { null_ctx_free }; -const cipher_info_t null_cipher_info = { +static const cipher_info_t null_cipher_info = { POLARSSL_CIPHER_NULL, POLARSSL_MODE_STREAM, 0, diff --git a/library/ctr_drbg.c b/library/ctr_drbg.c index 4fc1deb0..de4a6e81 100644 --- a/library/ctr_drbg.c +++ b/library/ctr_drbg.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/debug.c b/library/debug.c index 88a9dacf..825cc948 100644 --- a/library/debug.c +++ b/library/debug.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/des.c b/library/des.c index 16a2e74f..080e1139 100644 --- a/library/des.c +++ b/library/des.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/dhm.c b/library/dhm.c index 60e955ad..9fb7a218 100644 --- a/library/dhm.c +++ b/library/dhm.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ecdh.c b/library/ecdh.c index d2879480..82fff276 100644 --- a/library/ecdh.c +++ b/library/ecdh.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ecdsa.c b/library/ecdsa.c index 05857489..3f72d857 100644 --- a/library/ecdsa.c +++ b/library/ecdsa.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ecp.c b/library/ecp.c index 26ce9623..be6b0d5d 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ecp_curves.c b/library/ecp_curves.c index 0659111a..3786356c 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/entropy.c b/library/entropy.c index 846d5ee4..c90c7e46 100644 --- a/library/entropy.c +++ b/library/entropy.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/entropy_poll.c b/library/entropy_poll.c index 8d98d895..61eb3e78 100644 --- a/library/entropy_poll.c +++ b/library/entropy_poll.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/error.c b/library/error.c index 6c00e1a8..cb0324db 100644 --- a/library/error.c +++ b/library/error.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/gcm.c b/library/gcm.c index 522a8b19..4e2735c0 100644 --- a/library/gcm.c +++ b/library/gcm.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -508,10 +508,10 @@ void gcm_free( gcm_context *ctx ) */ #define MAX_TESTS 6 -int key_index[MAX_TESTS] = +static int key_index[MAX_TESTS] = { 0, 0, 1, 1, 1, 1 }; -unsigned char key[MAX_TESTS][32] = +static unsigned char key[MAX_TESTS][32] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -523,13 +523,13 @@ unsigned char key[MAX_TESTS][32] = 0x6d, 0x6a, 0x8f, 0x94, 0x67, 0x30, 0x83, 0x08 }, }; -size_t iv_len[MAX_TESTS] = +static size_t iv_len[MAX_TESTS] = { 12, 12, 12, 12, 8, 60 }; -int iv_index[MAX_TESTS] = +static int iv_index[MAX_TESTS] = { 0, 0, 1, 1, 1, 2 }; -unsigned char iv[MAX_TESTS][64] = +static unsigned char iv[MAX_TESTS][64] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, @@ -545,13 +545,13 @@ unsigned char iv[MAX_TESTS][64] = 0xa6, 0x37, 0xb3, 0x9b }, }; -size_t add_len[MAX_TESTS] = +static size_t add_len[MAX_TESTS] = { 0, 0, 0, 20, 20, 20 }; -int add_index[MAX_TESTS] = +static int add_index[MAX_TESTS] = { 0, 0, 0, 1, 1, 1 }; -unsigned char additional[MAX_TESTS][64] = +static unsigned char additional[MAX_TESTS][64] = { { 0x00 }, { 0xfe, 0xed, 0xfa, 0xce, 0xde, 0xad, 0xbe, 0xef, @@ -559,13 +559,13 @@ unsigned char additional[MAX_TESTS][64] = 0xab, 0xad, 0xda, 0xd2 }, }; -size_t pt_len[MAX_TESTS] = +static size_t pt_len[MAX_TESTS] = { 0, 16, 64, 60, 60, 60 }; -int pt_index[MAX_TESTS] = +static int pt_index[MAX_TESTS] = { 0, 0, 1, 1, 1, 1 }; -unsigned char pt[MAX_TESTS][64] = +static unsigned char pt[MAX_TESTS][64] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, @@ -579,7 +579,7 @@ unsigned char pt[MAX_TESTS][64] = 0xba, 0x63, 0x7b, 0x39, 0x1a, 0xaf, 0xd2, 0x55 }, }; -unsigned char ct[MAX_TESTS * 3][64] = +static unsigned char ct[MAX_TESTS * 3][64] = { { 0x00 }, { 0x03, 0x88, 0xda, 0xce, 0x60, 0xb6, 0xa3, 0x92, @@ -688,7 +688,7 @@ unsigned char ct[MAX_TESTS * 3][64] = 0x44, 0xae, 0x7e, 0x3f }, }; -unsigned char tag[MAX_TESTS * 3][16] = +static unsigned char tag[MAX_TESTS * 3][16] = { { 0x58, 0xe2, 0xfc, 0xce, 0xfa, 0x7e, 0x30, 0x61, 0x36, 0x7f, 0x1d, 0x57, 0xa4, 0xe7, 0x45, 0x5a }, diff --git a/library/havege.c b/library/havege.c index e496c4ec..fe656991 100644 --- a/library/havege.c +++ b/library/havege.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/hmac_drbg.c b/library/hmac_drbg.c index 55163014..f4cac28a 100644 --- a/library/hmac_drbg.c +++ b/library/hmac_drbg.c @@ -3,7 +3,7 @@ * * Copyright (C) 2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/md.c b/library/md.c index 9df21b51..fbdab911 100644 --- a/library/md.c +++ b/library/md.c @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/md2.c b/library/md2.c index 43c129fb..17569c0a 100644 --- a/library/md2.c +++ b/library/md2.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/md4.c b/library/md4.c index d14390bb..d33cc520 100644 --- a/library/md4.c +++ b/library/md4.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/md5.c b/library/md5.c index b68bd4bc..a14a9cf7 100644 --- a/library/md5.c +++ b/library/md5.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/md_wrap.c b/library/md_wrap.c index ed5a63e4..f554333e 100644 --- a/library/md_wrap.c +++ b/library/md_wrap.c @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/memory_buffer_alloc.c b/library/memory_buffer_alloc.c index 73710081..5eb8ab13 100644 --- a/library/memory_buffer_alloc.c +++ b/library/memory_buffer_alloc.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/net.c b/library/net.c index 71246b53..68c9e5e6 100644 --- a/library/net.c +++ b/library/net.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/oid.c b/library/oid.c index 7bb56317..ad45a3d4 100644 --- a/library/oid.c +++ b/library/oid.c @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/padlock.c b/library/padlock.c index bad25da1..f4d95fdf 100644 --- a/library/padlock.c +++ b/library/padlock.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/pbkdf2.c b/library/pbkdf2.c index a07c70cc..54494ab4 100644 --- a/library/pbkdf2.c +++ b/library/pbkdf2.c @@ -8,7 +8,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/pem.c b/library/pem.c index d850d40c..68be8fd6 100644 --- a/library/pem.c +++ b/library/pem.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/pk.c b/library/pk.c index 6736bde5..4d78b574 100644 --- a/library/pk.c +++ b/library/pk.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/pk_wrap.c b/library/pk_wrap.c index f0f09cbe..6068605b 100644 --- a/library/pk_wrap.c +++ b/library/pk_wrap.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/pkcs11.c b/library/pkcs11.c index 303b7b1e..14cde315 100644 --- a/library/pkcs11.c +++ b/library/pkcs11.c @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/pkcs12.c b/library/pkcs12.c index 3b190516..f84fd52c 100644 --- a/library/pkcs12.c +++ b/library/pkcs12.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/pkcs5.c b/library/pkcs5.c index 182d632d..2e7d816a 100644 --- a/library/pkcs5.c +++ b/library/pkcs5.c @@ -7,7 +7,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -300,10 +300,10 @@ int pkcs5_self_test( int verbose ) #define MAX_TESTS 6 -size_t plen[MAX_TESTS] = +static size_t plen[MAX_TESTS] = { 8, 8, 8, 8, 24, 9 }; -unsigned char password[MAX_TESTS][32] = +static unsigned char password[MAX_TESTS][32] = { "password", "password", @@ -313,10 +313,10 @@ unsigned char password[MAX_TESTS][32] = "pass\0word", }; -size_t slen[MAX_TESTS] = +static size_t slen[MAX_TESTS] = { 4, 4, 4, 4, 36, 5 }; -unsigned char salt[MAX_TESTS][40] = +static unsigned char salt[MAX_TESTS][40] = { "salt", "salt", @@ -326,14 +326,13 @@ unsigned char salt[MAX_TESTS][40] = "sa\0lt", }; -uint32_t it_cnt[MAX_TESTS] = +static uint32_t it_cnt[MAX_TESTS] = { 1, 2, 4096, 16777216, 4096, 4096 }; -uint32_t key_len[MAX_TESTS] = +static uint32_t key_len[MAX_TESTS] = { 20, 20, 20, 20, 25, 16 }; - -unsigned char result_key[MAX_TESTS][32] = +static unsigned char result_key[MAX_TESTS][32] = { { 0x0c, 0x60, 0xc8, 0x0f, 0x96, 0x1f, 0x0e, 0x71, 0xf3, 0xa9, 0xb5, 0x24, 0xaf, 0x60, 0x12, 0x06, diff --git a/library/pkparse.c b/library/pkparse.c index aec43f1d..06fb2929 100644 --- a/library/pkparse.c +++ b/library/pkparse.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/pkwrite.c b/library/pkwrite.c index 29e172d6..35dbd0b7 100644 --- a/library/pkwrite.c +++ b/library/pkwrite.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/platform.c b/library/platform.c index 34295adc..a161bc3e 100644 --- a/library/platform.c +++ b/library/platform.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ripemd160.c b/library/ripemd160.c index 2c81138d..2c196f42 100644 --- a/library/ripemd160.c +++ b/library/ripemd160.c @@ -3,7 +3,7 @@ * * Copyright (C) 2014-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/rsa.c b/library/rsa.c index 23382643..0d71ad0c 100644 --- a/library/rsa.c +++ b/library/rsa.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/sha1.c b/library/sha1.c index 604f8ee1..35e06258 100644 --- a/library/sha1.c +++ b/library/sha1.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/sha256.c b/library/sha256.c index 39444bc8..b9b3f097 100644 --- a/library/sha256.c +++ b/library/sha256.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/sha512.c b/library/sha512.c index 5decc8fa..629ed1b5 100644 --- a/library/sha512.c +++ b/library/sha512.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,6 +35,12 @@ #include "polarssl/sha512.h" +#if defined(_MSC_VER) || defined(__WATCOMC__) + #define UL64(x) x##ui64 +#else + #define UL64(x) x##ULL +#endif + #include #if defined(POLARSSL_FS_IO) diff --git a/library/ssl_cache.c b/library/ssl_cache.c index 7fb30896..0c2df29b 100644 --- a/library/ssl_cache.c +++ b/library/ssl_cache.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ssl_ciphersuites.c b/library/ssl_ciphersuites.c index 4d8182e5..694bcf08 100644 --- a/library/ssl_ciphersuites.c +++ b/library/ssl_ciphersuites.c @@ -5,7 +5,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ssl_cli.c b/library/ssl_cli.c index cea7c100..1244435e 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ssl_srv.c b/library/ssl_srv.c index 7280bbf5..59c1c1e7 100644 --- a/library/ssl_srv.c +++ b/library/ssl_srv.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/ssl_tls.c b/library/ssl_tls.c index b09ee53b..2341f059 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/threading.c b/library/threading.c index e89aa951..fa745afd 100644 --- a/library/threading.c +++ b/library/threading.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/timing.c b/library/timing.c index 5791ef42..5d58f529 100644 --- a/library/timing.c +++ b/library/timing.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/version.c b/library/version.c index c10acac6..2856d6cc 100644 --- a/library/version.c +++ b/library/version.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,8 +31,6 @@ #include "polarssl/version.h" #include -const char version[] = POLARSSL_VERSION_STRING; - unsigned int version_get_number() { return( POLARSSL_VERSION_NUMBER ); diff --git a/library/version_features.c b/library/version_features.c index 3e3405a4..b970ee1c 100644 --- a/library/version_features.c +++ b/library/version_features.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ #define strcasecmp _stricmp #endif -const char *features[] = { +static const char *features[] = { #if defined(POLARSSL_VERSION_FEATURES) #if defined(POLARSSL_HAVE_INT8) "POLARSSL_HAVE_INT8", diff --git a/library/x509.c b/library/x509.c index 3818c3f5..b35663d8 100644 --- a/library/x509.c +++ b/library/x509.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/x509_create.c b/library/x509_create.c index 0a75c388..f505bab8 100644 --- a/library/x509_create.c +++ b/library/x509_create.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/x509_crl.c b/library/x509_crl.c index 94076e79..e2076a66 100644 --- a/library/x509_crl.c +++ b/library/x509_crl.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/x509_crt.c b/library/x509_crt.c index d9f5fac2..77008ed2 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/x509_csr.c b/library/x509_csr.c index 826eafd9..558b078b 100644 --- a/library/x509_csr.c +++ b/library/x509_csr.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/x509write_crt.c b/library/x509write_crt.c index 5bf44a06..80913ec1 100644 --- a/library/x509write_crt.c +++ b/library/x509write_crt.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/x509write_csr.c b/library/x509write_csr.c index 5e2a5e19..c5a58754 100644 --- a/library/x509write_csr.c +++ b/library/x509write_csr.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/library/xtea.c b/library/xtea.c index e543d654..0558b93c 100644 --- a/library/xtea.c +++ b/library/xtea.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/aes/aescrypt2.c b/programs/aes/aescrypt2.c index 430b87f2..2582b961 100644 --- a/programs/aes/aescrypt2.c +++ b/programs/aes/aescrypt2.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/aes/crypt_and_hash.c b/programs/aes/crypt_and_hash.c index c76b8dbd..1f14d3f4 100644 --- a/programs/aes/crypt_and_hash.c +++ b/programs/aes/crypt_and_hash.c @@ -4,7 +4,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/hash/generic_sum.c b/programs/hash/generic_sum.c index a49dbb7b..08f175d0 100644 --- a/programs/hash/generic_sum.c +++ b/programs/hash/generic_sum.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/hash/hello.c b/programs/hash/hello.c index c7741105..77ae7f98 100644 --- a/programs/hash/hello.c +++ b/programs/hash/hello.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/hash/md5sum.c b/programs/hash/md5sum.c index afe34545..f8e32f71 100644 --- a/programs/hash/md5sum.c +++ b/programs/hash/md5sum.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/hash/sha1sum.c b/programs/hash/sha1sum.c index 8dc4e086..dbdce3e5 100644 --- a/programs/hash/sha1sum.c +++ b/programs/hash/sha1sum.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/hash/sha2sum.c b/programs/hash/sha2sum.c index 268d170b..2ed92fcf 100644 --- a/programs/hash/sha2sum.c +++ b/programs/hash/sha2sum.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/dh_client.c b/programs/pkey/dh_client.c index b600584d..ef88958b 100644 --- a/programs/pkey/dh_client.c +++ b/programs/pkey/dh_client.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/dh_genprime.c b/programs/pkey/dh_genprime.c index e0ca260e..b5f90184 100644 --- a/programs/pkey/dh_genprime.c +++ b/programs/pkey/dh_genprime.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2012, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/dh_server.c b/programs/pkey/dh_server.c index b623a680..d0bc1c67 100644 --- a/programs/pkey/dh_server.c +++ b/programs/pkey/dh_server.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/ecdsa.c b/programs/pkey/ecdsa.c index 640d3e76..aa8eafb9 100644 --- a/programs/pkey/ecdsa.c +++ b/programs/pkey/ecdsa.c @@ -3,7 +3,7 @@ * * Copyright (C) 2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/gen_key.c b/programs/pkey/gen_key.c index a4095da5..fca35e55 100644 --- a/programs/pkey/gen_key.c +++ b/programs/pkey/gen_key.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/key_app.c b/programs/pkey/key_app.c index 98f36db1..f8a2d2db 100644 --- a/programs/pkey/key_app.c +++ b/programs/pkey/key_app.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/key_app_writer.c b/programs/pkey/key_app_writer.c index 09233ffe..3be1ce0d 100644 --- a/programs/pkey/key_app_writer.c +++ b/programs/pkey/key_app_writer.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/mpi_demo.c b/programs/pkey/mpi_demo.c index 7281c3a6..c94fb976 100644 --- a/programs/pkey/mpi_demo.c +++ b/programs/pkey/mpi_demo.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/pk_decrypt.c b/programs/pkey/pk_decrypt.c index 2bd8b348..bafa4a99 100644 --- a/programs/pkey/pk_decrypt.c +++ b/programs/pkey/pk_decrypt.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/pk_encrypt.c b/programs/pkey/pk_encrypt.c index 9a3e7824..ad94159a 100644 --- a/programs/pkey/pk_encrypt.c +++ b/programs/pkey/pk_encrypt.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/pk_sign.c b/programs/pkey/pk_sign.c index e85350d9..7ccc70b6 100644 --- a/programs/pkey/pk_sign.c +++ b/programs/pkey/pk_sign.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/pk_verify.c b/programs/pkey/pk_verify.c index 923afc15..3afa34a3 100644 --- a/programs/pkey/pk_verify.c +++ b/programs/pkey/pk_verify.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/rsa_decrypt.c b/programs/pkey/rsa_decrypt.c index 368089f7..dfa475c1 100644 --- a/programs/pkey/rsa_decrypt.c +++ b/programs/pkey/rsa_decrypt.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/rsa_encrypt.c b/programs/pkey/rsa_encrypt.c index e73ad2ff..68318332 100644 --- a/programs/pkey/rsa_encrypt.c +++ b/programs/pkey/rsa_encrypt.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/rsa_genkey.c b/programs/pkey/rsa_genkey.c index 0314d39e..0270b53b 100644 --- a/programs/pkey/rsa_genkey.c +++ b/programs/pkey/rsa_genkey.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/rsa_sign.c b/programs/pkey/rsa_sign.c index 277034d2..d9a9a6e5 100644 --- a/programs/pkey/rsa_sign.c +++ b/programs/pkey/rsa_sign.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/rsa_sign_pss.c b/programs/pkey/rsa_sign_pss.c index ad4d0b5f..7c0c7ca8 100644 --- a/programs/pkey/rsa_sign_pss.c +++ b/programs/pkey/rsa_sign_pss.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/rsa_verify.c b/programs/pkey/rsa_verify.c index 88d4d04c..374a5f1e 100644 --- a/programs/pkey/rsa_verify.c +++ b/programs/pkey/rsa_verify.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/pkey/rsa_verify_pss.c b/programs/pkey/rsa_verify_pss.c index 2b1570a9..217b7137 100644 --- a/programs/pkey/rsa_verify_pss.c +++ b/programs/pkey/rsa_verify_pss.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/random/gen_entropy.c b/programs/random/gen_entropy.c index 54baa18b..573a13bc 100644 --- a/programs/random/gen_entropy.c +++ b/programs/random/gen_entropy.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/random/gen_random_ctr_drbg.c b/programs/random/gen_random_ctr_drbg.c index 4c2286d9..e96e37b4 100644 --- a/programs/random/gen_random_ctr_drbg.c +++ b/programs/random/gen_random_ctr_drbg.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/random/gen_random_havege.c b/programs/random/gen_random_havege.c index 0f5800c3..e5a53560 100644 --- a/programs/random/gen_random_havege.c +++ b/programs/random/gen_random_havege.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/ssl/mini_client.c b/programs/ssl/mini_client.c index a06d3455..c48969bd 100644 --- a/programs/ssl/mini_client.c +++ b/programs/ssl/mini_client.c @@ -4,7 +4,7 @@ * * Copyright (C) 2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/ssl/ssl_client1.c b/programs/ssl/ssl_client1.c index c5ed4c30..b0a75dc9 100644 --- a/programs/ssl/ssl_client1.c +++ b/programs/ssl/ssl_client1.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index 2f40fec3..48ceeb28 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/ssl/ssl_fork_server.c b/programs/ssl/ssl_fork_server.c index 71a3aa96..3408364f 100644 --- a/programs/ssl/ssl_fork_server.c +++ b/programs/ssl/ssl_fork_server.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/ssl/ssl_mail_client.c b/programs/ssl/ssl_mail_client.c index 8794c98f..92ebed07 100644 --- a/programs/ssl/ssl_mail_client.c +++ b/programs/ssl/ssl_mail_client.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2012, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/ssl/ssl_pthread_server.c b/programs/ssl/ssl_pthread_server.c index 8ae41134..5f12b967 100644 --- a/programs/ssl/ssl_pthread_server.c +++ b/programs/ssl/ssl_pthread_server.c @@ -4,7 +4,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/ssl/ssl_server.c b/programs/ssl/ssl_server.c index 83430f64..eb5cd253 100644 --- a/programs/ssl/ssl_server.c +++ b/programs/ssl/ssl_server.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index 78198ff0..ad0631b5 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/test/benchmark.c b/programs/test/benchmark.c index 912aa7df..1a308be6 100644 --- a/programs/test/benchmark.c +++ b/programs/test/benchmark.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -255,8 +255,10 @@ int main( int argc, char *argv[] ) unsigned char malloc_buf[HEAP_SIZE] = { 0 }; #endif - if( argc == 1 ) + if( argc <= 1 ) + { memset( &todo, 1, sizeof( todo ) ); + } else { memset( &todo, 0, sizeof( todo ) ); diff --git a/programs/test/o_p_test.c b/programs/test/o_p_test.c index 0d1cccfa..d949d51d 100644 --- a/programs/test/o_p_test.c +++ b/programs/test/o_p_test.c @@ -3,7 +3,7 @@ * * Copyright (C) 2011-2012 ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/test/selftest.c b/programs/test/selftest.c index edecbb8f..280e3b7c 100644 --- a/programs/test/selftest.c +++ b/programs/test/selftest.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/test/ssl_cert_test.c b/programs/test/ssl_cert_test.c index 49786031..d823964e 100644 --- a/programs/test/ssl_cert_test.c +++ b/programs/test/ssl_cert_test.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/test/ssl_test.c b/programs/test/ssl_test.c index 49bbd158..5f12608a 100644 --- a/programs/test/ssl_test.c +++ b/programs/test/ssl_test.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/util/pem2der.c b/programs/util/pem2der.c index 2c0e585b..8ef3e4b3 100644 --- a/programs/util/pem2der.c +++ b/programs/util/pem2der.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/util/strerror.c b/programs/util/strerror.c index e785ffa7..715bd3fb 100644 --- a/programs/util/strerror.c +++ b/programs/util/strerror.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2012, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/wince_main.c b/programs/wince_main.c index 8bf249b8..aa1401c2 100644 --- a/programs/wince_main.c +++ b/programs/wince_main.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/x509/cert_app.c b/programs/x509/cert_app.c index cc36b7cb..0c564bd3 100644 --- a/programs/x509/cert_app.c +++ b/programs/x509/cert_app.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/x509/cert_req.c b/programs/x509/cert_req.c index d8527c6e..83766ea5 100644 --- a/programs/x509/cert_req.c +++ b/programs/x509/cert_req.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/x509/cert_write.c b/programs/x509/cert_write.c index 45e2456d..5653da25 100644 --- a/programs/x509/cert_write.c +++ b/programs/x509/cert_write.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/x509/crl_app.c b/programs/x509/crl_app.c index 83543911..ff80a3d4 100644 --- a/programs/x509/crl_app.c +++ b/programs/x509/crl_app.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/programs/x509/req_app.c b/programs/x509/req_app.c index 0b070fc9..1164fd6f 100644 --- a/programs/x509/req_app.c +++ b/programs/x509/req_app.c @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/scripts/data_files/error.fmt b/scripts/data_files/error.fmt index eeefd7b8..7449d85a 100644 --- a/scripts/data_files/error.fmt +++ b/scripts/data_files/error.fmt @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/scripts/data_files/version_features.fmt b/scripts/data_files/version_features.fmt index 1d27488c..500e026c 100644 --- a/scripts/data_files/version_features.fmt +++ b/scripts/data_files/version_features.fmt @@ -3,7 +3,7 @@ * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * - * This file is part of mbed TLS (https://polarssl.org) + * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ #define strcasecmp _stricmp #endif -const char *features[] = { +static const char *features[] = { #if defined(POLARSSL_VERSION_FEATURES) FEATURE_DEFINES #endif /* POLARSSL_VERSION_FEATURES */