Skip to content

Commit 3c0ad55

Browse files
author
ipl_ci
committed
WW38'23 source code update
1 parent 754d0ac commit 3c0ad55

File tree

105 files changed

+7712
-681
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+7712
-681
lines changed

BUILD.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ To build the Intel IPP Cryptography library on macOS*, complete the following st
199199
- `-DARCH=<ia32|intel64>` - on Linux* OS and macOS*, defines the target architecture for the build of the Intel IPP Cryptography library.
200200
> **NOTE:** On Windows* OS, use `-G`/`-A` instead. See the description of these options [below](#windows-os-1).
201201

202+
> **NOTE:** Due to the significant shift in the industry towards 64-bit architecture, the support of 32-bit libraries is deprecated in the Intel IPP Cryptography 2021.9 release and targeted to be removed after one year deprecation notice period.
203+
202204
- `-DMERGED_BLD:BOOL=<on|off>` - optional. Defines the configuration of the Intel IPP Cryptography library to build:
203205

204206
- `-DMERGED_BLD:BOOL=on`: default configuration. It includes the following steps:

OVERVIEW.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ By default, the dispatcher chooses the most appropriate optimization for the cur
8989
| - | k0 | Optimized for processors with Intel® Advanced Vector Extensions 512 (Intel® AVX-512) (formerly codenamed SkyLake) |
9090
| - | k1 | Optimized for processors with Intel® Advanced Vector Extensions 512 (Intel® AVX-512) (formerly codenamed IceLake) |
9191

92+
> **NOTE:** Due to the significant shift in the industry towards 64-bit architecture, the support of 32-bit libraries is deprecated in the Intel IPP Cryptography 2021.9 release and targeted to be removed after one year deprecation notice period.
93+
9294
### CPU Feature Dispatching
9395

9496
Besides CPU dispatching that lets the library choose the general instruction set targeted implementation (for example, Intel SSE4.2, Intel AVX-512, and others), there is more granular dispatching that allows configuring usage of particular CPU features within a single instruction set. For example, Intel AVX-512 instruction set contains a VAES (AES Vector Extensions) feature subset, but not all CPUs that have Intel AVX-512 on board support VAES, so the library can automatically detect it in a runtime and enable corresponding optimizations if the feature subset is available.

examples/CMakeLists.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
#===============================================================================
1+
#=========================================================================
22
# Copyright (C) 2019 Intel Corporation
33
#
4-
# Licensed under the Apache License, Version 2.0 (the 'License');
4+
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
10-
# Unless required by applicable law or agreed to in writing,
11-
# software distributed under the License is distributed on an 'AS IS' BASIS,
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions
14-
# and limitations under the License.
15-
#
16-
#===============================================================================
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#=========================================================================
1716

1817
#
1918
# Intel® Integrated Performance Primitives Cryptography (Intel® IPP Cryptography) examples

examples/FindIPPCrypto.cmake

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
#===============================================================================
1+
#=========================================================================
22
# Copyright (C) 2019 Intel Corporation
33
#
4-
# Licensed under the Apache License, Version 2.0 (the 'License');
4+
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing,
11-
# software distributed under the License is distributed on an 'AS IS' BASIS,
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions
14-
# and limitations under the License.
15-
#
16-
#===============================================================================
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#=========================================================================
1716

1817
#
1918
# Intel® Integrated Performance Primitives Cryptography (Intel® IPP Cryptography)

examples/aes/aes-256-ctr-decryption.cpp

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
/*******************************************************************************
1+
/*************************************************************************
22
* Copyright (C) 2019 Intel Corporation
33
*
4-
* Licensed under the Apache License, Version 2.0 (the 'License');
4+
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing,
11-
* software distributed under the License is distributed on an 'AS IS' BASIS,
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions
14-
* and limitations under the License.
15-
*
16-
*******************************************************************************/
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*************************************************************************/
1716

1817
/*!
1918
*

examples/aes/aes-256-ctr-encryption.cpp

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
/*******************************************************************************
1+
/*************************************************************************
22
* Copyright (C) 2019 Intel Corporation
33
*
4-
* Licensed under the Apache License, Version 2.0 (the 'License');
4+
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing,
11-
* software distributed under the License is distributed on an 'AS IS' BASIS,
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions
14-
* and limitations under the License.
15-
*
16-
*******************************************************************************/
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*************************************************************************/
1716

1817
/*!
1918
*

examples/dsa/categoryOptions.cmake

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
#===============================================================================
1+
#=========================================================================
22
# Copyright (C) 2019 Intel Corporation
33
#
4-
# Licensed under the Apache License, Version 2.0 (the 'License');
4+
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing,
11-
# software distributed under the License is distributed on an 'AS IS' BASIS,
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions
14-
# and limitations under the License.
15-
#
16-
#===============================================================================
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#=========================================================================
1716

1817
set(dsa_CATEGORY_COMMON_SOURCES
1918
${CMAKE_CURRENT_SOURCE_DIR}/utils/bignum.cpp

examples/dsa/dsa-dlp-sha-1-verification.cpp

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
/*******************************************************************************
1+
/*************************************************************************
22
* Copyright (C) 2021 Intel Corporation
33
*
4-
* Licensed under the Apache License, Version 2.0 (the 'License');
4+
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing,
11-
* software distributed under the License is distributed on an 'AS IS' BASIS,
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions
14-
* and limitations under the License.
15-
*
16-
*******************************************************************************/
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*************************************************************************/
1716

1817
/*!
1918
*

examples/dsa/dsa-dlp-sha-256-verification.cpp

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
/*******************************************************************************
1+
/*************************************************************************
22
* Copyright (C) 2021 Intel Corporation
33
*
4-
* Licensed under the Apache License, Version 2.0 (the 'License');
4+
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing,
11-
* software distributed under the License is distributed on an 'AS IS' BASIS,
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions
14-
* and limitations under the License.
15-
*
16-
*******************************************************************************/
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*************************************************************************/
1716

1817
/*!
1918
*

examples/examplesBuildOptions.cmake

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
#===============================================================================
1+
#=========================================================================
22
# Copyright (C) 2019 Intel Corporation
33
#
4-
# Licensed under the Apache License, Version 2.0 (the 'License');
4+
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing,
11-
# software distributed under the License is distributed on an 'AS IS' BASIS,
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions
14-
# and limitations under the License.
15-
#
16-
#===============================================================================
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#=========================================================================
1716

1817
macro(ippcp_extend_variable target added_value)
1918
set("${target}" "${${target}} ${added_value}")

0 commit comments

Comments
 (0)