openssl/crypto/evp
Martin Peylo 418d49c276 Adding NID_hmac_sha1 and _md5 to builtin_pbe[]
The OID for {1 3 6 1 5 5 8 1 2} HMAC-SHA1 (NID_hmac_sha1) is explicitly
referenced by RFC 2510, RFC 3370, and RFC 4210. This is essential for the
common implementations of CMP (Certificate Managing Protocol, RFC4210).

HMAC-MD5's OID {1 3 6 1 5 5 8 1 1} (NID_hmac_md5) is in the same branch and
it seems to generally exist (-> Internet search), but it is unclear where it is
actually defined as it appears not to be referenced by RFCs and practically
rather unused.

Those OIDs are both duplicates to OIDs from an RSA OID branch, which are already
included in builtin_pbe[]:

HMAC-SHA1 also has another OID defined in PKCS#5/RFC2898 (NID_hmacWithSHA1).

It is also unclear where the other OID for HMAC-MD5 (NID_hmacWithMD5) from the
RSA branch is officially specified, as only HMAC-SHA1 from PKCS#5 was found to be
defined. Anyway, HMAC-MD5 likely only plays a neglectable role in the future.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/3811)
2017-08-02 09:32:11 +10:00
..
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c
build.info Add evp/m_sha3.c. 2017-07-25 21:40:23 +02:00
c_allc.c
c_alld.c Wire SHA3 EVPs and add tests. 2017-07-25 21:40:30 +02:00
cmeth_lib.c
digest.c
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_aes.c
e_aria.c Fix copyright date for the ARIA evp file. 2017-07-03 12:55:16 +10:00
e_bf.c
e_camellia.c
e_cast.c
e_chacha20_poly1305.c
e_des3.c
e_des.c
e_idea.c
e_null.c
e_old.c
e_rc2.c
e_rc4_hmac_md5.c
e_rc4.c
e_rc5.c
e_seed.c
e_xcbc_d.c
encode.c
evp_cnf.c
evp_enc.c
evp_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
evp_key.c Fix small UI issues 2017-07-05 11:15:37 +02:00
evp_lib.c
evp_locl.h
evp_pbe.c Adding NID_hmac_sha1 and _md5 to builtin_pbe[] 2017-08-02 09:32:11 +10:00
evp_pkey.c
m_md2.c
m_md4.c
m_md5_sha1.c
m_md5.c
m_mdc2.c
m_null.c
m_ripemd.c
m_sha1.c
m_sha3.c Add evp/m_sha3.c. 2017-07-25 21:40:23 +02:00
m_sigver.c Fix memleak in EVP_DigestSignFinal/VerifyFinal. 2017-06-12 12:49:50 -04:00
m_wp.c
names.c
p5_crpt2.c
p5_crpt.c
p_dec.c
p_enc.c
p_lib.c
p_open.c
p_seal.c
p_sign.c
p_verify.c
pmeth_fn.c
pmeth_gn.c
pmeth_lib.c Add public key method enumeration function. 2017-07-29 23:04:09 +01:00
scrypt.c