Home
last modified time | relevance | path

Searched refs:bytes_to_copy (Results 1 – 2 of 2) sorted by relevance

/mbedtls-3.4.0/library/
Dbignum_core.c247 size_t bytes_to_copy; in mbedtls_mpi_core_write_le() local
251 bytes_to_copy = stored_bytes; in mbedtls_mpi_core_write_le()
255 bytes_to_copy = output_length; in mbedtls_mpi_core_write_le()
259 for( size_t i = bytes_to_copy; i < stored_bytes; i++ ) in mbedtls_mpi_core_write_le()
266 for( size_t i = 0; i < bytes_to_copy; i++ ) in mbedtls_mpi_core_write_le()
284 size_t bytes_to_copy; in mbedtls_mpi_core_write_be() local
296 bytes_to_copy = stored_bytes; in mbedtls_mpi_core_write_be()
304 bytes_to_copy = output_length; in mbedtls_mpi_core_write_be()
306 for( size_t i = bytes_to_copy; i < stored_bytes; i++ ) in mbedtls_mpi_core_write_be()
313 for( size_t i = 0; i < bytes_to_copy; i++ ) in mbedtls_mpi_core_write_be()
[all …]
Dpsa_crypto_cipher.c319 size_t bytes_to_copy = block_size - ctx->unprocessed_len; in psa_cipher_update_ecb() local
321 if( input_length < bytes_to_copy ) in psa_cipher_update_ecb()
322 bytes_to_copy = input_length; in psa_cipher_update_ecb()
325 input, bytes_to_copy ); in psa_cipher_update_ecb()
326 input_length -= bytes_to_copy; in psa_cipher_update_ecb()
327 input += bytes_to_copy; in psa_cipher_update_ecb()
328 ctx->unprocessed_len += bytes_to_copy; in psa_cipher_update_ecb()