bsaes-armv7.pl: take it into build loop.
bsaes-armv7.pl: add bsaes_cbc_encrypt and bsaes_ctr32_encrypt_blocks.

Submitted by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

Contributor claims ~50% improvement in CTR and ~9% in CBC decrypt
on Cortex-A15.
Reencode certificates in X509_sign_ctx.

Reencode certificates in X509_sign_ctx as well as X509_sign.

This was causing a problem in the x509 application when it modified an
existing certificate.
Ugly hack to avoid recompiling the same thing multiple times in parallel.
Tests pass!
aesni-x86_64.pl: minor CTR performance improvement.
x86_64-xlate.pl: minor size/performance improvement.
Add AES-SHA256 stitch.
vpaes-x86[_64].pl: minor Atom-specific optimization.
sha512-x86_64.pl: +16% optimization for Atom.

(and pending AVX2 changes).
aesni-sha1-x86_64.pl: Atom-specific optimization.
aesni-x86_64.pl: optimize XTS.

PR: 3042
crypto/bn/bn_exp.c: SPARC portability fix.
Missing prototypes.
Remove added ;.
Add volatile qualifications to two blocks of inline asm to stop GCC from
eliminating them as dead code.

Both volatile and "memory" are used because of some concern that the compiler
may still cache values across the asm block without it, and because this was
such a painful debugging session that I wanted to ensure that it's never
repeated.
Ensure that x**0 mod 1 = 0.
Ensure that, when generating small primes, the result is actually of the
requested size. Fixes OpenSSL #2701.

This change does not address the cases of generating safe primes, or
where the |add| parameter is non-NULL.

Conflicts:
	crypto/bn/bn.h
	crypto/bn/bn_err.c
Reencode with X509_CRL_ctx_sign too.
Fix PSS signature printing.

Fix PSS signature printing: consistently use 0x prefix for hex values for
padding length and trailer fields.