Home
last modified time | relevance | path

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

/net-tools-3.5.0/mbedtls-2.4.0/library/
Dssl_cache.c72 cur = cache->chain; in mbedtls_ssl_cache_get()
153 cur = cache->chain; in mbedtls_ssl_cache_set()
207 if( cache->chain == NULL ) in mbedtls_ssl_cache_set()
213 cur = cache->chain; in mbedtls_ssl_cache_set()
214 cache->chain = cur->next; in mbedtls_ssl_cache_set()
232 cache->chain = cur; in mbedtls_ssl_cache_set()
305 cur = cache->chain; in mbedtls_ssl_cache_free()
Dx509_crl.c255 int mbedtls_x509_crl_parse_der( mbedtls_x509_crl *chain, in mbedtls_x509_crl_parse_der() argument
262 mbedtls_x509_crl *crl = chain; in mbedtls_x509_crl_parse_der()
490 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse() argument
498 if( chain == NULL || buf == NULL ) in mbedtls_x509_crl_parse()
525 if( ( ret = mbedtls_x509_crl_parse_der( chain, in mbedtls_x509_crl_parse()
547 return( mbedtls_x509_crl_parse_der( chain, buf, buflen ) ); in mbedtls_x509_crl_parse()
554 int mbedtls_x509_crl_parse_file( mbedtls_x509_crl *chain, const char *path ) in mbedtls_x509_crl_parse_file() argument
563 ret = mbedtls_x509_crl_parse( chain, buf, n ); in mbedtls_x509_crl_parse_file()
Dctr_drbg.c148 unsigned char chain[MBEDTLS_CTR_DRBG_BLOCKSIZE]; in block_cipher_df() local
191 memset( chain, 0, MBEDTLS_CTR_DRBG_BLOCKSIZE ); in block_cipher_df()
197 chain[i] ^= p[i]; in block_cipher_df()
202 mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, chain, chain ); in block_cipher_df()
205 memcpy( tmp + j, chain, MBEDTLS_CTR_DRBG_BLOCKSIZE ); in block_cipher_df()
Dx509_crt.c919 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, const unsigned char *buf, in mbedtls_x509_crt_parse_der() argument
923 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der()
957 if( crt != chain ) in mbedtls_x509_crt_parse_der()
970 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crt_parse() argument
980 if( chain == NULL || buf == NULL ) in mbedtls_x509_crt_parse()
995 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
997 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
1049 ret = mbedtls_x509_crt_parse_der( chain, pem.buf, pem.buflen ); in mbedtls_x509_crt_parse()
1085 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_file() argument
1094 ret = mbedtls_x509_crt_parse( chain, buf, n ); in mbedtls_x509_crt_parse_file()
[all …]
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/
Dx509_crl.h108 int mbedtls_x509_crl_parse_der( mbedtls_x509_crl *chain,
122 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen );
135 int mbedtls_x509_crl_parse_file( mbedtls_x509_crl *chain, const char *path );
Dx509_crt.h173 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, const unsigned char *buf,
191 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen );
207 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path );
222 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path );
Dssl_cache.h77 mbedtls_ssl_cache_entry *chain; /*!< start of the chain */ member
/net-tools-3.5.0/mbedtls-2.4.0/tests/data_files/dir4/
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)
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509parse.function455 mbedtls_x509_crt chain, *cur;
458 mbedtls_x509_crt_init( &chain );
460 TEST_ASSERT( mbedtls_x509_crt_parse_path( &chain, crt_path ) == ret );
463 for( i = 0, cur = &chain; cur != NULL; cur = cur->next )
470 mbedtls_x509_crt_free( &chain );
480 mbedtls_x509_crt trusted, chain;
484 mbedtls_x509_crt_init( &chain );
488 TEST_ASSERT( mbedtls_x509_crt_parse_file( &chain, act ) == 0 );
491 res = mbedtls_x509_crt_verify( &chain, &trusted, NULL, NULL, &flags, NULL, NULL );
498 mbedtls_x509_crt_free( &chain );
Dtest_suite_x509parse.data662 X509 Certificate verification #72 (v1 chain)
664 x509_verify:"data_files/server2-v1-chain.crt":"data_files/test-ca-v1.crt":"data_files/crl.pem":"NUL…
1177 X509 CRT verify chain #1 (zero pathlen intermediate)
1181 X509 CRT verify chain #2 (zero pathlen root)
1185 X509 CRT verify chain #3 (nonzero pathlen root)
1189 X509 CRT verify chain #4 (nonzero pathlen intermediate)
1193 X509 CRT verify chain #5 (nonzero maxpathlen intermediate)
1197 X509 CRT verify chain #6 (nonzero maxpathlen root)
1201 X509 CRT verify chain #7 (maxpathlen root, self signed in path)
1205 X509 CRT verify chain #8 (self signed maxpathlen root)
[all …]
/net-tools-3.5.0/mbedtls-2.4.0/tests/data_files/
DReadme-x509.txt28 server2-v1*.crt: EE cert (without of with chain in same file)
/net-tools-3.5.0/libcoap/examples/
Dcoap-client.txt.in41 chain will start at block 'num'. When the server includes a Block2
/net-tools-3.5.0/mbedtls-2.4.0/
DChangeLog320 * When verifying a certificate chain, if an intermediate certificate is
477 chain verification.
629 length of an X.509 verification chain.
852 This affects certificates in the user-supplied chain except the top
853 certificate. If the user-supplied chain contains only one certificates,
1167 length of an X.509 verification chain (default = 8).
1355 information (not the entire chain)
1755 + Added verification callback on certificate chain
1820 certificate in the chain in ssl_write_certificate() and