Installing libica from the source package

If you prefer, you can install libica from the source package manually.

Procedure

  1. Download the latest libica sources from the GitHub libica website.
  2. Extract the tar archive.
    There should be a new directory named libica-4.x.x.
  3. Change to that directory and execute the following scripts and commands:
    
    # ./bootstrap.sh
    # ./configure
    # make
    # make install
    # make fipsinstall /* optional, only applicable with configure --enable-fips */
    # make check /* optional */
    
    where:
    bootstrap.sh
    Initial setup, basic configurations
    configure
    Check configurations and build the makefile. For detailed information, refer to the INSTALL file from the libica package.
    You can use the option --enable-fips when running the configure command to enable the build environment to compile with FIPS mode:
    configure --enable-fips

    libica version 4.1 is compliant to FIPS 140-3. libica versions in the range 3.0 - 4.0 are compliant to FIPS 140-2.

    You can use the option --enable-internal-tests when running the configure command to enable the internal tests for elliptic curve cryptography:

    configure --enable-internal-tests

    With this option, internal tests perform additional algorithm tests on all supported elliptic curves.

    make
    Compile and link
    make install
    Install the libraries
    make fipsinstall
    Install the FIPS HMAC file (only when configured in FIPS mode)
    make check
    Execute the libica tests