openssl/crypto/evp
Pauli a1df06b363 This has been added to avoid the situation where some host ctype.h functions
return true for characters > 127.  I.e. they are allowing extended ASCII
characters through which then cause problems.  E.g. marking superscript '2' as
a number then causes the common (ch - '0') conversion to number to fail
miserably.  Likewise letters with diacritical marks can also cause problems.

If a non-ASCII character set is being used (currently only EBCDIC), it is
adjusted for.

The implementation uses a single table with a bit for each of the defined
classes.  These functions accept an int argument and fail for
values out of range or for characters outside of the ASCII set.  They will
work for both signed and unsigned character inputs.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4102)
2017-08-22 09:45:25 +10:00
..
bio_b64.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
bio_enc.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
bio_md.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
bio_ok.c Create BIO_write_ex() which handles size_t arguments 2016-10-28 09:48:54 +01:00
build.info Rename crypto/evp/scrypt.c to crypto/evp/pbe_scrypt.c 2017-08-15 12:32:55 +02:00
c_allc.c Implementation of the ARIA cipher as described in RFC 5794. 2017-02-21 11:51:45 +01:00
c_alld.c Wire SHAKE to EVP. 2017-08-12 12:20:56 +02:00
cmeth_lib.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
digest.c Add EVP_DigestFinalXOF, interface to extendable-output functions, XOFs. 2017-08-12 12:20:06 +02:00
e_aes.c Fix gcc-7 warnings. 2017-05-11 19:39:38 +02:00
e_aes_cbc_hmac_sha1.c Remove some dead code 2017-07-19 11:49:08 +01:00
e_aes_cbc_hmac_sha256.c evp/e_aes_cbc_hmac_sha256.c: give SHAEXT right priority. 2017-07-24 23:29:13 +02:00
e_aria.c Fix copyright date for the ARIA evp file. 2017-07-03 12:55:16 +10:00
e_bf.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
e_camellia.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
e_cast.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
e_chacha20_poly1305.c Properly zero cipher_data for ChaCha20-Poly1305 on cleanup 2017-02-15 20:00:34 -05:00
e_des.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
e_des3.c Fix the overlapping check for fragmented "Update" operations 2017-01-25 15:02:44 +00:00
e_idea.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
e_null.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
e_old.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
e_rc2.c Add some missing return value checks 2016-06-13 17:38:39 +01:00
e_rc4.c Cleanup EVP_CIPH/EP_CTRL duplicate defines 2017-01-24 18:47:10 +01:00
e_rc4_hmac_md5.c crypto/evp: harden RC4_MD5 cipher. 2017-01-26 10:54:01 +00:00
e_rc5.c Fix spelling of error code 2016-08-10 09:58:57 -04:00
e_seed.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
e_xcbc_d.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
encode.c Add EVP_ENCODE_CTX_copy 2016-07-24 19:23:00 +01:00
evp_cnf.c This has been added to avoid the situation where some host ctype.h functions 2017-08-22 09:45:25 +10:00
evp_enc.c Restore EVP_CIPH_FLAG_LENGTH_BITS working properly 2017-02-10 13:36:56 +00:00
evp_err.c Add EVP_DigestFinalXOF, interface to extendable-output functions, XOFs. 2017-08-12 12:20:06 +02:00
evp_key.c Fix small UI issues 2017-07-05 11:15:37 +02:00
evp_lib.c Fix EVP_MD_meth_get_flags 2016-12-22 15:23:41 +01:00
evp_locl.h Fix the overlapping check for fragmented "Update" operations 2017-01-25 15:02:44 +00:00
evp_pbe.c Adding NID_hmac_sha1 and _md5 to builtin_pbe[] 2017-08-02 09:32:11 +10:00
evp_pkey.c Switch from ossl_rand to DRBG rand 2017-08-03 09:23:28 -04:00
m_md2.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
m_md4.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
m_md5.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
m_md5_sha1.c Fix ctrl operation for SHA1/MD5SHA1. 2016-11-25 20:50:58 +00:00
m_mdc2.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
m_null.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
m_ripemd.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
m_sha1.c Fix ctrl operation for SHA1/MD5SHA1. 2016-11-25 20:50:58 +00:00
m_sha3.c Wire SHAKE to EVP. 2017-08-12 12:20:56 +02:00
m_sigver.c Fix memleak in EVP_DigestSignFinal/VerifyFinal. 2017-06-12 12:49:50 -04:00
m_wp.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
names.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
p5_crpt.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
p5_crpt2.c PBKDF2 computation speedup (15-40%) 2017-04-04 10:44:17 -04:00
p_dec.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
p_enc.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
p_lib.c Add support for parameterized SipHash 2017-02-01 14:14:36 -05:00
p_open.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
p_seal.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
p_sign.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
p_verify.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pbe_scrypt.c Rename crypto/evp/scrypt.c to crypto/evp/pbe_scrypt.c 2017-08-15 12:32:55 +02:00
pmeth_fn.c Reformat M_check_autoarg to match our coding style 2016-12-20 23:21:25 +01:00
pmeth_gn.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pmeth_lib.c Fix coding style of EVP_PKEY_CTX_ctrl_uint64 2017-08-15 17:30:25 -05:00