Home
last modified time | relevance | path

Searched refs:asn1_len (Results 1 – 4 of 4) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_asn1write.function21 size_t str_len, asn1_len, i;
27 asn1_len = unhexify( asn1, hex_asn1 );
42 TEST_ASSERT( (size_t) ret == asn1_len );
43 TEST_ASSERT( p + asn1_len == buf + GUARD_LEN + buf_len );
45 TEST_ASSERT( memcmp( p, asn1, asn1_len ) == 0 );
57 size_t str_len, asn1_len, i;
63 asn1_len = unhexify( asn1, hex_asn1 );
78 TEST_ASSERT( (size_t) ret == asn1_len );
79 TEST_ASSERT( p + asn1_len == buf + GUARD_LEN + buf_len );
81 TEST_ASSERT( memcmp( p, asn1, asn1_len ) == 0 );
[all …]
/net-tools-latest/mbedtls-2.4.0/library/
Doid.c64 if( cur->asn1_len == oid->len && \
126 *olen = cur->descriptor.asn1_len; \
147 *olen = cur->descriptor.asn1_len; \
Drsa.c1339 size_t len, siglen, asn1_len; in mbedtls_rsa_rsassa_pkcs1_v15_verify() local
1394 if( ( ret = mbedtls_asn1_get_tag( &p, end, &asn1_len, in mbedtls_rsa_rsassa_pkcs1_v15_verify()
1398 if( asn1_len + 2 != len ) in mbedtls_rsa_rsassa_pkcs1_v15_verify()
1401 if( ( ret = mbedtls_asn1_get_tag( &p, end, &asn1_len, in mbedtls_rsa_rsassa_pkcs1_v15_verify()
1405 if( asn1_len + 6 + hashlen != len ) in mbedtls_rsa_rsassa_pkcs1_v15_verify()
1423 if( ( ret = mbedtls_asn1_get_tag( &p, end, &asn1_len, MBEDTLS_ASN1_NULL ) ) != 0 ) in mbedtls_rsa_rsassa_pkcs1_v15_verify()
1426 if( ( ret = mbedtls_asn1_get_tag( &p, end, &asn1_len, MBEDTLS_ASN1_OCTET_STRING ) ) != 0 ) in mbedtls_rsa_rsassa_pkcs1_v15_verify()
1429 if( asn1_len != hashlen ) in mbedtls_rsa_rsassa_pkcs1_v15_verify()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Doid.h384 size_t asn1_len; /*!< length of asn1 */ member