Botan 1.10.17
Botan::OSSL_BN_CTX Class Reference

#include <bn_wrap.h>

Public Member Functions

OSSL_BN_CTXoperator= (const OSSL_BN_CTX &)
 OSSL_BN_CTX ()
 OSSL_BN_CTX (const OSSL_BN_CTX &)
 ~OSSL_BN_CTX ()

Public Attributes

BN_CTX * value

Detailed Description

Lightweight OpenSSL BN_CTX wrapper. For internal use only.

Definition at line 42 of file bn_wrap.h.

Constructor & Destructor Documentation

◆ OSSL_BN_CTX() [1/2]

Botan::OSSL_BN_CTX::OSSL_BN_CTX ( )

Definition at line 86 of file bn_wrap.cpp.

87 {
88 value = BN_CTX_new();
89 }
BN_CTX * value
Definition bn_wrap.h:45

References value.

Referenced by operator=(), and OSSL_BN_CTX().

◆ OSSL_BN_CTX() [2/2]

Botan::OSSL_BN_CTX::OSSL_BN_CTX ( const OSSL_BN_CTX & )

Definition at line 94 of file bn_wrap.cpp.

95 {
96 value = BN_CTX_new();
97 }

References OSSL_BN_CTX(), and value.

◆ ~OSSL_BN_CTX()

Botan::OSSL_BN_CTX::~OSSL_BN_CTX ( )

Definition at line 102 of file bn_wrap.cpp.

103 {
104 BN_CTX_free(value);
105 }

References value.

Member Function Documentation

◆ operator=()

OSSL_BN_CTX & Botan::OSSL_BN_CTX::operator= ( const OSSL_BN_CTX & )

Definition at line 110 of file bn_wrap.cpp.

111 {
112 value = BN_CTX_new();
113 return (*this);
114 }

References OSSL_BN_CTX(), and value.

Member Data Documentation

◆ value

BN_CTX* Botan::OSSL_BN_CTX::value

Definition at line 45 of file bn_wrap.h.

Referenced by operator=(), OSSL_BN_CTX(), OSSL_BN_CTX(), and ~OSSL_BN_CTX().


The documentation for this class was generated from the following files: