Skip to content

Commit 61ed84d

Browse files
author
ipl_ci
committed
WW08'25 source code update
1 parent 59a3c2e commit 61ed84d

File tree

11 files changed

+27
-45
lines changed

11 files changed

+27
-45
lines changed

DEPRECATION_NOTES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ The memory footprint of the corresponding FIPS self-tests was reduced.
1515
| :--------------------------------------------------------- | :----------------------------------------------------: | :--------------------------------------------------------------------: |
1616
| fips_selftest_ippsRSASignVerify_PKCS1v15_rmf_get_size_keys | fips_selftest_ippsRSASign_PKCS1v15_rmf_get_size_keys | Understand memory requirements of RSA PKCS1 v1.5 signature generation |
1717
| fips_selftest_ippsRSASignVerify_PKCS1v15_rmf_get_size | fips_selftest_ippsRSASign_PKCS1v15_rmf_get_size | Understand memory requirements of RSA PKCS1 v1.5 signature generation |
18-
| fips_selftest_ippsRSASignVerify_PKCS1v15_rmf_get_size_keys | fips_selftest_ippsRSAVerify_PKCS1v15_rmf_get_size_keys | Understand memory requirements of RSA PKCS1 v1.5 signature verfication |
19-
| fips_selftest_ippsRSASignVerify_PKCS1v15_rmf_get_size | fips_selftest_ippsRSAVerify_PKCS1v15_rmf_get_size | Understand memory requirements of RSA PKCS1 v1.5 signature verfication |
18+
| fips_selftest_ippsRSASignVerify_PKCS1v15_rmf_get_size_keys | fips_selftest_ippsRSAVerify_PKCS1v15_rmf_get_size_keys | Understand memory requirements of RSA PKCS1 v1.5 signature verification |
19+
| fips_selftest_ippsRSASignVerify_PKCS1v15_rmf_get_size | fips_selftest_ippsRSAVerify_PKCS1v15_rmf_get_size | Understand memory requirements of RSA PKCS1 v1.5 signature verification |
2020

2121
## Intel® Cryptography Primitives Library v1.0.0
2222

OVERVIEW.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ List of CPU feature subsets that the library has special optimizations for:
152152
- Intel AVX-512 IFMA
153153
- Intel AVX-512 GFNI
154154
- SM3
155+
- SM4
155156
- SHA512
156157

157158
> **NOTE:** For some features there is also an opportunity to force their dispatching inside the 1CPU libraries manually during the compile time. For more information please, refer to [common for all operating systems CMake build options](./BUILD.md/#common-for-all-operating-systems).

include/ippcpversion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
#define CRYPTOLIBVERSION_H__
2828

2929
#define CRYPTO_LIB_VERSION_MAJOR 1
30-
#define CRYPTO_LIB_VERSION_MINOR 1
30+
#define CRYPTO_LIB_VERSION_MINOR 2
3131
#define CRYPTO_LIB_VERSION_PATCH 0
3232

3333
// Major interface version
3434
#define CRYPTO_LIB_INTERFACE_VERSION_MAJOR 12
3535
// Minor interface version
36-
#define CRYPTO_LIB_INTERFACE_VERSION_MINOR 1
36+
#define CRYPTO_LIB_INTERFACE_VERSION_MINOR 2
3737

3838
#define CRYPTO_LIB_VERSION_STR STR(CRYPTO_LIB_VERSION_MAJOR) "." STR(CRYPTO_LIB_VERSION_MINOR) "." STR(CRYPTO_LIB_VERSION_PATCH) \
3939
" (" STR(CRYPTO_LIB_INTERFACE_VERSION_MAJOR) "." STR(CRYPTO_LIB_INTERFACE_VERSION_MINOR) ")"

include/ippversion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
#define IPPVERSION_H__
3333

3434
#define IPP_VERSION_MAJOR 1
35-
#define IPP_VERSION_MINOR 1
35+
#define IPP_VERSION_MINOR 2
3636
#define IPP_VERSION_UPDATE 0
3737

3838
// Major interface version
3939
#define IPP_INTERFACE_VERSION_MAJOR 12
4040
// Minor interface version
41-
#define IPP_INTERFACE_VERSION_MINOR 1
41+
#define IPP_INTERFACE_VERSION_MINOR 2
4242

4343
#define IPP_VERSION_STR STR(IPP_VERSION_MAJOR) "." STR(IPP_VERSION_MINOR) "." STR(IPP_VERSION_UPDATE) " (" STR(IPP_INTERFACE_VERSION_MAJOR) "." STR(IPP_INTERFACE_VERSION_MINOR) " )"
4444

sources/ippcp/crypto_mb/include/crypto_mb/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
/* crypto_mb name & version */
2323
#define MBX_LIB_NAME() "crypto_mb"
2424
#define MBX_VER_MAJOR 1
25-
#define MBX_VER_MINOR 1
25+
#define MBX_VER_MINOR 2
2626
#define MBX_VER_PATCH 0
2727

2828
/* major interface version */
2929
#define MBX_INTERFACE_VERSION_MAJOR 12
3030
/* minor interface version */
31-
#define MBX_INTERFACE_VERSION_MINOR 1
31+
#define MBX_INTERFACE_VERSION_MINOR 2
3232

3333
typedef struct {
3434
int major; /* e.g. 1 */

sources/ippcp/crypto_mb/src/sm4/ccm/sm4_ccm_get_tag_mb16_api.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ mbx_status16 OWNAPI(mbx_sm4_ccm_get_tag_mb16)(int8u* pa_tag[SM4_LINES],
2323
SM4_CCM_CTX_mb16* p_context)
2424
{
2525
int buf_no;
26-
mbx_status16 status = 0;
27-
int16u mb_mask = 0xFFFF;
28-
int64u* processed_len = SM4_CCM_CONTEXT_PROCESSED_LEN(p_context);
29-
int64u* msg_len = SM4_CCM_CONTEXT_MSG_LEN(p_context);
26+
mbx_status16 status = 0;
27+
int16u mb_mask = 0xFFFF;
3028

3129
/* Test input pointers */
3230
if (NULL == pa_tag || NULL == tag_len || NULL == p_context) {
@@ -54,12 +52,6 @@ mbx_status16 OWNAPI(mbx_sm4_ccm_get_tag_mb16)(int8u* pa_tag[SM4_LINES],
5452
if (tag_len[buf_no] < 4 || tag_len[buf_no] > 16 || tag_len[buf_no] & 0x1) {
5553
status = MBX_SET_STS16(status, buf_no, MBX_STATUS_MISMATCH_PARAM_ERR);
5654
mb_mask &= ~(0x1 << buf_no);
57-
} else {
58-
/* Check if total processed length is not equal to total message length passed at init */
59-
if (processed_len[buf_no] != msg_len[buf_no]) {
60-
status = MBX_SET_STS16(status, buf_no, MBX_STATUS_MISMATCH_PARAM_ERR);
61-
mb_mask &= ~(0x1 << buf_no);
62-
}
6355
}
6456
}
6557
}

sources/ippcp/hash/md5/pcpmd5stuff.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
* limitations under the License.
1515
*************************************************************************/
1616

17-
/*
18-
//
17+
/*
18+
//
1919
// Purpose:
2020
// Cryptography Primitive.
2121
// Digesting message according to MD5
2222
// (derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm)
23-
//
23+
//
2424
// Equivalent code is available from RFC 1321.
25-
//
25+
//
2626
// Contents:
27-
// MD4 methods and constants
28-
//
27+
// MD5 methods and constants
28+
//
2929
*/
3030

3131
#include "owndefs.h"

sources/ippcp/hash/sha1/pcpsha1stuff.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
* limitations under the License.
1515
*************************************************************************/
1616

17-
/*
18-
//
17+
/*
18+
//
1919
// Purpose:
2020
// Cryptography Primitive.
2121
// Digesting message according to SHA1
22-
//
22+
//
2323
// Contents:
24-
// SHA1 stuff
24+
// SHA1 methods and constants
2525
//
2626
*/
2727

sources/ippcp/hash/sha256/pcpsha256stuff.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,7 @@
2121
// Digesting message according to SHA256
2222
//
2323
// Contents:
24-
// ippsSHA256GetSize()
25-
// ippsSHA256Init()
26-
// ippsSHA256Pack()
27-
// ippsSHA256Unpack()
28-
// ippsSHA256Duplicate()
29-
// ippsSHA256Update()
30-
// ippsSHA256GetTag()
31-
// ippsSHA256Final()
32-
// ippsSHA256MessageDigest()
33-
//
24+
// SHA256 methods and constants
3425
//
3526
*/
3627

sources/ippcp/hash/sha512/pcpsha512stuff.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
// SHA512 message digest
2222
//
2323
// Contents:
24-
// SHA512 stuff
25-
//
24+
// SHA512 methods and constants
2625
//
2726
*/
2827

0 commit comments

Comments
 (0)