Macros | Functions
self_check.c File Reference
#include <openssl/crypto.h>
#include <stdio.h>
#include <stdlib.h>
#include <openssl/aead.h>
#include <openssl/aes.h>
#include <openssl/bn.h>
#include <openssl/des.h>
#include <openssl/dh.h>
#include <openssl/digest.h>
#include <openssl/ec.h>
#include <openssl/ecdsa.h>
#include <openssl/ec_key.h>
#include <openssl/nid.h>
#include <openssl/rsa.h>
#include <openssl/sha.h>
#include "../../internal.h"
#include "../ec/internal.h"
#include "../ecdsa/internal.h"
#include "../rand/internal.h"
#include "../tls/internal.h"
Include dependency graph for self_check.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MODULE_DIGEST_SIZE   SHA512_DIGEST_LENGTH
 

Functions

int boringssl_fips_self_test (const uint8_t *module_hash, size_t module_hash_len)
 
int BORINGSSL_self_test (void)
 
static int check_test (const void *expected, const void *actual, size_t expected_len, const char *name)
 
static void hexdump (const uint8_t *in, size_t len)
 
static DHself_test_dh (void)
 
static EC_KEYself_test_ecdsa_key (void)
 
static RSAself_test_rsa_key (void)
 
static int set_bignum (BIGNUM **out, const uint8_t *in, size_t len)
 

Macro Definition Documentation

◆ MODULE_DIGEST_SIZE

#define MODULE_DIGEST_SIZE   SHA512_DIGEST_LENGTH

Definition at line 295 of file self_check.c.

Function Documentation

◆ boringssl_fips_self_test()

int boringssl_fips_self_test ( const uint8_t module_hash,
size_t  module_hash_len 
)

Definition at line 298 of file self_check.c.

◆ BORINGSSL_self_test()

int BORINGSSL_self_test ( void  )

Definition at line 870 of file self_check.c.

◆ check_test()

static int check_test ( const void *  expected,
const void *  actual,
size_t  expected_len,
const char *  name 
)
static

Definition at line 71 of file self_check.c.

◆ hexdump()

static void hexdump ( const uint8_t in,
size_t  len 
)
static

Definition at line 65 of file self_check.c.

◆ self_test_dh()

static DH* self_test_dh ( void  )
static

Definition at line 257 of file self_check.c.

◆ self_test_ecdsa_key()

static EC_KEY* self_test_ecdsa_key ( void  )
static

Definition at line 223 of file self_check.c.

◆ self_test_rsa_key()

static RSA* self_test_rsa_key ( void  )
static

Definition at line 90 of file self_check.c.

◆ set_bignum()

static int set_bignum ( BIGNUM **  out,
const uint8_t in,
size_t  len 
)
static

Definition at line 85 of file self_check.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:30