Skip to content

Commit

Permalink
Intel(R) Integrated Performance Primitives Cryptography 2021.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ipl_ci committed Oct 4, 2023
1 parent 3c0ad55 commit e9a6b55
Show file tree
Hide file tree
Showing 53 changed files with 42 additions and 7,245 deletions.
4 changes: 2 additions & 2 deletions include/ippversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
#define IPPVERSION_H__

#define IPP_VERSION_MAJOR 2021
#define IPP_VERSION_MINOR 10
#define IPP_VERSION_MINOR 9
#define IPP_VERSION_UPDATE 0

// Major interface version
#define IPP_INTERFACE_VERSION_MAJOR 11
// Minor interface version
#define IPP_INTERFACE_VERSION_MINOR 10
#define IPP_INTERFACE_VERSION_MINOR 9

#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) " )"

Expand Down
9 changes: 2 additions & 7 deletions sources/ippcp/crypto_mb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ set(CRYPTO_MB_SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src")
set(MB_DYN_LIB_TARGET "crypto_mb") # Dynamic library
set(MB_STATIC_LIB_TARGET "crypto_mb_s") # Static library

# Define public headers
file(GLOB MB_PUBLIC_HEADERS "${CRYPTO_MB_INCLUDE_DIR}/crypto_mb/*.h*")
# remove fips_cert.h header if fips-mode is not chosen
if(NOT DEFINED MBX_FIPS_MODE)
list(REMOVE_ITEM MB_PUBLIC_HEADERS "${CRYPTO_MB_INCLUDE_DIR}/crypto_mb/fips_cert.h")
endif()

if(MB_STANDALONE)
foreach( OUTPUTCONFIG ${CMAKE_CONFIGURATION_TYPES} )
string( TOUPPER ${OUTPUTCONFIG} OUTPUTCONFIG )
Expand All @@ -64,6 +57,8 @@ if(MB_STANDALONE)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
else()
file(GLOB MB_PUBLIC_HEADERS "${CRYPTO_MB_INCLUDE_DIR}/crypto_mb/*.h*")

# Make variables below accessible in parent CMakeLists.txt
set(MBX_INTERFACE_VERSION ${MBX_INTERFACE_VERSION} PARENT_SCOPE)
set(MB_PUBLIC_HEADERS ${MB_PUBLIC_HEADERS} PARENT_SCOPE)
Expand Down
6 changes: 3 additions & 3 deletions sources/ippcp/crypto_mb/include/crypto_mb/ec_nistp256.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ EXTERN_C mbx_status mbx_nistp256_ecdsa_sign_setup_mb8(int64u* pa_inv_eph_skey[8]
/*
// computes ECDSA signature
//
// pa_sign_r[] array of pointers to the r-components of the signatures
// pa_sign_s[] array of pointers to the s-components of the signatures
// pa_sign_pr[] array of pointers to the r-components of the signatures
// pa_sign_ps[] array of pointers to the s-components of the signatures
// pa_msg[] array of pointers to the messages are being signed
// pa_sgn_rp[] array of pointers to the pre-computed r-components of the signatures
// pa_sign_rp[] array of pointers to the pre-computed r-components of the signatures
// pa_inv_eph_skey[] array of pointers to the inversion of signer's ephemeral private keys
// pa_reg_skey[] array of pointers to the regular signer's ephemeral private keys
// pBuffer pointer to the scratch buffer
Expand Down
6 changes: 3 additions & 3 deletions sources/ippcp/crypto_mb/include/crypto_mb/ec_nistp384.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ EXTERN_C mbx_status mbx_nistp384_ecdsa_sign_setup_mb8(int64u* pa_inv_eph_skey[8]
/*
// computes ECDSA signature
//
// pa_sign_r[] array of pointers to the r-components of the signatures
// pa_sign_s[] array of pointers to the s-components of the signatures
// pa_sign_pr[] array of pointers to the r-components of the signatures
// pa_sign_ps[] array of pointers to the s-components of the signatures
// pa_msg[] array of pointers to the messages are being signed
// pa_sgn_rp[] array of pointers to the pre-computed r-components of the signatures
// pa_sign_rp[] array of pointers to the pre-computed r-components of the signatures
// pa_inv_eph_skey[] array of pointers to the inversion of signer's ephemeral private keys
// pa_reg_skey[] array of pointers to the regular signer's ephemeral private keys
// pBuffer pointer to the scratch buffer
Expand Down
6 changes: 3 additions & 3 deletions sources/ippcp/crypto_mb/include/crypto_mb/ec_nistp521.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ EXTERN_C mbx_status mbx_nistp521_ecdsa_sign_setup_mb8(int64u* pa_inv_eph_skey[8]
/*
// computes ECDSA signature
//
// pa_sign_r[] array of pointers to the r-components of the signatures
// pa_sign_s[] array of pointers to the s-components of the signatures
// pa_sign_pr[] array of pointers to the r-components of the signatures
// pa_sign_ps[] array of pointers to the s-components of the signatures
// pa_msg[] array of pointers to the messages are being signed
// pa_sgn_rp[] array of pointers to the pre-computed r-components of the signatures
// pa_sign_rp[] array of pointers to the pre-computed r-components of the signatures
// pa_inv_eph_skey[] array of pointers to the inversion of signer's ephemeral private keys
// pa_reg_skey[] array of pointers to the regular signer's ephemeral private keys
// pBuffer pointer to the scratch buffer
Expand Down
259 changes: 0 additions & 259 deletions sources/ippcp/crypto_mb/include/crypto_mb/fips_cert.h

This file was deleted.

4 changes: 2 additions & 2 deletions sources/ippcp/crypto_mb/include/crypto_mb/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
#define MBX_LIB_NAME() "crypto_mb"
#define MBX_VER_MAJOR 1
#define MBX_VER_MINOR 0
#define MBX_VER_REV 10
#define MBX_VER_REV 9

/* major interface version */
#define MBX_INTERFACE_VERSION_MAJOR 11
/* minor interface version */
#define MBX_INTERFACE_VERSION_MINOR 10
#define MBX_INTERFACE_VERSION_MINOR 9

typedef struct {
int major; /* e.g. 1 */
Expand Down
Loading

0 comments on commit e9a6b55

Please sign in to comment.