aws-lc-fips-sys 0.14.2

AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. This is the FIPS validated version of AWS-LC.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
#include <stdlib.h>

#include <openssl/crypto.h>
/*
 * This program is used during the FIPS libcrypto build on Windows. It is the
 * smallest possible executable that links with libcrypto and can trigger the
 * power-on self tests.
 */
int main(int argc, char *argv[]) {
  fprintf(stderr, "This will only print if the power-on self-tests pass.\n");
  // To ensure the linker links libcrypto call something
  fprintf(stderr, "FIPS mode is %d\n", FIPS_mode());

  exit(1);
}