diff --git a/mozilla/security/nss/lib/freebl/intel-gcm-wrap.c b/mozilla/security/nss/lib/freebl/intel-gcm-wrap.c index cda2fac58fe..b2f6f5e4bb8 100644 --- a/mozilla/security/nss/lib/freebl/intel-gcm-wrap.c +++ b/mozilla/security/nss/lib/freebl/intel-gcm-wrap.c @@ -1,6 +1,7 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +/* Copyright(c) 2013, Intel Corp. */ /* Wrapper funcions for Intel optimized implementation of AES-GCM */ diff --git a/mozilla/security/nss/lib/freebl/intel-gcm.h b/mozilla/security/nss/lib/freebl/intel-gcm.h index 29bfba8d2ea..9360ff1484c 100644 --- a/mozilla/security/nss/lib/freebl/intel-gcm.h +++ b/mozilla/security/nss/lib/freebl/intel-gcm.h @@ -1,3 +1,24 @@ +/******************************************************************************/ +/* LICENSE: */ +/* This submission to NSS is to be made available under the terms of the */ +/* Mozilla Public License, v. 2.0. You can obtain one at http: */ +/* //mozilla.org/MPL/2.0/. */ +/******************************************************************************/ +/* Copyright(c) 2013, Intel Corp. */ +/******************************************************************************/ +/* Reference: */ +/* [1] Shay Gueron, Michael E. Kounavis: Intel® Carry-Less Multiplication */ +/* Instruction and its Usage for Computing the GCM Mode (Rev. 2.01) */ +/* http://software.intel.com/sites/default/files/article/165685/clmul-wp-r*/ +/*ev-2.01-2012-09-21.pdf */ +/* [2] S. Gueron, M. E. Kounavis: Efficient Implementation of the Galois */ +/* Counter Mode Using a Carry-less Multiplier and a Fast Reduction */ +/* Algorithm. Information Processing Letters 110: 549–553 (2010). */ +/* [3] S. Gueron: AES Performance on the 2nd Generation Intel® Core™ Processor*/ +/* Family (to be posted) (2012). */ +/* [4] S. Gueron: Fast GHASH computations for speeding up AES-GCM (to be */ +/* published) (2012). */ + #ifndef INTEL_GCM_H #define INTEL_GCM_H 1 diff --git a/mozilla/security/nss/lib/freebl/intel-gcm.s b/mozilla/security/nss/lib/freebl/intel-gcm.s index 49d8ecd98e3..1a31060914e 100644 --- a/mozilla/security/nss/lib/freebl/intel-gcm.s +++ b/mozilla/security/nss/lib/freebl/intel-gcm.s @@ -1,4 +1,9 @@ - +# LICENSE: +# This submission to NSS is to be made available under the terms of the +# Mozilla Public License, v. 2.0. You can obtain one at http: +# //mozilla.org/MPL/2.0/. +################################################################################ +# Copyright(c) 2012, Intel Corp. .align 16 .Lone: