summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2023-02-16 10:53:18 +0000
committerjsing <>2023-02-16 10:53:18 +0000
commitec5ded981e6e4284144b76815dc2cf8ccac8ad8f (patch)
tree58153f18f0da5935e713f0bd7f7a74460a6b4493 /src
parent20d77e168d6700000dda87019218f2b9f8c395ca (diff)
downloadopenbsd-ec5ded981e6e4284144b76815dc2cf8ccac8ad8f.tar.gz
openbsd-ec5ded981e6e4284144b76815dc2cf8ccac8ad8f.tar.bz2
openbsd-ec5ded981e6e4284144b76815dc2cf8ccac8ad8f.zip
Include the ISC license from s2n-bignum's LICENSE file.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/bn/arch/amd64/word_clz.S13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/arch/amd64/word_clz.S b/src/lib/libcrypto/bn/arch/amd64/word_clz.S
index 6388b75d53..6b57d69303 100644
--- a/src/lib/libcrypto/bn/arch/amd64/word_clz.S
+++ b/src/lib/libcrypto/bn/arch/amd64/word_clz.S
@@ -1,5 +1,16 @@
1// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0 OR ISC 2//
3// Permission to use, copy, modify, and/or distribute this software for any
4// purpose with or without fee is hereby granted, provided that the above
5// copyright notice and this permission notice appear in all copies.
6//
7// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3 14
4// ---------------------------------------------------------------------------- 15// ----------------------------------------------------------------------------
5// Count leading zero bits in a single word 16// Count leading zero bits in a single word