Searched refs:md_oid (Results 1 – 2 of 2) sorted by relevance
/mbedtls-3.7.0/tests/suites/ |
D | test_suite_oid.function | 79 mbedtls_asn1_buf md_oid = { 0, 0, NULL }; 83 md_oid.tag = MBEDTLS_ASN1_OID; 84 md_oid.p = oid->x; 85 md_oid.len = oid->len; 87 ret = mbedtls_oid_get_md_alg(&md_oid, &md_id); 102 mbedtls_asn1_buf md_oid = { 0, 0, NULL }; 106 md_oid.tag = MBEDTLS_ASN1_OID; 107 md_oid.p = oid->x; 108 md_oid.len = oid->len; 110 ret = mbedtls_oid_get_md_hmac(&md_oid, &md_id);
|
/mbedtls-3.7.0/library/ |
D | x509.c | 184 mbedtls_x509_buf md_oid; in x509_get_hash_alg() local 202 md_oid.tag = *p; in x509_get_hash_alg() 204 if ((ret = mbedtls_asn1_get_tag(&p, end, &md_oid.len, MBEDTLS_ASN1_OID)) != 0) { in x509_get_hash_alg() 208 md_oid.p = p; in x509_get_hash_alg() 209 p += md_oid.len; in x509_get_hash_alg() 212 if ((ret = mbedtls_oid_get_md_alg(&md_oid, md_alg)) != 0) { in x509_get_hash_alg()
|