Home
last modified time | relevance | path

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

/mbedtls-3.5.0/library/
Dmd5.c221 uint32_t left; in mbedtls_md5_update() local
227 left = ctx->total[0] & 0x3F; in mbedtls_md5_update()
228 fill = 64 - left; in mbedtls_md5_update()
237 if (left && ilen >= fill) { in mbedtls_md5_update()
238 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_md5_update()
245 left = 0; in mbedtls_md5_update()
258 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_md5_update()
Dhmac_drbg.c325 size_t left = out_len; in mbedtls_hmac_drbg_random_with_add() local
358 while (left != 0) { in mbedtls_hmac_drbg_random_with_add()
359 size_t use_len = left > md_len ? md_len : left; in mbedtls_hmac_drbg_random_with_add()
374 left -= use_len; in mbedtls_hmac_drbg_random_with_add()
Dripemd160.c284 uint32_t left; in mbedtls_ripemd160_update() local
290 left = ctx->total[0] & 0x3F; in mbedtls_ripemd160_update()
291 fill = 64 - left; in mbedtls_ripemd160_update()
300 if (left && ilen >= fill) { in mbedtls_ripemd160_update()
301 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_ripemd160_update()
309 left = 0; in mbedtls_ripemd160_update()
322 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_ripemd160_update()
Dsha1.c256 uint32_t left; in mbedtls_sha1_update() local
262 left = ctx->total[0] & 0x3F; in mbedtls_sha1_update()
263 fill = 64 - left; in mbedtls_sha1_update()
272 if (left && ilen >= fill) { in mbedtls_sha1_update()
273 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha1_update()
281 left = 0; in mbedtls_sha1_update()
294 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_sha1_update()
Dsha256.c614 uint32_t left; in mbedtls_sha256_update() local
620 left = ctx->total[0] & 0x3F; in mbedtls_sha256_update()
621 fill = SHA256_BLOCK_SIZE - left; in mbedtls_sha256_update()
630 if (left && ilen >= fill) { in mbedtls_sha256_update()
631 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha256_update()
639 left = 0; in mbedtls_sha256_update()
654 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_sha256_update()
Dsha512.c764 unsigned int left; in mbedtls_sha512_update() local
770 left = (unsigned int) (ctx->total[0] & 0x7F); in mbedtls_sha512_update()
771 fill = SHA512_BLOCK_SIZE - left; in mbedtls_sha512_update()
779 if (left && ilen >= fill) { in mbedtls_sha512_update()
780 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha512_update()
788 left = 0; in mbedtls_sha512_update()
803 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_sha512_update()
/mbedtls-3.5.0/programs/pkey/
Dgen_key.c47 size_t ret, left = len; in dev_random_entropy_poll() local
58 while (left > 0) { in dev_random_entropy_poll()
60 ret = fread(p, 1, left, file); in dev_random_entropy_poll()
67 left -= ret; in dev_random_entropy_poll()
/mbedtls-3.5.0/visualc/VS2013/
D.gitignore5 # Files that may be left over from check-generated-files.sh
/mbedtls-3.5.0/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_aes.function7 * be initialized, and are left freed.
Dtest_suite_ecdsa.function110 /* Fix rnd_buf->x by shifting it left if necessary */
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.function503 /* 20 left, ask for 70 -> 50 overhead */
/mbedtls-3.5.0/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-3.5.0/docs/architecture/psa-migration/
Dpsa-limitations.md93 - a trailer field - the value is fixed to 0xBC by PKCS#1 v2.1, but was left
/mbedtls-3.5.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja1683 /* Nothing left to try if we fall through here */
/mbedtls-3.5.0/
DChangeLog400 when both operands are 0 and the left operand is represented with 0 limbs.
549 potentially left in memory after file operations. Reported by