Developer Reference

Contents

GetLibVersion

Returns information about the active version of the Intel IPP software for cryptography.

Syntax

const IppLibraryVersion* ippcpGetLibVersion(void)
;
Include Files
ippcp.h
Description
This function returns a pointer to a static data structure
IppLibraryVersion
that contains information about the current version of the Intel IPP software for cryptography. There is no need for you to release memory referenced by the returned pointer because it points to a static variable. The following fields of the
IppLibraryVersion
structure are available:
major
is the major number of the current library version.
minor
is the minor number of the current library version.
majorBuild
is the number of builds for the (
major.miror
) version.
build
is the total number of Intel IPP builds.
Name
is the name of the current library version.
Version
is the version string.
BuildDate
is the actual build date
For example, if the library version is "7.0", library name is "
ippcp.lib
", and build date is "Jul 20 2011", then the fields in this structure are set as follows:
major =
7,
minor =
0,
Name =
"ippcp_l.lib"
, Version =
"7.0 build 205.68"
, BuildDate =
"Jul 20 2011".

Example

The code example below shows how to use the function
ippcpGetLibVersion
.
void libinfo(void) { const IppLibraryVersion* lib = ippcpGetLibVersion();
printf("%s %s %d.%d.%d.%d\n", lib->Name, lib->Version, lib->major, lib->minor, lib->majorBuild, lib->build);
}
Output:
ippcp_l.lib 7.0 build 205.68

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804