/third_party/mbedtls/library/ |
H A D | x509_crl.c | 380 (ret = mbedtls_x509_get_alg(&p, end, &crl->sig_oid, &sig_params1)) != 0) { in mbedtls_x509_crl_parse_der() 392 if ((ret = mbedtls_x509_get_sig_alg(&crl->sig_oid, &sig_params1, in mbedtls_x509_crl_parse_der() 479 if (crl->sig_oid.len != sig_oid2.len || in mbedtls_x509_crl_parse_der() 480 memcmp(crl->sig_oid.p, sig_oid2.p, crl->sig_oid.len) != 0 || in mbedtls_x509_crl_parse_der() 655 ret = mbedtls_x509_sig_alg_gets(p, n, &crl->sig_oid, crl->sig_pk, crl->sig_md, in mbedtls_x509_crl_info()
|
H A D | x509_internal.h | 36 int mbedtls_x509_get_sig_alg(const mbedtls_x509_buf *sig_oid, const mbedtls_x509_buf *sig_params, 46 int mbedtls_x509_sig_alg_gets(char *buf, size_t size, const mbedtls_x509_buf *sig_oid,
|
H A D | x509write_csr.c | 138 const char *sig_oid; in x509write_csr_der_internal() local 243 &sig_oid, &sig_oid_len)) != 0) { in x509write_csr_der_internal() 260 mbedtls_x509_write_sig(&c2, buf + len, sig_oid, sig_oid_len, in x509write_csr_der_internal()
|
H A D | x509write_crt.c | 421 const char *sig_oid; in mbedtls_x509write_crt_der() local 455 &sig_oid, &sig_oid_len)) != 0) { in mbedtls_x509write_crt_der() 539 sig_oid, strlen(sig_oid), in mbedtls_x509write_crt_der() 632 sig_oid, sig_oid_len, in mbedtls_x509write_crt_der()
|
H A D | x509_csr.c | 405 if ((ret = mbedtls_x509_get_alg(&p, end, &csr->sig_oid, &sig_params)) != 0) { in mbedtls_x509_csr_parse_der_internal() 410 if ((ret = mbedtls_x509_get_sig_alg(&csr->sig_oid, &sig_params, in mbedtls_x509_csr_parse_der_internal() 551 ret = mbedtls_x509_sig_alg_gets(p, n, &csr->sig_oid, csr->sig_pk, csr->sig_md, in mbedtls_x509_csr_info()
|
H A D | x509.c | 717 int mbedtls_x509_get_sig_alg(const mbedtls_x509_buf *sig_oid, const mbedtls_x509_buf *sig_params, in mbedtls_x509_get_sig_alg() argument 727 if ((ret = mbedtls_oid_get_sig_alg(sig_oid, md_alg, pk_alg)) != 0) { in mbedtls_x509_get_sig_alg() 978 int mbedtls_x509_sig_alg_gets(char *buf, size_t size, const mbedtls_x509_buf *sig_oid, in mbedtls_x509_sig_alg_gets() argument 987 ret = mbedtls_oid_get_sig_alg_desc(sig_oid, &desc); in mbedtls_x509_sig_alg_gets()
|
H A D | x509_crt.c | 1153 (ret = mbedtls_x509_get_alg(&p, end, &crt->sig_oid, in x509_crt_parse_der_core() 1166 if ((ret = mbedtls_x509_get_sig_alg(&crt->sig_oid, &sig_params1, in x509_crt_parse_der_core() 1283 if (crt->sig_oid.len != sig_oid2.len || in x509_crt_parse_der_core() 1284 memcmp(crt->sig_oid.p, sig_oid2.p, crt->sig_oid.len) != 0 || in x509_crt_parse_der_core() 1804 ret = mbedtls_x509_sig_alg_gets(p, n, &crt->sig_oid, crt->sig_pk, in mbedtls_x509_crt_info()
|
/third_party/openssl/test/ |
H A D | algorithmid_test.c | 113 const ASN1_OBJECT *sig_oid = NULL; in test_x509_sig_aid() local 132 X509_ALGOR_get0(&sig_oid, NULL, NULL, alg); in test_x509_sig_aid() 135 if (!TEST_int_ne(sig_nid = OBJ_obj2nid(sig_oid), NID_undef) in test_x509_sig_aid()
|
/third_party/mbedtls/include/mbedtls/ |
H A D | x509_crl.h | 81 mbedtls_x509_buf sig_oid; /**< CRL signature type identifier */ member
|
H A D | x509_csr.h | 55 mbedtls_x509_buf sig_oid; member
|
H A D | x509_crt.h | 49 mbedtls_x509_buf sig_oid; /**< Signature algorithm, e.g. sha1RSA */ member
|