Searched refs:copy_len (Results 1 – 2 of 2) sorted by relevance
110 size_t copy_len = 0; in hw_get_random_bytes() local158 copy_len = MIN(remaining, sizeof(uint32_t)); in hw_get_random_bytes()159 memcpy((uint8_t *)buf + (blen - remaining), &rnd, copy_len); in hw_get_random_bytes()160 remaining -= copy_len; in hw_get_random_bytes()
691 size_t copy_len = 0; in mbedtls_cipher_update() local713 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update()716 copy_len); in mbedtls_cipher_update()731 input += copy_len; in mbedtls_cipher_update()732 ilen -= copy_len; in mbedtls_cipher_update()743 copy_len = ilen % block_size; in mbedtls_cipher_update()744 if (copy_len == 0 && in mbedtls_cipher_update()747 copy_len = block_size; in mbedtls_cipher_update()750 memcpy(ctx->unprocessed_data, &(input[ilen - copy_len]), in mbedtls_cipher_update()751 copy_len); in mbedtls_cipher_update()[all …]