Security Scol plugin
Public Types | Static Public Member Functions | Protected Member Functions | List of all members
OAEP< H, MGF > Class Template Reference

OAEP padding. More...

#include <oaep.h>

Inheritance diagram for OAEP< H, MGF >:
OAEP_Base EncryptionStandard PK_EncryptionMessageEncodingMethod

Public Types

typedef OAEP< H, MGF > EncryptionMessageEncodingMethod
 

Static Public Member Functions

static std::string CRYPTOPP_API StaticAlgorithmName ()
 

Protected Member Functions

unsigned int DigestSize () const
 
HashTransformationNewHash () const
 
MaskGeneratingFunctionNewMGF () const
 

Additional Inherited Members

- Public Member Functions inherited from OAEP_Base
bool ParameterSupported (const char *name) const
 
size_t MaxUnpaddedLength (size_t paddedLength) const
 max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus)
 
void Pad (RandomNumberGenerator &rng, const byte *raw, size_t inputLength, byte *padded, size_t paddedLength, const NameValuePairs &parameters) const
 
DecodingResult Unpad (const byte *padded, size_t paddedLength, byte *raw, const NameValuePairs &parameters) const
 

Detailed Description

template<class H, class MGF = P1363_MGF1>
class OAEP< H, MGF >

OAEP padding.

Template Parameters
HHashTransformation derived class
MGFMaskGeneratingFunction derived class
See also
EME-OAEP, for use with classes derived from TF_ES
Since
Crypto++ 2.1

Definition at line 38 of file oaep.h.

Member Typedef Documentation

◆ EncryptionMessageEncodingMethod

template<class H , class MGF = P1363_MGF1>
typedef OAEP<H, MGF> OAEP< H, MGF >::EncryptionMessageEncodingMethod

Definition at line 42 of file oaep.h.

Member Function Documentation

◆ DigestSize()

template<class H , class MGF = P1363_MGF1>
unsigned int OAEP< H, MGF >::DigestSize ( ) const
inlineprotectedvirtual

Implements OAEP_Base.

Definition at line 45 of file oaep.h.

◆ NewHash()

template<class H , class MGF = P1363_MGF1>
HashTransformation * OAEP< H, MGF >::NewHash ( ) const
inlineprotectedvirtual

Implements OAEP_Base.

Definition at line 46 of file oaep.h.

◆ NewMGF()

template<class H , class MGF = P1363_MGF1>
MaskGeneratingFunction * OAEP< H, MGF >::NewMGF ( ) const
inlineprotectedvirtual

Implements OAEP_Base.

Definition at line 47 of file oaep.h.

◆ StaticAlgorithmName()

template<class H , class MGF = P1363_MGF1>
static std::string CRYPTOPP_API OAEP< H, MGF >::StaticAlgorithmName ( )
inlinestatic

Definition at line 41 of file oaep.h.


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