openssl/crypto/evp
Matt Caswell 3fd5970035 Add support for the SRP base64 alphabet
Historically we used to implement standalone base64 code for SRP. This
was replaced by commit 3d3f21aa with the standard base64 processing code.

However, the SRP base64 code was designed to be compatible with other SRP
libraries (notably libsrp, but also others) that use a variant of standard
base64. Specifically a different alphabet is used and no padding '='
characters are used. Instead 0 padding is added to the front of the string.
By changing to standard base64 we change the behaviour of the API which may
impact interoperability. It also means that SRP verifier files created prior
to 1.1.1 would not be readable in 1.1.1 and vice versa.

Instead we expand our standard base64 processing with the capability to be
able to read and generate the SRP base64 variant.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5925)
2018-04-13 09:37:38 +01:00
..
bio_b64.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
bio_enc.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
bio_md.c Fix invalid function type casts. 2017-12-15 19:33:48 +01:00
bio_ok.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
build.info SM3: restructure to EVP internal and update doc to right location 2017-11-06 07:21:15 +08:00
c_allc.c SM4: Add SM4 block cipher to EVP 2017-10-31 15:19:14 +10:00
c_alld.c SHA512/224 and SHA512/256 2018-01-24 07:09:46 +10:00
cmeth_lib.c
digest.c Add EVP_DigestFinalXOF, interface to extendable-output functions, XOFs. 2017-08-12 12:20:06 +02:00
e_aes_cbc_hmac_sha1.c Don't use a ssl specific DRBG anymore 2018-03-19 15:04:40 +01:00
e_aes_cbc_hmac_sha256.c Don't use a ssl specific DRBG anymore 2018-03-19 15:04:40 +01:00
e_aes.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
e_aria.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
e_bf.c
e_camellia.c Update copyright year 2018-02-27 13:59:42 +00:00
e_cast.c
e_chacha20_poly1305.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
e_des3.c Update copyright year 2018-04-03 13:57:12 +01:00
e_des.c Update copyright year 2018-04-03 13:57:12 +01:00
e_idea.c
e_null.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
e_old.c
e_rc2.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
e_rc4_hmac_md5.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
e_rc4.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
e_rc5.c Use "" not <> for internal/ includes 2017-08-22 09:54:20 -04:00
e_seed.c
e_sm4.c SM4: Add SM4 block cipher to EVP 2017-10-31 15:19:14 +10:00
e_xcbc_d.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
encode.c Add support for the SRP base64 alphabet 2018-04-13 09:37:38 +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 Use the private RNG for data that is not public 2018-04-02 22:22:43 +02:00
evp_err.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
evp_key.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
evp_lib.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
evp_locl.h Change SRP functions to use EVP_EncodeUpdate/EVP_DecodeUpdate functions 2018-04-13 09:37:38 +01: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
m_md4.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
m_md5_sha1.c
m_md5.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
m_mdc2.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
m_null.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
m_ripemd.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
m_sha1.c Avoid fragile aliasing of SHA224/384 update/final 2018-02-13 23:27:51 -05:00
m_sha3.c evp/m_sha3.c: wire SHA3 to rsaEncryption. 2017-09-11 22:18:18 +02:00
m_sigver.c Fix memleak in EVP_DigestSignFinal/VerifyFinal. 2017-06-12 12:49:50 -04:00
m_wp.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
names.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
p5_crpt2.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
p5_crpt.c
p_dec.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
p_enc.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
p_lib.c Update copyright year 2018-03-20 13:08:46 +00:00
p_open.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
p_seal.c Don't use a ssl specific DRBG anymore 2018-03-19 15:04:40 +01:00
p_sign.c
p_verify.c
pbe_scrypt.c Update copyright year 2018-04-03 13:57:12 +01:00
pmeth_fn.c Remove email addresses from source code. 2017-10-13 10:06:59 -04:00
pmeth_gn.c Support public key and param check in EVP interface 2017-11-20 07:20:30 +01:00
pmeth_lib.c EVP,KDF: Add more error code along some return 0 in ... 2018-03-29 22:46:10 +02:00