add proper gitignore files, for Linux compilation and use
remove .SILENT from Makefiles, use "make -s" instead

Remove .SILENT from Makefiles, so that full commands are
printed as they are executed. Add "@" in front of "echo" commands
so that echo messages are not printed twice. If it is desired
to suppress printing of the commands, use the "-s" (--quiet)
option of make, for example "make -s all".
mark phony targets in makefiles
makefile: add TROPICSSL_CFLAGS_EXTRA_WARNINGS, TROPICSSL_CFLAGS_NO_WARNINGS_AS_ERRORS

Add variables TROPICSSL_CFLAGS_EXTRA_WARNINGS and
TROPICSSL_CFLAGS_NO_WARNINGS_AS_ERRORS to Makefiles.
TROPICSSL_CFLAGS_EXTRA_WARNINGS allows to pass extra
warning options to gcc and the variable
TROPICSSL_CFLAGS_NO_WARNINGS_AS_ERRORS disables
addition of -Werror if this is needed. However, it
is recommended to use -Werror and not to pass
the variable TROPICSSL_CFLAGS_NO_WARNINGS_AS_ERRORS
to make. Example:

  make all 'TROPICSSL_CFLAGS_EXTRA_WARNINGS= -Wextra -Wformat=2'
    TROPICSSL_CFLAGS_NO_WARNINGS_AS_ERRORS=1

Enable -Wall and -Werror for programs, to match the
library.
makefile: add TROPICSSL_SHARED variable

Add TROPICSSL_SHARED variable to Makefile. This allows
selecting which library to build at the command line
without modifying the makefile itself.
set O2 optimization for programs, to match the library
debug: add proper const attribute to function arguments

Add proper const attribute to function arguments. Also
add format attribute to debug_fmt() function.
This fixes many warnings in many files, for example:

  ssl_cli.c: In function ‘ssl_write_client_hello’:
  ssl_cli.c:55: warning: passing argument 3 of
  ‘debug_print_msg’ discards qualifiers from pointer
  target type

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
bignum/mpi: add proper const attribute to function arguments

Add proper const attribute to function arguments in
bignum/mpi. This fixes many warnings in many files,
for example:

  rsa.c: In function ‘rsa_self_test’:
  rsa.c:623: warning: passing argument 3 of
  ‘mpi_read_string’ discards qualifiers from pointer
  target type

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
base64: add proper const attribute to function arguments

Add proper const attribute to function arguments in
base64.

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
hash: add proper const attribute to function arguments

Add proper const attribute to function arguments in
hash algorithms (md2, md4, md5, sha1, sha2, sha4).

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
padlock: add proper const attributes

Add proper const attribute to function arguments in
padlock.

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
crypto: add proper const attributes, change arc4_crypt interface

Add proper const attribute to function arguments in
crypto algorithms (aes, des, arc4, camellia, xtea)

Change interface of arc4_crypt to have separate
input and output buffers.

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.

Fix unused parameter warning in camellia_crypt_ecb(). The
following warning was reported with -Wextra:

  camellia.c: In function ‘camellia_crypt_ecb’:
  camellia.c:511: error: unused parameter ‘mode’

Make camellia_feistel() static. This fixes the following
warning with -Wmissing-declarations:

  camellia.c:325: warning: no previous declaration for
  ‘camellia_feistel’

Add xtea_crypt_ecb declaration. This fixes this warning
shown with -Wmissing-declarations:

  xtea.c:82: warning: no previous declaration for
  ‘xtea_crypt_ecb’

Separate input and output buffers in xtea_self_test().
rsa: add proper const attribute to function arguments

Add proper const attribute to function arguments in
rsa.

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
dhm: add proper const attribute to function arguments

Add proper const attribute to function arguments in
dhm

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
net: add proper const attribute to function arguments

Add proper const attribute to function arguments in
net.c.

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
timing: mark alarmed variable volatile

Mark "alarmed" global variable as volatile to prevent
compiler optimizations around it.
x509: add proper const attributes, change x509parse_cert_info interface

Add proper const attribute to function arguments in
x509.

Change interface of x509parse_cert_info to have
the output buffer provided by caller.

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
ssl/tls: add proper const attributes to functions, context members

Add proper const attribute to function arguments and
SSL context structure members.

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
certs: add proper const attributes to global variables

Add proper const attributes to global variables
containing test certificates used throughout the
library.

add proper const attributes to global certs constants

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
rsa_genkey: remove unused cert variable