MySQL 9.1.0
Source Code Documentation
classic_auth.cc File Reference
#include "classic_auth.h"
#include <array>
#include <memory>
#include <system_error>
#include <openssl/evp.h>
#include <openssl/ssl.h>
#include <openssl/x509.h>
#include "auth_digest.h"
#include "mysql/harness/stdx/expected.h"
#include "openssl_version.h"

Classes

struct  OsslDeleter< BIO >
 
struct  OsslDeleter< EVP_PKEY_CTX >
 
struct  OsslDeleter< X509 >
 

Typedefs

using Bio = std::unique_ptr< BIO, OsslDeleter< BIO > >
 
using EvpPkey = std::unique_ptr< EVP_PKEY, OsslDeleter< EVP_PKEY > >
 
using X509_managed = std::unique_ptr< X509, OsslDeleter< X509 > >
 
using EvpPkeyCtx = std::unique_ptr< EVP_PKEY_CTX, OsslDeleter< EVP_PKEY_CTX > >
 

Functions

static void xor_plaintext (std::string &plaintext, std::string_view pattern)
 

Typedef Documentation

◆ Bio

using Bio = std::unique_ptr<BIO, OsslDeleter<BIO> >

◆ EvpPkey

using EvpPkey = std::unique_ptr<EVP_PKEY, OsslDeleter<EVP_PKEY> >

◆ EvpPkeyCtx

using EvpPkeyCtx = std::unique_ptr<EVP_PKEY_CTX, OsslDeleter<EVP_PKEY_CTX> >

◆ X509_managed

using X509_managed = std::unique_ptr<X509, OsslDeleter<X509> >

Function Documentation

◆ xor_plaintext()

static void xor_plaintext ( std::string &  plaintext,
std::string_view  pattern 
)
static