C# 클래스 Org.BouncyCastle.Crypto.Modes.GcmBlockCipher

Implements the Galois/Counter mode (GCM) detailed in NIST Special Publication 800-38D.
상속: IAeadBlockCipher
파일 보기 프로젝트 열기: red-gate/iTextSharp-4.1.6 1 사용 예제들

공개 메소드들

메소드 설명
DoFinal ( byte output, int outOff ) : int
GcmBlockCipher ( IBlockCipher c ) : System
GetBlockSize ( ) : int
GetMac ( ) : byte[]
GetOutputSize ( int len ) : int
GetUpdateOutputSize ( int len ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessByte ( byte input, byte output, int outOff ) : int
ProcessBytes ( byte input, int inOff, int len, byte output, int outOff ) : int
Reset ( ) : void

비공개 메소드들

메소드 설명
Process ( byte input, byte output, int outOff ) : int
Reset ( bool clearMac ) : void
asBlock ( BigInteger bi ) : byte[]
gCTRBlock ( byte buf, int bufCount, byte output, int outOff ) : void
gHASH ( byte b, bool nonce ) : BigInteger
gHASHBlock ( byte block ) : void
inc ( byte block ) : void
multiply ( BigInteger X, BigInteger Y ) : BigInteger

메소드 상세

DoFinal() 공개 메소드

public DoFinal ( byte output, int outOff ) : int
output byte
outOff int
리턴 int

GcmBlockCipher() 공개 메소드

public GcmBlockCipher ( IBlockCipher c ) : System
c IBlockCipher
리턴 System

GetBlockSize() 공개 메소드

public GetBlockSize ( ) : int
리턴 int

GetMac() 공개 메소드

public GetMac ( ) : byte[]
리턴 byte[]

GetOutputSize() 공개 메소드

public GetOutputSize ( int len ) : int
len int
리턴 int

GetUpdateOutputSize() 공개 메소드

public GetUpdateOutputSize ( int len ) : int
len int
리턴 int

Init() 공개 메소드

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
리턴 void

ProcessByte() 공개 메소드

public ProcessByte ( byte input, byte output, int outOff ) : int
input byte
output byte
outOff int
리턴 int

ProcessBytes() 공개 메소드

public ProcessBytes ( byte input, int inOff, int len, byte output, int outOff ) : int
input byte
inOff int
len int
output byte
outOff int
리턴 int

Reset() 공개 메소드

public Reset ( ) : void
리턴 void