pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\Algorithms\AEAD\GCM Class Reference

Public Member Functions

 __construct ($cipher, $key, $taglen)
 
 ad ($IV, $C, $A, $T)
 
 ae ($IV, $P, $A)
 

Static Public Member Functions

static inc ($X, $n)
 

Protected Member Functions

 gctr ($ICB, $X)
 
 ghash ($X)
 

Protected Attributes

 $cipher
 Approved block cipher with a 128-bit block size.
 
 $H
 Block H, the hash subkey.
 
 $table
 Pre-computation table for GF(2**128)
 
 $taglen
 Output tag length.
 

Detailed Description

Galois/Counter Mode (GCM) and GMAC implementation based on NIST SP 800-38D.

Definition at line 18 of file GCM.php.


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