openssl/crypto/ec
Richard Levitte 1aa89a7a3a Unify all assembler file generators
They now generally conform to the following argument sequence:

    script.pl "$(PERLASM_SCHEME)" [ C preprocessor arguments ... ] \
              $(PROCESSOR) <output file>

However, in the spirit of being able to use these scripts manually,
they also allow for no argument, or for only the flavour, or for only
the output file.  This is done by only using the last argument as
output file if it's a file (it has an extension), and only using the
first argument as flavour if it isn't a file (it doesn't have an
extension).

While we're at it, we make all $xlate calls the same, i.e. the $output
argument is always quoted, and we always die on error when trying to
start $xlate.

There's a perl lesson in this, regarding operator priority...

This will always succeed, even when it fails:

    open FOO, "something" || die "ERR: $!";

The reason is that '||' has higher priority than list operators (a
function is essentially a list operator and gobbles up everything
following it that isn't lower priority), and since a non-empty string
is always true, so that ends up being exactly the same as:

    open FOO, "something";

This, however, will fail if "something" can't be opened:

    open FOO, "something" or die "ERR: $!";

The reason is that 'or' has lower priority that list operators,
i.e. it's performed after the 'open' call.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9884)
2019-09-16 16:29:57 +02:00
..
asm Unify all assembler file generators 2019-09-16 16:29:57 +02:00
curve448 New function EVP_MD_free() 2019-09-04 10:38:13 +02:00
build.info build.info: For all assembler generators, remove all arguments 2019-09-16 16:29:57 +02:00
curve25519.c Fixed linux_x86_icc compiler errors in EC code related to __uint128_t/__int128_t 2019-04-11 08:40:40 +10:00
ec2_oct.c Make the EC code available from inside the FIPS provider 2019-08-06 11:19:07 +01:00
ec2_smpl.c Enable curve-spefific ECDSA implementations via EC_METHOD 2019-08-15 16:27:38 +02:00
ec_ameth.c Fix the default digest algorthm of SM2 2019-02-27 10:05:17 +08:00
ec_asn1.c Fix potential memory leaks with BN_to_ASN1_INTEGER 2019-09-13 13:21:13 +02:00
ec_check.c Make the EC code available from inside the FIPS provider 2019-08-06 11:19:07 +01:00
ec_curve.c s390x assembly pack: accelerate scalar multiplication 2019-08-15 16:27:38 +02:00
ec_cvt.c Make the EC code available from inside the FIPS provider 2019-08-06 11:19:07 +01:00
ec_err.c util/mkerr.pl: make it not depend on the function code 2019-09-12 17:59:52 +02:00
ec_key.c Make the EC code available from inside the FIPS provider 2019-08-06 11:19:07 +01:00
ec_kmeth.c Make the EC code available from inside the FIPS provider 2019-08-06 11:19:07 +01:00
ec_lcl.h Enable curve-spefific ECDSA implementations via EC_METHOD 2019-08-15 16:27:38 +02:00
ec_lib.c [crypto/ec] for ECC parameters with NULL or zero cofactor, compute it 2019-09-05 10:21:04 +01:00
ec_mult.c Make the EC code available from inside the FIPS provider 2019-08-06 11:19:07 +01:00
ec_oct.c Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ec_pmeth.c Support SM2 certificate signing 2019-06-28 18:58:19 +08:00
ec_print.c Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ecdh_kdf.c Usages of KDFs converted to use the name macros 2019-09-11 10:22:49 +10:00
ecdh_ossl.c Make the EC code available from inside the FIPS provider 2019-08-06 11:19:07 +01:00
ecdsa_ossl.c Enable curve-spefific ECDSA implementations via EC_METHOD 2019-08-15 16:27:38 +02:00
ecdsa_sign.c Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ecdsa_vrf.c Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
eck_prn.c Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ecp_mont.c Enable curve-spefific ECDSA implementations via EC_METHOD 2019-08-15 16:27:38 +02:00
ecp_nist.c Enable curve-spefific ECDSA implementations via EC_METHOD 2019-08-15 16:27:38 +02:00
ecp_nistp224.c [ec/ecp_nistp*.c] restyle: use {} around else too 2019-09-07 02:06:40 +03:00
ecp_nistp256.c [ec/ecp_nistp*.c] restyle: use {} around else too 2019-09-07 02:06:40 +03:00
ecp_nistp521.c [ec/ecp_nistp*.c] restyle: use {} around else too 2019-09-07 02:06:40 +03:00
ecp_nistputil.c Fix various mistakes in ec_GFp_nistp_recode_scalar_bits comment. 2019-05-31 18:14:50 -04:00
ecp_nistz256_table.c Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ecp_nistz256.c Enable curve-spefific ECDSA implementations via EC_METHOD 2019-08-15 16:27:38 +02:00
ecp_oct.c Make the EC code available from inside the FIPS provider 2019-08-06 11:19:07 +01:00
ecp_s390x_nistp.c s390x assembly pack: accelerate ECDSA 2019-08-15 16:27:38 +02:00
ecp_smpl.c Enable curve-spefific ECDSA implementations via EC_METHOD 2019-08-15 16:27:38 +02:00
ecx_meth.c clearing the ecx private key memory 2019-09-16 14:33:41 +01:00