Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 37) sorted by relevance

12

/mbedtls-latest/library/
Dtiming.c75 LARGE_INTEGER now, hfreq; in mbedtls_timing_get_timer() local
76 QueryPerformanceCounter(&now); in mbedtls_timing_get_timer()
78 delta = (unsigned long) ((now.QuadPart - t->start.QuadPart) * 1000ul in mbedtls_timing_get_timer()
95 struct timeval now; in mbedtls_timing_get_timer() local
96 gettimeofday(&now, NULL); in mbedtls_timing_get_timer()
97 delta = (now.tv_sec - t->start.tv_sec) * 1000ul in mbedtls_timing_get_timer()
98 + (now.tv_usec - t->start.tv_usec) / 1000; in mbedtls_timing_get_timer()
Dx509.c1053 int mbedtls_x509_time_gmtime(mbedtls_time_t tt, mbedtls_x509_time *now) in mbedtls_x509_time_gmtime() argument
1061 now->year = tm.tm_year + 1900; in mbedtls_x509_time_gmtime()
1062 now->mon = tm.tm_mon + 1; in mbedtls_x509_time_gmtime()
1063 now->day = tm.tm_mday; in mbedtls_x509_time_gmtime()
1064 now->hour = tm.tm_hour; in mbedtls_x509_time_gmtime()
1065 now->min = tm.tm_min; in mbedtls_x509_time_gmtime()
1066 now->sec = tm.tm_sec; in mbedtls_x509_time_gmtime()
1070 static int x509_get_current_time(mbedtls_x509_time *now) in x509_get_current_time() argument
1072 return mbedtls_x509_time_gmtime(mbedtls_time(NULL), now); in x509_get_current_time()
1077 mbedtls_x509_time now; in mbedtls_x509_time_is_past() local
[all …]
Dx509_crt.c2013 const mbedtls_x509_time *now) in x509_crt_verifycrl() argument
2095 if (mbedtls_x509_time_cmp(&crl_list->next_update, now) < 0) { in x509_crt_verifycrl()
2099 if (mbedtls_x509_time_cmp(&crl_list->this_update, now) > 0) { in x509_crt_verifycrl()
2103 ((void) now); in x509_crt_verifycrl()
2263 const mbedtls_x509_time *now) in x509_crt_find_parent_in() argument
2328 if (mbedtls_x509_time_cmp(&parent->valid_to, now) < 0 || /* past */ in x509_crt_find_parent_in()
2329 mbedtls_x509_time_cmp(&parent->valid_from, now) > 0) { /* future */ in x509_crt_find_parent_in()
2338 ((void) now); in x509_crt_find_parent_in()
2386 const mbedtls_x509_time *now) in x509_crt_find_parent() argument
2407 path_cnt, self_cnt, rs_ctx, now); in x509_crt_find_parent()
[all …]
Dssl_client.c754 mbedtls_ms_time_t now = mbedtls_ms_time(); in ssl_prepare_client_hello() local
755 mbedtls_ms_time_t age = now - session_negotiate->ticket_reception_time; in ssl_prepare_client_hello()
Dssl_tls13_server.c193 mbedtls_ms_time_t now; in ssl_tls13_offered_psks_check_identity_match_ticket() local
261 now = mbedtls_ms_time(); in ssl_tls13_offered_psks_check_identity_match_ticket()
263 if (now < session->ticket_creation_time) { in ssl_tls13_offered_psks_check_identity_match_ticket()
267 now, session->ticket_creation_time)); in ssl_tls13_offered_psks_check_identity_match_ticket()
271 server_age = now - session->ticket_creation_time; in ssl_tls13_offered_psks_check_identity_match_ticket()
Dssl_tls13_client.c932 mbedtls_ms_time_t now = mbedtls_ms_time(); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() local
939 (uint32_t) (now - session->ticket_reception_time); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext()
/mbedtls-latest/docs/
D3.0-migration-guide.md48 …his has moved to `include/mbedtls/build_info.h`. From C code, both headers now define the `MBEDTLS…
62 ### Most structure fields are now private
82 If you were relying on these functions, you'll now need to change to using your
88 include `mbedtls/net_sockets.h` which now should be included directly.
201 The option `MBEDTLS_ECP_FIXED_POINT_OPTIM` now increases code size and it does
223 `MBEDTLS_SHA512_NO_SHA384` was disabled by default, now `MBEDTLS_SHA384_C` is
234 The GCM module now supports arbitrary chunked input in the multipart interface.
238 * `mbedtls_gcm_starts()` now only sets the mode and the nonce (IV). Call the new function `mbedtls_…
239 * `mbedtls_gcm_update()` now takes an extra parameter to indicate the actual output length. In Mbed…
242 * `mbedtls_gcm_finish()` now takes an extra output buffer for the last partial block. This is neede…
[all …]
Ddriver-only-builds.md56 For now, only the following (families of) mechanisms are supported:
62 (for now, only crypto, no X.509 or TLS support).
302 Unlike other mechanisms, for now in configurations with driver-only RSA, only
Duse-psa-crypto.md122 This function only worked for a small number of ciphers. It is now deprecated
/mbedtls-latest/
DChangeLog28 * A TLS handshake may now call psa_crypto_init() if TLS 1.3 is enabled.
31 * By default, the handling of TLS 1.3 tickets by the Mbed TLS client is now
33 signalled by MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET return values now
116 * MBEDTLS_ASN1_PARSE_C and MBEDTLS_ASN1_WRITE_C are now automatically enabled
205 * psa_import_key() now only accepts RSA keys in the PSA standard formats.
238 * AES-NI is now supported in Windows builds with clang and clang-cl.
249 * If a cipher or AEAD mechanism has a PSA driver, you can now build the
256 * The CTR_DRBG module will now use AES from a PSA driver if MBEDTLS_AES_C is
262 MBEDTLS_PSA_CRYPTO can now be enabled without MBEDTLS_CIPHER_C if all
287 with PKCS#5 PBES2. Keys encrypted this way can now be parsed by PK parse.
[all …]
DCMakeLists.txt19 # We specify a minimum requirement of 3.10.2, but for now use 3.5.1 here
133 # We now potentially need to link all executables against PThreads, if available
/mbedtls-latest/tests/scripts/
Dlist-identifiers.sh52 check_names.py and is now self-complete.
/mbedtls-latest/programs/test/cmake_package/
DCMakeLists.txt32 # At this point, the Mbed TLS targets should have been imported, and we can now
/mbedtls-latest/programs/test/cmake_package_install/
DCMakeLists.txt35 # At this point, the Mbed TLS targets should have been imported, and we can now
/mbedtls-latest/scripts/
Dwindows_msbuild.bat6 @rem These parameters are hard-coded for now.
/mbedtls-latest/programs/ssl/
DCMakeLists.txt24 # propagate this information across the tree, for now it's only visible
/mbedtls-latest/include/mbedtls/
Dx509.h397 int mbedtls_x509_time_gmtime(mbedtls_time_t tt, mbedtls_x509_time *now);
/mbedtls-latest/docs/architecture/psa-thread-safety/
Dpsa-thread-safety.md13 - `global_data` variables in `psa_crypto.c` and `psa_crypto_slot_management.c` are now protected by…
14 - The testing system has now been made thread-safe. Tests can now spin up multiple threads, see [Th…
244 …zation point for a successful destruction is the mutex unlock, the slot is now in the state `PSA_S…
255 It is now possible for individual tests to spin up multiple threads. This work has made the global …
325 …gister_read` can wipe the key slot will need to be removed, slot wiping is now only done by the de…
365 …uarantees would be useful and feasible. Therefore, we don't provide any further guarantees for now.
/mbedtls-latest/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md302 We now need to create an abstraction for mixed-domain hash calculation. (We could not create an abs…
350 - Support for CBC ciphersuites in TLS. (They've been recommended against for a while now.)
439 for now this is out of scope.
448 …tain either a legacy module's context (or a pointer to one, as is the case now), or a PSA context …
495 The job of this private function is to return 1 if `hash_alg` can be performed through PSA now, and…
525 …TO_CONFIG` is disabled, this is already the case. When is enabled, we will now make it so as well.…
610 The job of this private function is to return 1 if `hash_alg` can be performed through PSA now, and…
/mbedtls-latest/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers_no_static.c.jinja4 * Warning: This file is now auto-generated.
/mbedtls-latest/tests/suites/
Dtest_suite_lmots.function211 /* Running another sign operation should fail, since the key should now have
Dtest_suite_psa_crypto_slot_management.function200 /* Test that the key is now invalid. */
347 * Test that the key handle and identifier are now not referring to an
1135 * Check that we can now access the persistent key again.
Dtest_suite_x509write.function717 * mbedtls_x509_get_name(). Accept it for now. */
725 * mbedtls_x509_dn_gets(). Accept it for now. */
Dtest_suite_hmac_drbg.function222 /* And now the normal entropy-based variant */
Dtest_suite_pkparse.function57 * For now, for such keys, treat not-supported from PSA as a success.

12