From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::430; helo=mail-pf1-x430.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0E32121B02822 for ; Thu, 31 Jan 2019 22:01:59 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id c123so2656956pfb.0 for ; Thu, 31 Jan 2019 22:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=74XCW/xwyTuMllifm939BiLzF9z5XBtSuuiY+pF3/Cc=; b=D5cFjOZvRbZklCytzM1adA/oA8LjLNLHo6pqTEaT5NH1JifgY0TU1Pmcc5EFNbgG61 WcWBR4MWsd8S/XpJLdMq8GUXE3wH4d5iWKQASSLnHF0WtPTmBaRMK4ti2AQx9ly1UOiN qhIOr+RqYq9F+z9n7zuiv3us5mObCIsVWxSJE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=74XCW/xwyTuMllifm939BiLzF9z5XBtSuuiY+pF3/Cc=; b=OlAnnIVblYBmbrKiNFmf+KCqK3BCRiNaUrZyThxQFUlH8HV0dorjxeRmVE/BCifAoB ORUEexyKbH2ZK8pnVVqBxMdqOURmI7aZFGeg4pOFH4Crn2dWGQPjRXep9AIGXq09PiHf vY86ePH0mO9dxl21XGlgGqdn2VPLO+MWHtrnElNF03iHca+C8hGxXb4+A8rE3uEvy50V HQcCd7DYhkVBnj2aUaUT4B4fr0l80IX8X+gQkR5I38a3ZfolC8YU2HIVW9CL0XzSxBBV grjQ5loWPUcsgBd22GlX3TI5FR4FW+oDgpVZ9q8/VGZ65Lu9E5LCOHMTNXWcVFA2De/o +pSg== X-Gm-Message-State: AJcUukfM0cbYokTyhWDP90q6Kc9NS+ns4X43A+90uOIZHaSvHLWyTaTT WLXMi1gBbnhwfHFGIQn4Ia86rQ== X-Google-Smtp-Source: ALg8bN5QWuWF4XgwYx3UaipIM/1V27RjjJY+bKoEU7FbQD6BGG/Aa1p6pjTbf14UowROEJJEmjkrqQ== X-Received: by 2002:a62:2781:: with SMTP id n123mr38480108pfn.138.1549000919465; Thu, 31 Jan 2019 22:01:59 -0800 (PST) Received: from localhost.localdomain ([203.160.91.226]) by smtp.gmail.com with ESMTPSA id c13sm8115122pfo.121.2019.01.31.22.01.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Jan 2019 22:01:58 -0800 (PST) From: Ming Huang To: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, michael.d.kinney@intel.com, liming.gao@intel.com Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, star.zeng@intel.com, eric.dong@intel.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, waip23@126.com, Ming Huang Date: Fri, 1 Feb 2019 14:01:51 +0800 Message-Id: <20190201060152.55724-1-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 Subject: [MdePkg/BaseLib v1 0/1] Add new API CalculateCrc16() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 06:02:00 -0000 Crc16 is used in some cases, so add it to BaseLib. Ming Huang (1): MdePkg BaseLib: Add new API CalculateCrc16() MdePkg/Include/Library/BaseLib.h | 20 ++++++ MdePkg/Library/BaseLib/CheckSum.c | 73 ++++++++++++++++++++ 2 files changed, 93 insertions(+) -- 2.9.5