Home
last modified time | relevance | path

Searched refs:chain (Results 1 – 18 of 18) sorted by relevance

/mbedtls-development/library/
A Dssl_cache.c64 for( cur = cache->chain; cur != NULL; cur = cur->next ) in ssl_cache_find_entry()
149 for( cur = cache->chain; cur != NULL; cur = cur->next ) in ssl_cache_pick_writing_slot()
168 for( cur = cache->chain; cur != NULL; cur = cur->next ) in ssl_cache_pick_writing_slot()
195 cache->chain = cur; in ssl_cache_pick_writing_slot()
215 if( cache->chain == NULL ) in ssl_cache_pick_writing_slot()
218 old = cache->chain; in ssl_cache_pick_writing_slot()
219 cache->chain = old->next; in ssl_cache_pick_writing_slot()
340 cur = cache->chain; in mbedtls_ssl_cache_free()
354 cache->chain = NULL; in mbedtls_ssl_cache_free()
A Dctr_drbg.c132 unsigned char chain[MBEDTLS_CTR_DRBG_BLOCKSIZE]; in block_cipher_df() local
178 memset( chain, 0, MBEDTLS_CTR_DRBG_BLOCKSIZE ); in block_cipher_df()
184 chain[i] ^= p[i]; in block_cipher_df()
190 chain, chain ) ) != 0 ) in block_cipher_df()
196 memcpy( tmp + j, chain, MBEDTLS_CTR_DRBG_BLOCKSIZE ); in block_cipher_df()
233 mbedtls_platform_zeroize( chain, sizeof( chain ) ); in block_cipher_df()
A Dx509_crl.c295 int mbedtls_x509_crl_parse_der( mbedtls_x509_crl *chain, in mbedtls_x509_crl_parse_der() argument
302 mbedtls_x509_crl *crl = chain; in mbedtls_x509_crl_parse_der()
534 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse() argument
542 if( chain == NULL || buf == NULL ) in mbedtls_x509_crl_parse()
569 if( ( ret = mbedtls_x509_crl_parse_der( chain, in mbedtls_x509_crl_parse()
592 return( mbedtls_x509_crl_parse_der( chain, buf, buflen ) ); in mbedtls_x509_crl_parse()
599 int mbedtls_x509_crl_parse_file( mbedtls_x509_crl *chain, const char *path ) in mbedtls_x509_crl_parse_file() argument
608 ret = mbedtls_x509_crl_parse( chain, buf, n ); in mbedtls_x509_crl_parse_file()
A Dx509_crt.c1356 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1391 if( crt != chain ) in mbedtls_x509_crt_parse_der_internal()
1400 int mbedtls_x509_crt_parse_der_nocopy( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy() argument
1417 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der() argument
1428 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse() argument
1440 if( chain == NULL || buf == NULL ) in mbedtls_x509_crt_parse()
1455 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
1457 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
1554 ret = mbedtls_x509_crt_parse( chain, buf, n ); in mbedtls_x509_crt_parse_file()
1612 w_ret = mbedtls_x509_crt_parse_file( chain, filename ); in mbedtls_x509_crt_parse_path()
[all …]
A Dssl_tls.c2051 chain, in ssl_parse_certificate_verify()
2082 chain, in ssl_parse_certificate_verify()
2262 mbedtls_x509_crt *chain = NULL; in mbedtls_ssl_parse_certificate() local
2308 if( chain == NULL ) in mbedtls_ssl_parse_certificate()
2349 crt_start = chain->raw.p; in mbedtls_ssl_parse_certificate()
2358 mbedtls_free( chain ); in mbedtls_ssl_parse_certificate()
2359 chain = NULL; in mbedtls_ssl_parse_certificate()
2372 chain = NULL; in mbedtls_ssl_parse_certificate()
2386 chain = NULL; in mbedtls_ssl_parse_certificate()
2390 if( chain != NULL ) in mbedtls_ssl_parse_certificate()
[all …]
/mbedtls-development/include/mbedtls/
A Dx509_crl.h119 int mbedtls_x509_crl_parse_der( mbedtls_x509_crl *chain,
133 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen );
146 int mbedtls_x509_crl_parse_file( mbedtls_x509_crl *chain, const char *path );
A Dx509_crt.h415 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain,
496 int mbedtls_x509_crt_parse_der_with_ext_cb( mbedtls_x509_crt *chain,
530 int mbedtls_x509_crt_parse_der_nocopy( mbedtls_x509_crt *chain,
564 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen );
580 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path );
595 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path );
A Dssl_cache.h82 mbedtls_ssl_cache_entry *MBEDTLS_PRIVATE(chain); /*!< start of the chain */
/mbedtls-development/tests/data_files/dir4/
A DReadme23 5. nonzero pathlen constraint on an intermediate CA with maximum number of elements in the chain (v…
28 6. nonzero pathlen constraint on the root CA with maximum number of elements in the chain (valid)
33 … on the root CA with maximum number of elements and a self signed certificate in the chain (valid)
34 …tes issued before the integration will have an intermadiate self signed certificate in their chain)
/mbedtls-development/tests/data_files/dir-maxpath/
A DReadme.txt1 These certificates form a very long chain, used to test the
8 File cNN.pem contains the chain NN.crt to 00.crt.
/mbedtls-development/tests/suites/
A Dtest_suite_x509parse.function1019 mbedtls_x509_crt chain, *cur;
1022 mbedtls_x509_crt_init( &chain );
1027 for( i = 0, cur = &chain; cur != NULL; cur = cur->next )
1034 mbedtls_x509_crt_free( &chain );
1045 mbedtls_x509_crt trusted, chain;
1053 mbedtls_x509_crt_init( &chain );
1067 /* Try to verify that chain */
1074 mbedtls_x509_crt_free( &chain );
1088 mbedtls_x509_crt trusted, chain;
1091 mbedtls_x509_crt_init( &chain );
[all …]
A Dtest_suite_x509parse.data498 X509 CRT verification #8d (Future Cert, longer chain)
762 X509 CRT verification #72 (v1 chain)
2167 X509 CRT verify long chain (max intermediate CA + 1)
2171 X509 CRT verify chain #1 (zero pathlen intermediate)
2175 X509 CRT verify chain #2 (zero pathlen root)
2179 X509 CRT verify chain #3 (nonzero pathlen root)
2191 X509 CRT verify chain #6 (nonzero maxpathlen root)
2207 X509 CRT verify chain #10 (zero pathlen root, valid)
2211 X509 CRT verify chain #11 (valid chain, missing profile)
2215 X509 CRT verify chain #12 (suiteb profile, RSA root)
[all …]
/mbedtls-development/tests/data_files/
A DReadme-x509.txt32 server2-v1*.crt: EE cert (without of with chain in same file)
/mbedtls-development/scripts/mbedtls_dev/
A Dmacro_collector.py212 return itertools.chain(*(
/mbedtls-development/docs/
A Duse-psa-crypto.md149 - when verifying a certificate chain, hash of the child for verifying the
/mbedtls-development/programs/
A DREADME.md109 * [`x509/cert_app.c`](x509/cert_app.c): connects to a TLS server and verifies its certificate chain.
/mbedtls-development/docs/architecture/
A Dalternative-implementations.md54 …k of an inner function and then copy the context upwards through the call chain, or applications w…
/mbedtls-development/
A DChangeLog1451 the peer CRT chain and session ticket twice.
2375 callback) or chain length limitations.
2450 * Accept empty trusted CA chain in authentication mode
2534 traversing a chain of trusted CA. The issue would cause both flags,
3058 chain verification.
3210 length of an X.509 verification chain.
3433 This affects certificates in the user-supplied chain except the top
3748 length of an X.509 verification chain (default = 8).
3936 information (not the entire chain)
4336 + Added verification callback on certificate chain
[all …]

Completed in 876 milliseconds