Home
last modified time | relevance | path

Searched refs:left (Results 1 – 21 of 21) sorted by relevance

/mbedtls-latest/programs/test/
Dmetatest.c87 int left = 20; in meta_test_not_equal() local
92 TEST_EQUAL(left, right); in meta_test_not_equal()
99 int left = 20; in meta_test_not_le_s() local
104 TEST_LE_S(left, right); in meta_test_not_le_s()
111 size_t left = 20; in meta_test_not_le_u() local
116 TEST_LE_U(left, right); in meta_test_not_le_u()
/mbedtls-latest/library/
Dmd5.c209 uint32_t left; in mbedtls_md5_update() local
215 left = ctx->total[0] & 0x3F; in mbedtls_md5_update()
216 fill = 64 - left; in mbedtls_md5_update()
225 if (left && ilen >= fill) { in mbedtls_md5_update()
226 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_md5_update()
233 left = 0; in mbedtls_md5_update()
246 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_md5_update()
Dhmac_drbg.c313 size_t left = out_len; in mbedtls_hmac_drbg_random_with_add() local
346 while (left != 0) { in mbedtls_hmac_drbg_random_with_add()
347 size_t use_len = left > md_len ? md_len : left; in mbedtls_hmac_drbg_random_with_add()
362 left -= use_len; in mbedtls_hmac_drbg_random_with_add()
Dripemd160.c272 uint32_t left; in mbedtls_ripemd160_update() local
278 left = ctx->total[0] & 0x3F; in mbedtls_ripemd160_update()
279 fill = 64 - left; in mbedtls_ripemd160_update()
288 if (left && ilen >= fill) { in mbedtls_ripemd160_update()
289 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_ripemd160_update()
297 left = 0; in mbedtls_ripemd160_update()
310 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_ripemd160_update()
Dsha1.c244 uint32_t left; in mbedtls_sha1_update() local
250 left = ctx->total[0] & 0x3F; in mbedtls_sha1_update()
251 fill = 64 - left; in mbedtls_sha1_update()
260 if (left && ilen >= fill) { in mbedtls_sha1_update()
261 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha1_update()
269 left = 0; in mbedtls_sha1_update()
282 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_sha1_update()
Dsha256.c651 uint32_t left; in mbedtls_sha256_update() local
657 left = ctx->total[0] & 0x3F; in mbedtls_sha256_update()
658 fill = SHA256_BLOCK_SIZE - left; in mbedtls_sha256_update()
667 if (left && ilen >= fill) { in mbedtls_sha256_update()
668 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha256_update()
676 left = 0; in mbedtls_sha256_update()
691 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_sha256_update()
Dsha512.c766 unsigned int left; in mbedtls_sha512_update() local
772 left = (unsigned int) (ctx->total[0] & 0x7F); in mbedtls_sha512_update()
773 fill = SHA512_BLOCK_SIZE - left; in mbedtls_sha512_update()
781 if (left && ilen >= fill) { in mbedtls_sha512_update()
782 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha512_update()
790 left = 0; in mbedtls_sha512_update()
805 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_sha512_update()
/mbedtls-latest/programs/pkey/
Dgen_key.c46 size_t ret, left = len; in dev_random_entropy_poll() local
57 while (left > 0) { in dev_random_entropy_poll()
59 ret = fread(p, 1, left, file); in dev_random_entropy_poll()
66 left -= ret; in dev_random_entropy_poll()
/mbedtls-latest/visualc/VS2017/
D.gitignore1 # Files that may be left over from check-generated-files.sh
/mbedtls-latest/tests/suites/
Dtest_suite_ecdh.function128 /* Fix rnd_buf_A->x by shifting it left if necessary */
146 /* Fix rnd_buf_B->x by shifting it left if necessary */
Dtest_suite_ecdsa.function104 /* Fix rnd_buf->x by shifting it left if necessary */
Dtest_suite_aes.function7 * be initialized, and are left freed.
Dtest_suite_bignum_core.function10 * \param[in] A Little-endian presentation of the left operand.
86 * \param[in] A Little-endian presentation of the left operand.
Dtest_suite_mps.function517 /* 20 left, ask for 70 -> 50 overhead */
Dtest_suite_ecp.function1760 /*Borrow the buffer of A to compare the left lims with 0 */
/mbedtls-latest/docs/architecture/testing/
Dinvasive-testing.md308 Goal: test that no stray files are left over in the key store after a test that succeeded.
314 Goal: ensure that no stray files are left over in the key store even if a test has failed (as that …
/mbedtls-latest/docs/architecture/psa-migration/
Dpsa-limitations.md101 - a trailer field - the value is fixed to 0xBC by PKCS#1 v2.1, but was left
/mbedtls-latest/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja1574 /* Nothing left to try if we fall through here */
/mbedtls-latest/docs/architecture/
Dpsa-storage-resilience.md156 …_attributes"` entry point. Recovery means resuming the operation where it left off. For key creati…
Dpsa-shared-memory.md674 Auto-detection and memory-poisoning with Valgrind is left for future work.
/mbedtls-latest/
DChangeLog1176 when both operands are 0 and the left operand is represented with 0 limbs.
1325 potentially left in memory after file operations. Reported by