Classes | Typedefs | Enumerations | Functions | Variables
third_party/boringssl-with-bazel/src/tool/internal.h File Reference
#include <openssl/base.h>
#include <openssl/span.h>
#include <string>
#include <utility>
#include <vector>
#include <map>
Include dependency graph for third_party/boringssl-with-bazel/src/tool/internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  argument
 
struct  FileCloser
 
class  ScopedFD
 

Typedefs

using ScopedFILE = std::unique_ptr< FILE, FileCloser >
 

Enumerations

enum  ArgumentType { kRequiredArgument, kOptionalArgument, kBooleanArgument }
 

Functions

bool Ciphers (const std::vector< std::string > &args)
 
bool Client (const std::vector< std::string > &args)
 
void CloseFD (int fd)
 
bool DoPKCS12 (const std::vector< std::string > &args)
 
ScopedFILE FDToFILE (ScopedFD fd, const char *mode)
 
bool GenerateECH (const std::vector< std::string > &args)
 
bool GenerateEd25519Key (const std::vector< std::string > &args)
 
bool GenerateRSAKey (const std::vector< std::string > &args)
 
bool GetUnsigned (unsigned *out, const std::string &arg_name, unsigned default_value, const std::map< std::string, std::string > &args)
 
bool MD5Sum (const std::vector< std::string > &args)
 
ScopedFD OpenFD (const char *path, int flags)
 
bool ParseKeyValueArguments (std::map< std::string, std::string > *out_args, const std::vector< std::string > &args, const struct argument *templates)
 
void PrintUsage (const struct argument *templates)
 
bool Rand (const std::vector< std::string > &args)
 
bool ReadAll (std::vector< uint8_t > *out, FILE *in)
 
bool ReadFromFD (int fd, size_t *out_bytes_read, void *out, size_t num)
 
bool Server (const std::vector< std::string > &args)
 
bool SHA1Sum (const std::vector< std::string > &args)
 
bool SHA224Sum (const std::vector< std::string > &args)
 
bool SHA256Sum (const std::vector< std::string > &args)
 
bool SHA384Sum (const std::vector< std::string > &args)
 
bool SHA512256Sum (const std::vector< std::string > &args)
 
bool SHA512Sum (const std::vector< std::string > &args)
 
bool Sign (const std::vector< std::string > &args)
 
bool Speed (const std::vector< std::string > &args)
 
bool WriteToFD (int fd, size_t *out_bytes_written, const void *in, size_t num)
 
bool WriteToFile (const std::string &path, bssl::Span< const uint8_t > in)
 

Variables

const uint8_t kDERRSAPrivate2048 []
 
const size_t kDERRSAPrivate2048Len
 
const uint8_t kDERRSAPrivate4096 []
 
const size_t kDERRSAPrivate4096Len
 

Typedef Documentation

◆ ScopedFILE

using ScopedFILE = std::unique_ptr<FILE, FileCloser>

Enumeration Type Documentation

◆ ArgumentType

Enumerator
kRequiredArgument 
kOptionalArgument 
kBooleanArgument 

Definition at line 102 of file third_party/boringssl-with-bazel/src/tool/internal.h.

Function Documentation

◆ Ciphers()

bool Ciphers ( const std::vector< std::string > &  args)

Definition at line 26 of file ciphers.cc.

◆ Client()

bool Client ( const std::vector< std::string > &  args)

◆ CloseFD()

void CloseFD ( int  fd)

Definition at line 45 of file fd.cc.

◆ DoPKCS12()

bool DoPKCS12 ( const std::vector< std::string > &  args)

Definition at line 53 of file tool/pkcs12.cc.

◆ FDToFILE()

ScopedFILE FDToFILE ( ScopedFD  fd,
const char *  mode 
)

Definition at line 93 of file fd.cc.

◆ GenerateECH()

bool GenerateECH ( const std::vector< std::string > &  args)

Definition at line 69 of file generate_ech.cc.

◆ GenerateEd25519Key()

bool GenerateEd25519Key ( const std::vector< std::string > &  args)

Definition at line 37 of file generate_ed25519.cc.

◆ GenerateRSAKey()

bool GenerateRSAKey ( const std::vector< std::string > &  args)

Definition at line 34 of file genrsa.cc.

◆ GetUnsigned()

bool GetUnsigned ( unsigned *  out,
const std::string &  arg_name,
unsigned  default_value,
const std::map< std::string, std::string > &  args 
)

Definition at line 82 of file args.cc.

◆ MD5Sum()

bool MD5Sum ( const std::vector< std::string > &  args)

Definition at line 432 of file digest.cc.

◆ OpenFD()

ScopedFD OpenFD ( const char *  path,
int  flags 
)

Definition at line 33 of file fd.cc.

◆ ParseKeyValueArguments()

bool ParseKeyValueArguments ( std::map< std::string, std::string > *  out_args,
const std::vector< std::string > &  args,
const struct argument templates 
)

Definition at line 27 of file args.cc.

◆ PrintUsage()

void PrintUsage ( const struct argument templates)

Definition at line 75 of file args.cc.

◆ Rand()

bool Rand ( const std::vector< std::string > &  args)

Definition at line 37 of file rand.cc.

◆ ReadAll()

bool ReadAll ( std::vector< uint8_t > *  out,
FILE *  in 
)

Definition at line 27 of file boringssl-with-bazel/src/tool/file.cc.

◆ ReadFromFD()

bool ReadFromFD ( int  fd,
size_t *  out_bytes_read,
void *  out,
size_t  num 
)

Definition at line 53 of file fd.cc.

◆ Server()

bool Server ( const std::vector< std::string > &  args)

◆ SHA1Sum()

bool SHA1Sum ( const std::vector< std::string > &  args)

Definition at line 436 of file digest.cc.

◆ SHA224Sum()

bool SHA224Sum ( const std::vector< std::string > &  args)

Definition at line 440 of file digest.cc.

◆ SHA256Sum()

bool SHA256Sum ( const std::vector< std::string > &  args)

Definition at line 444 of file digest.cc.

◆ SHA384Sum()

bool SHA384Sum ( const std::vector< std::string > &  args)

Definition at line 448 of file digest.cc.

◆ SHA512256Sum()

bool SHA512256Sum ( const std::vector< std::string > &  args)

Definition at line 456 of file digest.cc.

◆ SHA512Sum()

bool SHA512Sum ( const std::vector< std::string > &  args)

Definition at line 452 of file digest.cc.

◆ Sign()

bool Sign ( const std::vector< std::string > &  args)

Definition at line 31 of file sign.cc.

◆ Speed()

bool Speed ( const std::vector< std::string > &  args)

Definition at line 1327 of file speed.cc.

◆ WriteToFD()

bool WriteToFD ( int  fd,
size_t *  out_bytes_written,
const void *  in,
size_t  num 
)

Definition at line 73 of file fd.cc.

◆ WriteToFile()

bool WriteToFile ( const std::string &  path,
bssl::Span< const uint8_t in 
)

Definition at line 56 of file boringssl-with-bazel/src/tool/file.cc.

Variable Documentation

◆ kDERRSAPrivate2048

const uint8_t kDERRSAPrivate2048[]

Definition at line 21 of file const.cc.

◆ kDERRSAPrivate2048Len

const size_t kDERRSAPrivate2048Len

Definition at line 124 of file const.cc.

◆ kDERRSAPrivate4096

const uint8_t kDERRSAPrivate4096[]

Definition at line 126 of file const.cc.

◆ kDERRSAPrivate4096Len

const size_t kDERRSAPrivate4096Len

Definition at line 325 of file const.cc.



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