Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: linux-firmware
Upstream-Contact: linux-firmware@kernel.org
Source: https://git.kernel.org/pub/scm/linux/firmware/linux-firmware.git

Files: debian/*
Copyright: 2026 Canonical Ltd.
License: GPL-2+

Files: ar3k/*
 ar5523.bin
 ath3k-1.fw
 ath6k/*
Copyright: 2008-2010, Atheros Communications, Inc.
License: Redistributable-atheros_firmware

Files: ar3k/1020201coex/ramps_0x01020201_26_HighPriority.dfu
 ar3k/AthrBT_0x01020201.dfu
Copyright: 2015, Qualcomm Atheros, Inc.
License: Redistributable-QualcommAtheros_ar3k

Files: ath10k/QCA4019/hw1.0/board-2.bin
 ath10k/QCA4019/hw1.0/firmware-5.bin
 ath10k/QCA4019/hw1.0/notice_ath10k_firmware-5.txt
 ath10k/QCA6174/hw2.1/board-2.bin
 ath10k/QCA6174/hw2.1/board.bin
 ath10k/QCA6174/hw2.1/firmware-5.bin
 ath10k/QCA6174/hw2.1/notice_ath10k_firmware-5.txt
 ath10k/QCA6174/hw3.0/board-2.bin
 ath10k/QCA6174/hw3.0/board.bin
 ath10k/QCA6174/hw3.0/firmware-4.bin
 ath10k/QCA6174/hw3.0/firmware-6.bin
 ath10k/QCA6174/hw3.0/firmware-sdio-6.bin
 ath10k/QCA6174/hw3.0/notice_ath10k_firmware-4.txt
 ath10k/QCA6174/hw3.0/notice_ath10k_firmware-6.txt
 ath10k/QCA6174/hw3.0/notice_ath10k_firmware-sdio-6.txt
 ath10k/QCA9377/hw1.0/board-2.bin
 ath10k/QCA9377/hw1.0/board.bin
 ath10k/QCA9377/hw1.0/firmware-5.bin
 ath10k/QCA9377/hw1.0/firmware-6.bin
 ath10k/QCA9377/hw1.0/firmware-sdio-5.bin
 ath10k/QCA9377/hw1.0/notice_ath10k_firmware-5.txt
 ath10k/QCA9377/hw1.0/notice_ath10k_firmware-6.txt
 ath10k/QCA9377/hw1.0/notice_ath10k_firmware-sdio-5.txt
 ath10k/QCA9887/hw1.0/board.bin
 ath10k/QCA9887/hw1.0/firmware-5.bin
 ath10k/QCA9887/hw1.0/notice_ath10k_firmware-5.txt
 ath10k/QCA9888/hw2.0/board-2.bin
 ath10k/QCA9888/hw2.0/firmware-5.bin
 ath10k/QCA9888/hw2.0/notice_ath10k_firmware-5.txt
 ath10k/QCA988X/hw2.0/board.bin
 ath10k/QCA988X/hw2.0/firmware-4.bin
 ath10k/QCA988X/hw2.0/firmware-5.bin
 ath10k/QCA988X/hw2.0/notice_ath10k_firmware-4.txt
 ath10k/QCA988X/hw2.0/notice_ath10k_firmware-5.txt
 ath10k/QCA9984/hw1.0/board-2.bin
 ath10k/QCA9984/hw1.0/firmware-5.bin
 ath10k/QCA9984/hw1.0/notice_ath10k_firmware-5.txt
 ath10k/QCA99X0/hw2.0/board-2.bin
 ath10k/QCA99X0/hw2.0/firmware-5.bin
 ath10k/QCA99X0/hw2.0/notice_ath10k_firmware-5.txt
 ath10k/WCN3990/hw1.0/board-2.bin
 ath10k/WCN3990/hw1.0/firmware-5.bin
 ath10k/WCN3990/hw1.0/notice.txt_wlanmdsp
 ath10k/WCN3990/hw1.0/wlanmdsp.mbn
 ath11k/IPQ5018/hw1.0/Notice.txt
 ath11k/IPQ5018/hw1.0/board-2.bin
 ath11k/IPQ5018/hw1.0/m3_fw.b00
 ath11k/IPQ5018/hw1.0/m3_fw.b01
 ath11k/IPQ5018/hw1.0/m3_fw.b02
 ath11k/IPQ5018/hw1.0/m3_fw.flist
 ath11k/IPQ5018/hw1.0/m3_fw.mdt
 ath11k/IPQ5018/hw1.0/q6_fw.b00
 ath11k/IPQ5018/hw1.0/q6_fw.b01
 ath11k/IPQ5018/hw1.0/q6_fw.b02
 ath11k/IPQ5018/hw1.0/q6_fw.b03
 ath11k/IPQ5018/hw1.0/q6_fw.b04
 ath11k/IPQ5018/hw1.0/q6_fw.b05
 ath11k/IPQ5018/hw1.0/q6_fw.b07
 ath11k/IPQ5018/hw1.0/q6_fw.b08
 ath11k/IPQ5018/hw1.0/q6_fw.b09
 ath11k/IPQ5018/hw1.0/q6_fw.b10
 ath11k/IPQ5018/hw1.0/q6_fw.b11
 ath11k/IPQ5018/hw1.0/q6_fw.b13
 ath11k/IPQ5018/hw1.0/q6_fw.b14
 ath11k/IPQ5018/hw1.0/q6_fw.flist
 ath11k/IPQ5018/hw1.0/q6_fw.mdt
 ath11k/IPQ6018/hw1.0/Notice.txt
 ath11k/IPQ6018/hw1.0/board-2.bin
 ath11k/IPQ6018/hw1.0/m3_fw.b00
 ath11k/IPQ6018/hw1.0/m3_fw.b01
 ath11k/IPQ6018/hw1.0/m3_fw.b02
 ath11k/IPQ6018/hw1.0/m3_fw.flist
 ath11k/IPQ6018/hw1.0/m3_fw.mdt
 ath11k/IPQ6018/hw1.0/q6_fw.b00
 ath11k/IPQ6018/hw1.0/q6_fw.b01
 ath11k/IPQ6018/hw1.0/q6_fw.b02
 ath11k/IPQ6018/hw1.0/q6_fw.b03
 ath11k/IPQ6018/hw1.0/q6_fw.b04
 ath11k/IPQ6018/hw1.0/q6_fw.b05
 ath11k/IPQ6018/hw1.0/q6_fw.b07
 ath11k/IPQ6018/hw1.0/q6_fw.b08
 ath11k/IPQ6018/hw1.0/q6_fw.flist
 ath11k/IPQ6018/hw1.0/q6_fw.mdt
 ath11k/IPQ8074/hw2.0/Notice.txt
 ath11k/IPQ8074/hw2.0/board-2.bin
 ath11k/IPQ8074/hw2.0/m3_fw.b00
 ath11k/IPQ8074/hw2.0/m3_fw.b01
 ath11k/IPQ8074/hw2.0/m3_fw.b02
 ath11k/IPQ8074/hw2.0/m3_fw.flist
 ath11k/IPQ8074/hw2.0/m3_fw.mdt
 ath11k/IPQ8074/hw2.0/q6_fw.b00
 ath11k/IPQ8074/hw2.0/q6_fw.b01
 ath11k/IPQ8074/hw2.0/q6_fw.b02
 ath11k/IPQ8074/hw2.0/q6_fw.b03
 ath11k/IPQ8074/hw2.0/q6_fw.b04
 ath11k/IPQ8074/hw2.0/q6_fw.b05
 ath11k/IPQ8074/hw2.0/q6_fw.b07
 ath11k/IPQ8074/hw2.0/q6_fw.b08
 ath11k/IPQ8074/hw2.0/q6_fw.flist
 ath11k/IPQ8074/hw2.0/q6_fw.mdt
 ath11k/QCA2066/hw2.1/Notice.txt
 ath11k/QCA2066/hw2.1/amss.bin
 ath11k/QCA2066/hw2.1/board-2.bin
 ath11k/QCA2066/hw2.1/m3.bin
 ath11k/QCA6390/hw2.0/Notice.txt
 ath11k/QCA6390/hw2.0/amss.bin
 ath11k/QCA6390/hw2.0/board-2.bin
 ath11k/QCA6390/hw2.0/m3.bin
 ath11k/QCA6698AQ/hw2.1/Notice.txt
 ath11k/QCA6698AQ/hw2.1/amss.bin
 ath11k/QCA6698AQ/hw2.1/board-2.bin
 ath11k/QCA6698AQ/hw2.1/m3.bin
 ath11k/QCN9074/hw1.0/.notice
 ath11k/QCN9074/hw1.0/Notice.txt
 ath11k/QCN9074/hw1.0/amss.bin
 ath11k/QCN9074/hw1.0/board-2.bin
 ath11k/QCN9074/hw1.0/m3.bin
 ath11k/WCN6750/hw1.0/Notice.txt
 ath11k/WCN6750/hw1.0/board-2.bin
 ath11k/WCN6750/hw1.0/sc7280/wpss.mbn
 ath11k/WCN6855/hw2.0/Notice.txt
 ath11k/WCN6855/hw2.0/amss.bin
 ath11k/WCN6855/hw2.0/board-2.bin
 ath11k/WCN6855/hw2.0/m3.bin
 ath11k/WCN6855/hw2.0/nfa765/Notice.txt
 ath11k/WCN6855/hw2.0/nfa765/amss.bin
 ath11k/WCN6855/hw2.0/nfa765/m3.bin
 ath11k/WCN6855/hw2.0/regdb.bin
 ath12k/*
 wil6210.*
Copyright: 2015-2017, Qualcomm Atheros, Inc.
License: Redistributable-QualcommAtheros_ath10k

Files: ath10k/WCN3990/hw1.0/qcm2290/firmware-5.bin
 ath10k/WCN3990/hw1.0/qcm2290/wlanmdsp.mbn
 ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn
Copyright: 2013-2017 Qualcomm Technologies, Inc. All rights reserved.
           1995-2005 Jean-loup Gailly and Mark Adler
License: Redistributable-qcom

Files: ath9k_htc/*
Copyright: 2013 Qualcomm Atheros, Inc.
           2013 QUALCOMM ATHEROS Incorporated.  All rights reserved.
License: Redistributable-open-ath9k-htc-firmware

Files: qca/*
Copyright: 2015-2017, Qualcomm Atheros, Inc.
License: Redistributable-QualcommAtheros_ath10k

Files: qca/QCA6698/hpbtfw21.tlv
 qca/QCA6698/hpnv21.b206
 qca/QCA6698/hpnv21.b207
 qca/QCA6698/hpnv21.bin
 qca/apbtfw10.tlv
 qca/apbtfw11.tlv
 qca/apnv10.bin
 qca/apnv11.bin
 qca/cmbtfw12.tlv
 qca/cmbtfw13.tlv
 qca/cmnv12.bin
 qca/cmnv13.bin
 qca/cmnv13s.bin
 qca/cmnv13t.bin
 qca/hmtbtfw20.tlv
 qca/hmtnv20.b10f
 qca/hmtnv20.b112
 qca/hmtnv20.bin
 qca/htbtfw20.tlv
 qca/htnv20.bin
Copyright: Unknown
License: Redistributable-qcom

License: Redistributable-QualcommAtheros_ar3k
 Copyright (c) 2015, Qualcomm Atheros, Inc.
 All rights reserved.
 .
 Redistribution. Reproduction and redistribution in binary form, without
 modification, for use solely in conjunction with a Qualcomm Atheros, Inc.
 chipset, is permitted provided that the following conditions are met:
 .
   • Redistributions must reproduce the above copyright notice and the following
     disclaimer in the documentation and/or other materials provided with the
     distribution.
 .
   • Neither the name of Qualcomm Atheros, Inc. nor the names of its suppliers
     may be used to endorse or promote products derived from this Software
     without specific prior written permission.
 .
   • No reverse engineering, decompilation, or disassembly of this Software is
     permitted.
 .
 Limited patent license. Qualcomm Atheros, Inc. (“Licensor”) grants you
 (“Licensee”) a limited, worldwide, royalty-free, non-exclusive license under
 the Patents to make, have made, use, import, offer to sell and sell the
 Software. No hardware per se is licensed hereunder.
 The term “Patents” as used in this agreement means only those patents or patent
 applications owned solely and exclusively by Licensor as of the date of
 Licensor’s submission of the Software and any patents deriving priority (i.e.,
 having a first effective filing date) therefrom. The term “Software” as used in
 this agreement means the firmware image submitted by Licensor, under the terms
 of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/
 linux-firmware.git.
 Notwithstanding anything to the contrary herein, Licensor does not grant and
 Licensee does not receive, by virtue of this agreement or the Licensor’s
 submission of any Software, any license or other rights under any patent or
 patent application owned by any affiliate of Licensor or any other entity
 (other than Licensor), whether expressly, impliedly, by virtue of estoppel or
 exhaustion, or otherwise.
 .
 DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
 THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: Redistributable-QualcommAtheros_ath10k
 Copyright (c) 2015-2017, Qualcomm Atheros, Inc.
 All rights reserved.
 .
 Redistribution. Reproduction and redistribution in binary form, without
 modification, for use solely in conjunction with a Qualcomm Atheros, Inc.
 chipset, is permitted provided that the following conditions are met:
 .
   • Redistributions must reproduce the above copyright notice and the following
     disclaimer in the documentation and/or other materials provided with the
     distribution.
 .
   • Neither the name of Qualcomm Atheros, Inc. nor the names of its suppliers
     may be used to endorse or promote products derived from this Software
     without specific prior written permission.
 .
   • No reverse engineering, decompilation, or disassembly of this Software is
     permitted.
 .
 Limited patent license. Qualcomm Atheros, Inc. (“Licensor”) grants you
 (“Licensee”) a limited, worldwide, royalty-free, non-exclusive license under
 the Patents to make, have made, use, import, offer to sell and sell the
 Software. No hardware per se is licensed hereunder.
 The term “Patents” as used in this agreement means only those patents or patent
 applications owned solely and exclusively by Licensor as of the date of
 Licensor’s submission of the Software and any patents deriving priority (i.e.,
 having a first effective filing date) therefrom. The term “Software” as used in
 this agreement means the firmware image submitted by Licensor, under the terms
 of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/
 linux-firmware.git.
 Notwithstanding anything to the contrary herein, Licensor does not grant and
 Licensee does not receive, by virtue of this agreement or the Licensor’s
 submission of any Software, any license or other rights under any patent or
 patent application owned by any affiliate of Licensor or any other entity
 (other than Licensor), whether expressly, impliedly, by virtue of estoppel or
 exhaustion, or otherwise.
 .
 DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
 THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: Redistributable-atheros_firmware
 Copyright (c) 2008-2010, Atheros Communications, Inc.
 All rights reserved.
 .
 Redistribution.  Redistribution and use in binary form, without
 modification, are permitted provided that the following conditions are
 met:
 .
 * Redistributions must reproduce the above copyright notice and the
   following disclaimer in the documentation and/or other materials
   provided with the distribution.
 .
 * Neither the name of Atheros Communications, Inc. nor the names of
   its suppliers may be used to endorse or promote products derived
   from this software without specific prior written permission.
 .
 * No reverse engineering, decompilation, or disassembly of this
   software is permitted.
 .
 Limited patent license.  Atheros Communications, Inc. grants a
 world-wide, royalty-free, non-exclusive license under patents it
 now or hereafter owns or controls to make, have made, use, import,
 offer to sell and sell ("Utilize") this software, but solely to
 the extent that any such patent is necessary to Utilize the software
 in conjunction with an Atheros Chipset. The patent license shall not
 apply to any other combinations which include this software. No
 hardware per se is licensed hereunder.
 .
 DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
 THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: Redistributable-open-ath9k-htc-firmware
 This is a concatenation of LICENCE.txt and NOTICE.txt from the
 open-ath9k-htc-firmware repository describing licensing terms for the
 firmware image and its sources.
 .
 The source code repository is publicly available at
 https://github.com/qca/open-ath9k-htc-firmware .
 .
 .
 LICENCE.txt
 -----------
 .
 Files with a Qualcomm Atheros / Atheros licence fall under the following
 licence.  Please see NOTICES.TXT for information about other files in this
 repository.
 .
 ----
 .
 Copyright (c) 2013 Qualcomm Atheros, Inc.
 .
 All rights reserved.
 .
 Redistribution and use in source and binary forms, with or without
 modification, are permitted (subject to the limitations in the
 disclaimer below) provided that the following conditions are met:
 .
  * Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 .
  * Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the
    distribution.
 .
  * Neither the name of Qualcomm Atheros nor the names of its
    contributors may be used to endorse or promote products derived
    from this software without specific prior written permission.
 .
 NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
 GRANTED BY THIS LICENSE.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
 HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .
 ----
 .
 .
 NOTICE.TXT
 ----------
 .
 This NOTICE.TXT file contains certain notices of software components included
 with the software that QUALCOMM ATHEROS Incorporated ('Qualcomm Atheros') is
 required to provide you. Notwithstanding anything in the notices in this file,
 your use of these software components together with the Qualcomm Atheros
 software (Qualcomm Atheros software hereinafter referred to as 'Software') is
 subject to the terms of your license from Qualcomm Atheros.  Compliance with
 all copyright laws and software license agreements included in the notice
 section of this file are the responsibility of the user.  Except as may be
 granted by separate express written agreement, this file provides no license
 to any Qualcomm Atheros patents, trademarks, copyrights, or other intellectual
 property.
 .
 Copyright (c) 2013 QUALCOMM ATHEROS Incorporated.  All rights reserved.
 .
 QUALCOMM ATHEROS� is a registered trademark and registered service mark of
 QUALCOMM ATHEROS Incorporated.  All other trademarks and service marks are
 the property of their respective owners.
 .
 NOTICES:
 .
 /*
  * Copyright (c) 2005-2012 Atheros Communications Inc.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 .
 /*
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
  * Copyright (c) 2002-2005 Atheros Communications, Inc.
  * Copyright (c) 2008-2010, Atheros Communications Inc.
  *
  * Redistribution and use in source and binary forms are permitted
  * provided that the following conditions are met:
  * 1. The materials contained herein are unmodified and are used
  *    unmodified.
  * 2. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following NO
  *    ''WARRANTY'' disclaimer below (''Disclaimer''), without
  *    modification.
  * 3. Redistributions in binary form must reproduce at minimum a
  *    disclaimer similar to the Disclaimer below and any redistribution
  *    must be conditioned upon including a substantially similar
  *    Disclaimer requirement for further binary redistribution.
  * 4. Neither the names of the above-listed copyright holders nor the
  *    names of any contributors may be used to endorse or promote
  *    product derived from this software without specific prior written
  *    permission.
  *
  * NO WARRANTY
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  * ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT,
  * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  * IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
  * FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGES.
  */
 .
 ----
 .
 The following files are from ECoS with a GPLv2 licence with modification
 and linking caveats. Please see the licence below for more information:
 .
 target_firmware/magpie_fw_dev/build/magpie_1_1/sboot/cmnos/printf/src/cmnos_printf.c
 target_firmware/magpie_fw_dev/target/cmnos/cmnos_printf.c
 target_firmware/magpie_fw_dev/target/cmnos/k2_fw_cmnos_printf.c
 .
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
 // Copyright (C) 2002 Gary Thomas
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
 // Software Foundation; either version 2 or (at your option) any later version.
 //
 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 // for more details.
 //
 // You should have received a copy of the GNU General Public License along
 // with eCos; if not, write to the Free Software Foundation, Inc.,
 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
 //
 // As a special exception, if other files instantiate templates or use macros
 // or inline functions from this file, or you compile this file and link it
 // with other works to produce a work based on this file, this file does not
 // by itself cause the resulting work to be covered by the GNU General Public
 // License. However the source code for this file must still be made available
 // in accordance with section (3) of the GNU General Public License.
 //
 // This exception does not invalidate any other reasons why a work based on
 // this file might be covered by the GNU General Public License.
 //
 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
 // at http://sources.redhat.com/ecos/ecos-license/
 // -------------------------------------------
 //####ECOSGPLCOPYRIGHTEND####
 .
 ----
 .
 Some of the source code is sourced from Tensilica, Inc.
 .
 Although most of the files fall under the MIT licence, some of the source
 files generated as part of the system development have a proprietary
 Tensilica licence.
 .
 With permission from Tensilica, Inc, these files have been relicenced
 under the following licence:
 .
 /*
  * Copyright (c) 2013 Tensilica Inc.
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files (the
  * "Software"), to deal in the Software without restriction, including
  * without limitation the rights to use, copy, modify, merge, publish,
  * distribute, sublicense, and/or sell copies of the Software, and to
  * permit persons to whom the Software is furnished to do so, subject to
  * the following conditions:
  *
  * The above copyright notice and this permission notice shall be included
  * in all copies or substantial portions of the Software.
  *
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */

License: Redistributable-qcom
 PLEASE READ THIS LICENSE AGREEMENT ("AGREEMENT") CAREFULLY.  THIS AGREEMENT IS
 A BINDING LEGAL AGREEMENT ENTERED INTO BY AND BETWEEN YOU (OR IF YOU ARE
 ENTERING INTO THIS AGREEMENT ON BEHALF OF AN ENTITY, THEN THE ENTITY THAT YOU
 REPRESENT) AND QUALCOMM TECHNOLOGIES, INC. ("QTI" "WE" "OUR" OR "US").  THIS IS
 THE AGREEMENT THAT APPLIES TO YOUR USE OF THE DESIGNATED AND/OR LINKED
 APPLICATIONS, THE ENCLOSED QUALCOMM TECHNOLOGIES' MATERIALS, INCLUDING RELATED
 DOCUMENTATION AND ANY UPDATES OR IMPROVEMENTS THEREOF
 (COLLECTIVELY, "MATERIALS").  BY USING OR COMPLETING THE INSTALLATION OF THE
 MATERIALS, YOU ARE ACCEPTING THIS AGREEMENT AND YOU AGREE TO BE BOUND BY ITS
 TERMS AND CONDITIONS.  IF YOU DO NOT AGREE TO THESE TERMS, QTI IS UNWILLING TO
 AND DOES NOT LICENSE THE MATERIALS TO YOU. IF YOU DO NOT AGREE TO THESE TERMS
 YOU MUST DISCONTINUE THE INSTALLATION PROCESS AND YOU MAY NOT USE THE MATERIALS
 OR RETAIN ANY COPIES OF THE MATERIALS. ANY USE OR POSSESSION OF THE MATERIALS
 BY YOU IS SUBJECT TO THE TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT.
 .
 1. RIGHT TO USE DELIVERABLES; RESTRICTIONS.
 .
   1.1 License.  Subject to the terms and conditions of this Agreement,
   including, without limitation, the restrictions, conditions, limitations and
   exclusions set forth in this Agreement, QTI hereby grants to you a
   nonexclusive, limited license under QTI's copyrights to:  (i) install and use
   the Materials; and (ii) to reproduce and redistribute the binary code portions
   of the Materials (the "Redistributable Binary Code").  You may make and use a
   reasonable number of copies of any documentation.
 .
   1.2 Redistribution Restrictions.  Distribution of the Redistributable Binary
   Code is subject to the following restrictions: (i) Redistributable Binary Code
   may only be distributed in binary format and may not be distributed in source
   code format:; (ii)  the Redistributable Binary Code may only operate in
   conjunction with platforms incorporating Qualcomm Technologies, Inc. chipsets;
   (iii) redistribution of the Redistributable Binary Code must include the .txt
   file setting forth the terms and condition of this Agreement; (iv) you may not
   use Qualcomm Technologies' or its affiliates or subsidiaries name, logo or
   trademarks; and (v) copyright, trademark, patent and any other notices that
   appear on the Materials may not be removed or obscured.
 .
   1.3 Additional Restrictions.  Except as expressly permitted by this Agreement,
   you shall have no right to sublicense, transfer or otherwise disclose the
   Materials to any third party.  You shall not reverse engineer, reverse
   assemble, reverse translate, decompile or reduce to source code form any
   portion of the Materials provided in object code form or executable form.
   Except for the purposes expressly permitted in this Agreement, You shall not
   use the Materials for any other purpose.  QTI (or its licensors) shall retain
   title and all ownership rights in and to the Materials and any alterations,
   modifications (including all derivative works), translations or adaptations
   made of the Materials, and all copies thereof, and nothing herein shall be
   deemed to grant any right to You under any of QTI's or its affiliates'
   patents.  You shall not subject the Materials to any third party license
   terms (e.g., open source license terms).  You shall not use the Materials for
   the purpose of identifying or providing evidence to support any potential
   patent infringement claim against QTI, its affiliates, or any of QTI's or
   QTI's affiliates' suppliers and/or direct or indirect customers.  QTI hereby
   reserves all rights not expressly granted herein.
 .
   1.4 Third Party Software and Materials.  The Software may contain or link to
   certain software and/or materials that are written or owned by third parties.
   Such third party code and materials may be licensed under separate or
   different terms and conditions and are not licensed to you under the terms of
   this Agreement.  You agree to comply with all terms and conditions imposed on
   you in the applicable third party licenses.  Such terms and conditions may
   impose certain obligations on you as a condition to the permitted use of such
   third party code and materials.  QTI does not represent or warrant that such
   third party licensors have or will continue to license or make available their
   code and materials to you.
 .
   1.5 Feedback.  QTI may from time to time receive suggestions, feedback or
   other information from You regarding the Materials.  Any suggestions, feedback
   or other disclosures received from You are and shall be entirely voluntary on
   the part of You.  Notwithstanding any other term in this Agreement, QTI shall
   be free to use suggestions, feedback or other information received from You,
   without obligation of any kind to You.  The Parties agree that all inventions,
   product improvements, and modifications conceived of or made by QTI that are
   based, either in whole or in part, on ideas, feedback, suggestions, or
   recommended improvements received from You are the exclusive property of QTI,
   and all right, title and interest in and to any such inventions, product
   improvements, and modifications will vest solely in QTI.
 .
   1.6 No Technical Support.  QTI is under no obligation to provide any form of
   technical support for the Materials, and if QTI, in its sole discretion,
   chooses to provide any form of support or information relating to the
   Materials, such support and information shall be deemed confidential and
   proprietary to QTI.
 .
 2. WARRANTY DISCLAIMER.  YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT THE USE OF
 THE MATERIALS IS AT YOUR SOLE RISK.  THE MATERIALS AND TECHNICAL SUPPORT, IF
 ANY, ARE PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR
 IMPLIED.  QTI ITS LICENSORS AND AFFILIATES MAKE NO WARRANTIES, EXPRESS OR
 IMPLIED, WITH RESPECT TO THE MATERIALS OR ANY OTHER INFORMATION OR DOCUMENTATION
 PROVIDED UNDER THIS AGREEMENT, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF
 MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR AGAINST INFRINGEMENT, OR
 ANY EXPRESS OR IMPLIED WARRANTY ARISING OUT OF TRADE USAGE OR OUT OF A COURSE OF
 DEALING OR COURSE OF PERFORMANCE.  NOTHING CONTAINED IN THIS AGREEMENT SHALL BE
 CONSTRUED AS (I) A WARRANTY OR REPRESENTATION BY QTI, ITS LICENSORS OR
 AFFILIATES AS TO THE VALIDITY OR SCOPE OF ANY PATENT, COPYRIGHT OR OTHER
 INTELLECTUAL PROPERTY RIGHT OR (II) A WARRANTY OR REPRESENTATION BY QTI THAT ANY
 MANUFACTURE OR USE WILL BE FREE FROM INFRINGEMENT OF PATENTS, COPYRIGHTS OR
 OTHER INTELLECTUAL PROPERTY RIGHTS OF OTHERS, AND IT SHALL BE THE SOLE
 RESPONSIBILITY OF YOU TO MAKE SUCH DETERMINATION AS IS NECESSARY WITH RESPECT TO
 THE ACQUISITION OF LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY OF
 THIRD PARTIES.
 .
 3. NO OTHER LICENSES OR INTELLECTUAL PROPERTY RIGHTS. Neither this Agreement,
 nor any act by QTI or any of its affiliates pursuant to this Agreement or
 relating to the Materials (including, without limitation, the provision by QTI
 or its affiliates of the Materials), shall provide to You any license or any
 other rights whatsoever under any patents, trademarks, trade secrets, copyrights
 or any other intellectual property of QTI or any of its affiliates, except for
 the copyright rights expressly licensed under this Agreement. You understand and
 agree that:
 .
   (i) Neither this Agreement, nor delivery of the Materials, grants any right to
   practice, or any other right at all with respect to, any patent of QTI or any
   of its affiliates; and
 .
   (ii) A separate license agreement from QUALCOMM Incorporated is needed to use
   or practice any patent of QUALCOMM Incorporated. You agree not to contend in
   any context that, as a result of the provision or use of the Materials, either
   QTI or any of its affiliates has any obligation to extend, or You or any other
   party has obtained any right to, any license, whether express or implied, with
   respect to any patent of QTI or any of its affiliates for any purpose.
 .
 4. TERMINATION.  This Agreement shall be effective upon acceptance, or access or
 use of the Materials (whichever occurs first) by You and shall continue until
 terminated. You may terminate the Agreement at any time by deleting and
 destroying all copies of the Materials and all related information in Your
 possession or control. This Agreement terminates immediately and automatically,
 with or without notice, if You fail to comply with any provision hereof.
 Additionally, QTI may at any time terminate this Agreement, without cause, upon
 notice to You. Upon termination You must, to the extent possible, delete or
 destroy all copies of the Materials in Your possession and the license granted
 to You in this Agreement shall terminate. Sections 1.2 through 10 shall survive
 the termination of this Agreement. In the event that any restrictions,
 conditions, limitations are found to be either invalid or unenforceable, the
 rights granted to You in Section 1 (License) shall be null, void and ineffective
 from the Effective Date, and QTI shall also have the right to terminate this
 Agreement immediately, and with retroactive effect to the effective date.
 .
 5. LIMITATION OF LIABILITY.  IN NO EVENT SHALL QTI, QTI's AFFILIATES OR ITS
 LICENSORS BE LIABLE TO YOU FOR ANY INCIDENTAL, CONSEQUENTIAL OR SPECIAL DAMAGES,
 INCLUDING BUT NOT LIMITED TO ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL
 DAMAGES, ARISING OUT OF THE USE OR INABILITY TO USE, OR THE DELIVERY OR FAILURE
 TO DELIVER, ANY OF THE DELIVERABLES, OR ANY BREACH OF ANY OBLIGATION UNDER THIS
 AGREEMENT, EVEN IF QTI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 THE FOREGOING LIMITATION OF LIABILITY SHALL REMAIN IN FULL FORCE AND EFFECT
 REGARDLESS OF WHETHER YOUR REMEDIES HEREUNDER ARE DETERMINED TO HAVE FAILED OF
 THEIR ESSENTIAL PURPOSE.  THE ENTIRE LIABILITY OF QTI, QTI's AFFILIATES AND ITS
 LICENSORS, AND THE SOLE AND EXCLUSIVE REMEDY OF YOU, FOR ANY CLAIM OR CAUSE OF
 ACTION ARISING HEREUNDER (WHETHER IN CONTRACT, TORT, OR OTHERWISE) SHALL NOT
 EXCEED US$50.
 .
 6. INDEMNIFICATION.  You agree to indemnify and hold harmless QTI and its
 officers, directors, employees and successors and assigns against any and all
 third party claims, demands, causes of action, losses, liabilities, damages,
 costs and expenses, incurred by QTI (including but not limited to costs of
 defense, investigation and reasonable attorney's fees) arising out of, resulting
 from or related to: (i) any breach of this Agreement by You; and (ii) your acts,
 omissions, products and services.  If requested by QTI, You agree to defend QTI
 in connection with any third party claims, demands, or causes of action
 resulting from, arising out of or in connection with any of the foregoing.
 .
 7. ASSIGNMENT.  You shall not assign this Agreement or any right or interest
 under this Agreement, nor delegate any obligation to be performed under this
 Agreement, without QTI's prior written consent.  For purposes of this Section 7,
 an "assignment" by You under this Section shall be deemed to include, without
 limitation, any merger, consolidation, sale of all or substantially all of its
 assets, or any substantial change in the management or control of You.
 Any attempted assignment in contravention of this Section 9 shall be void.
 QTI may freely assign this Agreement or delegate any or all of its rights and
 obligations hereunder to any third party.
 .
 8. COMPLIANCE WITH LAWS; APPLICABLE LAW.  You agree to comply with all
 applicable local, international and national laws and regulations and with U.S.
 Export Administration Regulations, as they apply to the subject matter of this
 Agreement.  This Agreement is governed by the laws of the State of California,
 excluding California's choice of law rules.
 .
 9. CONTRACTING PARTIES.  If the Materials are downloaded on any computer owned
 by a corporation or other legal entity, then this Agreement is formed by and
 between QTI and such entity.  The individual accepting the terms of this
 Agreement represents and warrants to QTI that they have the authority to bind
 such entity to the terms and conditions of this Agreement.
 .
 10. MISCELLANEOUS PROVISIONS.  This Agreement, together with all exhibits
 attached hereto, which are incorporated herein by this reference, constitutes
 the entire agreement between QTI and You and supersedes all prior negotiations,
 representations and agreements between the parties with respect to the subject
 matter hereof.  No addition or modification of this Agreement shall be effective
 unless made in writing and signed by the respective representatives of QTI and
 You.  The restrictions, limitations, exclusions and conditions set forth in this
 Agreement shall apply even if QTI or any of its affiliates becomes aware of or
 fails to act in a manner to address any violation or failure to comply
 therewith.  You hereby acknowledge and agree that the restrictions, limitations,
 conditions and exclusions imposed in this Agreement on the rights granted in
 this Agreement are not a derogation of the benefits of such rights.  You further
 acknowledges that, in the absence of such restrictions, limitations, conditions
 and exclusions, QTI would not have entered into this Agreement with You.  Each
 party shall be responsible for and shall bear its own expenses in connection
 with this Agreement.  If any of the provisions of this Agreement are determined
 to be invalid, illegal, or otherwise unenforceable, the remaining provisions
 shall remain in full force and effect.  This Agreement is entered into solely
 in the English language, and if for any reason any other language version is
 prepared by any party, it shall be solely for convenience and the English
 version shall govern and control all aspects.  If You are located in the
 province of Quebec, Canada, the following applies: The Parties hereby confirm
 they have requested this Agreement and all related documents be prepared
 in English.
 .
 This NOTICE.txt file contains certain notices Qualcomm Technologies, Inc. ("QTI")
 is required to provide with certain software components. Notwithstanding anything
 in the notices in this file, your use of such software components together with
 the QTI software ("Software") is subject to the terms of your separate license
 from QTI. Compliance with all copyright laws and software licenses included in
 this file are the responsibility of the user. Except as may be granted by
 separate express written agreement, this file provides no license to any
 patents, trademarks, copyrights, or other intellectual property of QTI or its
 affiliates.
 Software provided with this notice is NOT A CONTRIBUTION to any open source
 project. If alternative licensing is available for any of the components with
 licenses or attributions provided below, a license choice is made for receiving
 such code by QTI.
 .
 Copyright (c) 2013-2017 Qualcomm Technologies, Inc. All rights reserved.
 .
 Qualcomm is a trademark of Qualcomm Incorporated, registered in the
 United States and other countries. All Qualcomm Incorporated trademarks are used
 with permission. Other products and brand names may be trademarks or registered
 trademarks of their respective owners.
 .
 .
   LICENSE ISSUES
   ==============
 .
   The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
   the OpenSSL License and the original SSLeay license apply to the toolkit.
   See below for the actual license texts. Actually both licenses are BSD-style
   Open Source licenses. In case of any license issues related to OpenSSL
   please contact openssl-core@openssl.org.
 .
   OpenSSL License
   ---------------
 .
 /* ====================================================================
  * Copyright (c) 1998-2011 The OpenSSL Project.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
  *    the documentation and/or other materials provided with the
  *    distribution.
  *
  * 3. All advertising materials mentioning features or use of this
  *    software must display the following acknowledgment:
  *    "This product includes software developed by the OpenSSL Project
  *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
  *
  * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
  *    endorse or promote products derived from this software without
  *    prior written permission. For written permission, please contact
  *    openssl-core@openssl.org.
  *
  * 5. Products derived from this software may not be called "OpenSSL"
  *    nor may "OpenSSL" appear in their names without prior written
  *    permission of the OpenSSL Project.
  *
  * 6. Redistributions of any form whatsoever must retain the following
  *    acknowledgment:
  *    "This product includes software developed by the OpenSSL Project
  *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
  *
  * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
  * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  * OF THE POSSIBILITY OF SUCH DAMAGE.
  * ====================================================================
  *
  * This product includes cryptographic software written by Eric Young
  * (eay@cryptsoft.com).  This product includes software written by Tim
  * Hudson (tjh@cryptsoft.com).
  *
  */
 .
  Original SSLeay License
  -----------------------
 .
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
  *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
  *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  * 1. Redistributions of source code must retain the copyright
  *    notice, this list of conditions and the following disclaimer.
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
  * 3. All advertising materials mentioning features or use of this software
  *    must display the following acknowledgement:
  *    "This product includes cryptographic software written by
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
  * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
  *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
  */
 .
 .
 ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
 .
 /* ====================================================================
  * Copyright (C) 1995-2005 Jean-loup Gailly
  * Copyright (C) 1995-2009 Mark Adler
  * Copyright (C) 1995-2003, 2010 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 .
 .
  /* zlib.h -- interface of the 'zlib' general purpose compression library
   version 1.2.3, July 18th, 2005
 .
   Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler
 .
   This software is provided 'as-is', without any express or implied
   warranty.  In no event will the authors be held liable for any damages
   arising from the use of this software.
 .
   Permission is granted to anyone to use this software for any purpose,
   including commercial applications, and to alter it and redistribute it
   freely, subject to the following restrictions:
 .
   1. The origin of this software must not be misrepresented; you must not
      claim that you wrote the original software. If you use this software
      in a product, an acknowledgment in the product documentation would be
      appreciated but is not required.
   2. Altered source versions must be plainly marked as such, and must not be
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   Jean-loup Gailly        Mark Adler
   jloup@gzip.org          madler@alumni.caltech.edu
 .
 .
   The data format used by the zlib library is described by RFCs (Request for
   Comments) 1950 to 1952 in the files http://www.ietf.org/rfc/rfc1950.txt
   (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
 */
 .
 .
 ------------------------------------------------------------------------------
 .
  //
 // Copyright (c) 2004-2006 Qualphone, Inc. All rights reserved.
 //
 //
 /*
  * This code implements the MD5 message-digest algorithm.
  * The algorithm is due to Ron Rivest. This code was
  * written by Colin Plumb in 1993, no copyright is claimed.
  * This code is in the public domain; do with it what you wish.
  *
  * Equivalent code is available from RSA Data Security, Inc.
  * This code has been tested against that, and is equivalent,
  * except that you don't need to include two pages of legalese
  * with every copy.
  *
  * To compute the message digest of a chunk of bytes, declare an
  * MD5Context structure, pass it to MD5Init, call MD5Update as
  * needed on buffers full of bytes, and then call MD5Final, which
  * will fill a supplied 16-byte array with the digest.
  */
 .
 .
 ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
 .
 .
 .
 /*
  * Written by Aaron D. Gifford <me@aarongifford.com>
  *
  * Copyright 2000 Aaron D. Gifford.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
  * 3. Neither the name of the copyright holder nor the names of contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE
  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
  */
 .
 ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
 .
 /*-
  *  COPYRIGHT (C) 1986 Gary S. Brown.  You may use this program, or
  *  code or tables extracted from it, as desired without restriction.
  *
  *  First, the polynomial itself and its table of feedback terms.  The
  *  polynomial is
  *  X^32+X^26+X^23+X^22+X^16+X^12+X^11+X^10+X^8+X^7+X^5+X^4+X^2+X^1+X^0
  *
  *  Note that we take it "backwards" and put the highest-order term in
  *  the lowest-order bit.  The X^32 term is "implied"; the LSB is the
  *  X^31 term, etc.  The X^0 term (usually shown as "+1") results in
  *  the MSB being 1
  *
  *  Note that the usual hardware shift register implementation, which
  *  is what we're using (we're merely optimizing it by doing eight-bit
  *  chunks at a time) shifts bits into the lowest-order term.  In our
  *  implementation, that means shifting towards the right.  Why do we
  *  do it this way?  Because the calculated CRC must be transmitted in
  *  order from highest-order term to lowest-order term.  UARTs transmit
  *  characters in order from LSB to MSB.  By storing the CRC this way
  *  we hand it to the UART in the order low-byte to high-byte; the UART
  *  sends each low-bit to hight-bit; and the result is transmission bit
  *  by bit from highest- to lowest-order term without requiring any bit
  *  shuffling on our part.  Reception works similarly
  *
  *  The feedback terms table consists of 256, 32-bit entries.  Notes
  *
  *      The table can be generated at runtime if desired; code to do so
  *      is shown later.  It might not be obvious, but the feedback
  *      terms simply represent the results of eight shift/xor opera
  *      tions for all combinations of data and CRC register values
  *
  *      The values must be right-shifted by eight bits by the "updcrc
  *      logic; the shift must be unsigned (bring in zeroes).  On some
  *      hardware you could probably optimize the shift in assembler by
  *      using byte-swap instructions
  *      polynomial $edb88320
  *
 .
 .
  ------------------------------------------------------------------------------
 .
  /*
    The AES algorithm Rijndael implemented for block and key sizes of 128,
    192 and 256 bits (16, 24 and 32 bytes) by Brian Gladman.
 .
    I retain copyright in this code but I encourage its free use provided
    that I don't carry any responsibility for the results. I am especially
    happy to see it used in free and open source software. If you do use
    it I would appreciate an acknowledgement of its origin in the code or
    the product that results and I would also appreciate knowing a liitle
    about the use to which it is being put. I am grateful to Frank Yellin
    for some ideas that are used in this implementation.
 .
    Dr B. R. Gladman <brg@gladman.uk.net> 1st June 2001.
 .
  ------------------------------------------------------------------------------
 .
  /*
  * hash_32 - 32 bit Fowler/Noll/Vo hash code
  *
  * Fowler/Noll/Vo hash
  *
  * Please do not copyright this code.  This code is in the public domain.
  *
  * LANDON CURT NOLL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
  * EVENT SHALL LANDON CURT NOLL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  * PERFORMANCE OF THIS SOFTWARE.
  *
  ------------------------------------------------------------------------------
  /*
  * sha1.c
  *
  * Originally witten by Steve Reid <steve@edmweb.com>
  *
  * Modified by Aaron D. Gifford <agifford@infowest.com>
  *
  * NO COPYRIGHT - THIS IS 100% IN THE PUBLIC DOMAIN
  *
  * The original unmodified version is available at:
  *    ftp://ftp.funet.fi/pub/crypt/hash/sha/sha1.c
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  */
 .
 ------------------------------------------------------------------------------
 .
 /*
  * AES-based functions
  *
  * - AES Key Wrap Algorithm (128-bit KEK) (RFC3394)
  * - One-Key CBC MAC (OMAC1) hash with AES-128
  * - AES-128 CTR mode encryption
  * - AES-128 EAX mode encryption/decryption
  * - AES-128 CBC
  *
  * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  *
  * Alternatively, this software may be distributed under the terms of BSD
  * license.
  *
  * See README and COPYING for more details.
  */
  ------------------------------------------------------------------------------
  /*
  * SHA1 hash implementation and interface functions
  * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  *
  * Alternatively, this software may be distributed under the terms of BSD
  * license.
  *
  * See README and COPYING for more details.
  */
  ------------------------------------------------------------------------------
  /*
  * hmac_sha1.c
  *
  * Version 1.0.0
  *
  * Written by Aaron D. Gifford <me@aarongifford.com>
  *
  * Copyright 1998, 2000 Aaron D. Gifford.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
  * 3. Neither the name of the copyright holder nor the names of contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  */
 ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
 .
 /*
 * AUTHOR:   Aaron D. Gifford <me@aarongifford.com>
 *
 * Copyright (c) 2000-2001, Aaron D. Gifford
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 * notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * 3. Neither the name of the copyright holder nor the names of contributors
 * may be used to endorse or promote products derived from this software
 * without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 */
 .
 ------------------------------------------------------------------------------
 .
 /*
  * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  * 1. Redistributions of source code must retain the above copyright
  * notice, this list of conditions and the following disclaimer.
  * 2. Redistributions in binary form must reproduce the above copyright
  * notice, this list of conditions and the following disclaimer in the
  * documentation and/or other materials provided with the distribution.
  * 3. The name of the author may not be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
  * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 .
  ------------------------------------------------------------------------------
 .
  /*
  * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 .
 .
 ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------

License: GPL-2+
 This program is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the Free
 Software Foundation; either version 2 of the License, or (at your option)
 any later version.
 .
 On Debian systems, the full text of the GNU General Public License
 version 2 can be found in /usr/share/common-licenses/GPL-2.
