Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 8 of 8) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/library/
Dasn1parse.c293 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params ) in mbedtls_asn1_get_alg() argument
305 alg->tag = **p; in mbedtls_asn1_get_alg()
308 if( ( ret = mbedtls_asn1_get_tag( p, end, &alg->len, MBEDTLS_ASN1_OID ) ) != 0 ) in mbedtls_asn1_get_alg()
311 alg->p = *p; in mbedtls_asn1_get_alg()
312 *p += alg->len; in mbedtls_asn1_get_alg()
337 mbedtls_asn1_buf *alg ) in mbedtls_asn1_get_alg_null() argument
344 if( ( ret = mbedtls_asn1_get_alg( p, end, alg, &params ) ) != 0 ) in mbedtls_asn1_get_alg_null()
Dx509.c120 mbedtls_x509_buf *alg ) in mbedtls_x509_get_alg_null() argument
124 if( ( ret = mbedtls_asn1_get_alg_null( p, end, alg ) ) != 0 ) in mbedtls_x509_get_alg_null()
134 mbedtls_x509_buf *alg, mbedtls_x509_buf *params ) in mbedtls_x509_get_alg() argument
138 if( ( ret = mbedtls_asn1_get_alg( p, end, alg, params ) ) != 0 ) in mbedtls_x509_get_alg()
154 static int x509_get_hash_alg( const mbedtls_x509_buf *alg, mbedtls_md_type_t *md_alg ) in x509_get_hash_alg() argument
163 if( alg->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in x509_get_hash_alg()
167 p = (unsigned char *) alg->p; in x509_get_hash_alg()
168 end = p + alg->len; in x509_get_hash_alg()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dasn1.h292 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params );
308 mbedtls_asn1_buf *alg );
Dx509.h284 mbedtls_x509_buf *alg );
286 mbedtls_x509_buf *alg, mbedtls_x509_buf *params );
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_pk.data105 Verify ext RSA #6 (PKCS1 v2.1, MGF1 alg != MSG hash alg)
109 Verify ext RSA #7 (PKCS1 v2.1, wrong MGF1 alg != MSG hash alg)
Dtest_suite_pkcs1_v21.data778 RSASSA-PSS Signature verify options #11 (MGF1 alg != MSG hash alg)
782 RSASSA-PSS Signature verify options #12 (MGF1 alg != MSG hash alg, ctx wrong)
786 RSASSA-PSS Signature verify options #13 (MGF1 alg != MSG hash alg, arg wrong)
Dtest_suite_x509parse.data818 X509 Certificate ASN1 (TBSCertificate, correct serial, no alg)
821 X509 Certificate ASN1 (TBSCertificate, correct serial, no alg oid)
824 X509 Certificate ASN1 (TBSCertificate, alg oid no data in sequence)
827 X509 Certificate ASN1 (TBSCertificate, alg with params)
830 X509 Certificate ASN1 (TBSCertificate, correct alg data, no params unknown version)
833 X509 Certificate ASN1 (TBSCertificate, correct alg data, unknown version)
836 X509 Certificate ASN1 (TBSCertificate, correct alg data, length mismatch)
839 X509 Certificate ASN1 (TBSCertificate, correct alg, unknown alg_id)
842 X509 Certificate ASN1 (TBSCertificate, correct alg, specific alg_id)
846 X509 Certificate ASN1 (TBSCertificate, correct alg, unknown specific alg_id)
[all …]
Dtest_suite_x509parse.function18 0xFFFFFFF, /* Any PK alg */