openssl/crypto/x509
Richard Levitte 70a7dd6f96 X509: Rename X509_set0_sm2_id() and friends
- X509_set0_sm2_id() -> X509_set0_distinguishing_id()
- X509_get0_sm2_id() -> X509_get0_distinguishing_id()
- X509_REQ_set0_sm2_id -> X509_REQ_set0_distinguishing_id()
- X509_REQ_get0_sm2_id -> X509_REQ_get0_distinguishing_id()

The reason for this rename is that the SM2 ID isn't really a unique
SM2 data item, but rather a re-use of the Distinguished that is
defined in ISO/IEC 15946-3 as well as in FIPS 196, with no special
attribution toward any algorithm in particular.

Fixes #11293

Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/11302)
2020-03-15 19:42:04 +01:00
..
build.info x509v3 subjectSignTool extention support 2020-02-28 18:01:16 +03:00
by_dir.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
by_file.c Reorganize local header files 2019-09-28 20:26:35 +02:00
by_store.c X509_LOOKUP_store: new X509_LOOKUP_METHOD that works by OSSL_STORE URI 2019-11-03 18:38:23 +01:00
ext_dat.h x509v3 subjectSignTool extention support 2020-02-28 18:01:16 +03:00
pcy_cache.c Reorganize local header files 2019-09-28 20:26:35 +02:00
pcy_data.c Reorganize local header files 2019-09-28 20:26:35 +02:00
pcy_lib.c Reorganize local header files 2019-09-28 20:26:35 +02:00
pcy_local.h Reorganize local header files 2019-09-28 20:26:35 +02:00
pcy_map.c Reorganize local header files 2019-09-28 20:26:35 +02:00
pcy_node.c Reorganize local header files 2019-09-28 20:26:35 +02:00
pcy_tree.c Fix --strict-warnings build 2019-11-03 16:38:56 +01:00
standard_exts.h x509v3 subjectSignTool extention support 2020-02-28 18:01:16 +03:00
t_crl.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
t_req.c Avoid NULL pointer dereference. Fixes #9043. 2019-07-08 20:14:50 +10:00
t_x509.c chunk 7 of CMP contribution to OpenSSL 2020-02-17 07:43:58 +01:00
v3_addr.c Rename internal function name_cmp() to v3_name_cmp() 2019-10-17 09:16:45 +02:00
v3_admis.c Reorganize public header files (part 1) 2019-09-28 20:26:36 +02:00
v3_admis.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
v3_akey.c Check the return from OPENSSL_buf2hexstr() 2019-11-29 14:21:55 +00:00
v3_akeya.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_alt.c Add support for otherName:NAIRealm in output 2019-12-11 22:29:19 +03:00
v3_asid.c Rename internal function name_cmp() to v3_name_cmp() 2019-10-17 09:16:45 +02:00
v3_bcons.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_bitst.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_conf.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
v3_cpols.c Rename internal function name_cmp() to v3_name_cmp() 2019-10-17 09:16:45 +02:00
v3_crld.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
v3_enum.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_extku.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_genn.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_ia5.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_info.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
v3_int.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_lib.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_ncons.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
v3_pci.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
v3_pcia.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_pcons.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
v3_pku.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_pmaps.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_prn.c Join the x509 and x509v3 directories 2019-05-29 09:32:50 +02:00
v3_purp.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
v3_skey.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
v3_sxnet.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
v3_tlsf.c Remove OPENSSL_memcmp. 2019-06-21 10:03:55 +10:00
v3_utf8.c x509v3 subjectSignTool extention support 2020-02-28 18:01:16 +03:00
v3_utl.c Rename internal function name_cmp() to v3_name_cmp() 2019-10-17 09:16:45 +02:00
v3err.c util/mkerr.pl: make it not depend on the function code 2019-09-12 17:59:52 +02:00
x509_att.c Reorganize local header files 2019-09-28 20:26:35 +02:00
x509_cmp.c Stop using EVP_MD_CTX_FLAG_NON_FIPS_ALLOW 2019-10-11 09:52:31 +02:00
x509_d2.c Update source files for pre-3.0 deprecation 2019-11-07 11:37:25 +01:00
x509_def.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_err.c chunk 7 of CMP contribution to OpenSSL 2020-02-17 07:43:58 +01:00
x509_ext.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x509_local.h Reorganize local header files 2019-09-28 20:26:35 +02:00
x509_lu.c chunk 7 of CMP contribution to OpenSSL 2020-02-17 07:43:58 +01:00
x509_meth.c Reorganize public header files (part 1) 2019-09-28 20:26:36 +02:00
x509_obj.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x509_r2x.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x509_req.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x509_set.c Stop accepting certificates signed using SHA1 at security level 1 2020-02-05 22:04:37 +01:00
x509_trs.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
x509_txt.c Update man3/verify documentation, error text 2020-01-23 23:18:33 +01:00
x509_v3.c Reorganize local header files 2019-09-28 20:26:35 +02:00
x509_vfy.c add X509_cmp_timeframe() including its documentation 2019-12-04 15:17:55 +00:00
x509_vpm.c add X509_cmp_timeframe() including its documentation 2019-12-04 15:17:55 +00:00
x509cset.c Update source files for pre-3.0 deprecation 2019-11-07 11:37:25 +01:00
x509name.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x509rset.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x509spki.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509type.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x_all.c X509: Rename X509_set0_sm2_id() and friends 2020-03-15 19:42:04 +01:00
x_attrib.c Reorganize local header files 2019-09-28 20:26:35 +02:00
x_crl.c Reorganize local header files 2019-09-28 20:26:35 +02:00
x_exten.c Reorganize local header files 2019-09-28 20:26:35 +02:00
x_name.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
x_pubkey.c Rethink the EVP_PKEY cache of provider side keys 2020-02-29 05:39:43 +01:00
x_req.c X509: Rename X509_set0_sm2_id() and friends 2020-03-15 19:42:04 +01:00
x_x509.c X509: Rename X509_set0_sm2_id() and friends 2020-03-15 19:42:04 +01:00
x_x509a.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00