diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/bn/s2n_bignum.h | 13 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/s2n_bignum_internal.h | 13 |
2 files changed, 25 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/s2n_bignum.h b/src/lib/libcrypto/bn/s2n_bignum.h index d0c1df66eb..ce6e8cdc94 100644 --- a/src/lib/libcrypto/bn/s2n_bignum.h +++ b/src/lib/libcrypto/bn/s2n_bignum.h | |||
| @@ -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 | // C prototypes for s2n-bignum functions, so you can use them in C programs via | 16 | // C prototypes for s2n-bignum functions, so you can use them in C programs via |
diff --git a/src/lib/libcrypto/bn/s2n_bignum_internal.h b/src/lib/libcrypto/bn/s2n_bignum_internal.h index ac675836f3..f413688338 100644 --- a/src/lib/libcrypto/bn/s2n_bignum_internal.h +++ b/src/lib/libcrypto/bn/s2n_bignum_internal.h | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
| 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. | ||
| 1 | 14 | ||
| 2 | #ifdef __APPLE__ | 15 | #ifdef __APPLE__ |
| 3 | # define S2N_BN_SYMBOL(NAME) _##NAME | 16 | # define S2N_BN_SYMBOL(NAME) _##NAME |
