XRootD
Loading...
Searching...
No Matches
XrdSecProtect.cc File Reference
#include <cinttypes>
#include <netinet/in.h>
#include <cstdarg>
#include <cstring>
#include <sys/types.h>
#include <sys/uio.h>
#include <openssl/sha.h>
#include <openssl/evp.h>
#include "XrdVersion.hh"
#include "XProtocol/XProtocol.hh"
#include "XrdSec/XrdSecInterface.hh"
#include "XrdSec/XrdSecProtect.hh"
#include "XrdSec/XrdSecProtector.hh"
#include "XrdSys/XrdSysAtomics.hh"
#include "XrdSys/XrdSysE2T.hh"
#include "XrdSys/XrdSysPlatform.hh"
#include "XrdSys/XrdSysPthread.hh"
Include dependency graph for XrdSecProtect.cc:

Go to the source code of this file.

Classes

struct  XrdSecProtection::XrdSecReq

Namespaces

namespace  XrdSecProtection

Functions

static void EVP_MD_CTX_free (EVP_MD_CTX *ctx)
static EVP_MD_CTX * EVP_MD_CTX_new ()

Class Documentation

◆ XrdSecProtection::XrdSecReq

struct XrdSecProtection::XrdSecReq

Definition at line 78 of file XrdSecProtect.cc.

Collaboration diagram for XrdSecProtection::XrdSecReq:
Class Members
SecurityRequest secReq
unsigned char secSig

Function Documentation

◆ EVP_MD_CTX_free()

void EVP_MD_CTX_free ( EVP_MD_CTX * ctx)
static

Definition at line 64 of file XrdSecProtect.cc.

64 {
65 if (ctx) {
66 EVP_MD_CTX_cleanup(ctx);
67 OPENSSL_free(ctx);
68 }
69}

◆ EVP_MD_CTX_new()

EVP_MD_CTX * EVP_MD_CTX_new ( )
static

Definition at line 58 of file XrdSecProtect.cc.

58 {
59 EVP_MD_CTX *ctx = (EVP_MD_CTX *)OPENSSL_malloc(sizeof(EVP_MD_CTX));
60 if (ctx) EVP_MD_CTX_init(ctx);
61 return ctx;
62}