Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIPS module checksums: add scripts and Makefile rule #8871

Closed

Commits on Apr 29, 2021

  1. Add OpenSSL::Config::Query and use it in configdata.pm

    OpenSSL::Config::Query is a configuration querying tool that's meant
    to make it easier to query the diverse configuration data for info.
    That's much easier than to dig through all the parts of %unified_info.
    levitte committed Apr 29, 2021
    Copy the full SHA
    2c5e5a0 View commit details
    Browse the repository at this point in the history
  2. Unix build file: Add a target to create providers/fips.module.sources

    This file will be the basis for the FIPS module checksum calculation
    levitte committed Apr 29, 2021
    Copy the full SHA
    4959854 View commit details
    Browse the repository at this point in the history
  3. FIPS module checksums: add scripts and Makefile rule

    This adds the following scripts:
    
    util/lang-compress.pl:
    
    Compress source code, which language is determined by the first argument.
    For the moment, we know 'perl' (perlasm source code), 'C' (C source code)
    and 'S' (Assembler with C preprocessor directives).
    This removes comments and empty lines, and compresses series of horizontal
    spaces to one single space in the languages where that's appropriate.
    
    util/fips-checksums.sh:
    
    Takes source file names as arguments, pushes them through
    util/lang-compress.pl and unifdef with FIPS_MODE defined, and calculates
    the checksum on the result.
    levitte committed Apr 29, 2021
    Copy the full SHA
    59813e8 View commit details
    Browse the repository at this point in the history
  4. GitHub CI: ensure that unifdef is installed

    This is required for 'make update' and fips checksums
    levitte committed Apr 29, 2021
    Copy the full SHA
    24fdd66 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    d95e82c View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    e88972f View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    9613054 View commit details
    Browse the repository at this point in the history