pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64 Class Reference
+ Inheritance diagram for fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64:

Public Member Functions

 __construct ($key)
 
- Public Member Functions inherited from fpoirotte\Pssht\MAC\OpensshCom\UMAC\Base
 compute ($seqno, $data)
 

Static Public Member Functions

static getKeySize ()
 
static getName ()
 Return the name of the algorithm.
 
static getSize ()
 
- Static Public Member Functions inherited from fpoirotte\Pssht\MAC\OpensshCom\UMAC\Base
static isAvailable ()
 

Additional Inherited Members

- Protected Attributes inherited from fpoirotte\Pssht\MAC\OpensshCom\UMAC\Base
 $key
 Integrity key.
 
 $umac
 Underlying UMAC implementation.
 

Detailed Description

The UMAC-64 algorithm, generating 64-bits tags.

Definition at line 17 of file Len64.php.

Constructor & Destructor Documentation

fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64::__construct (   $key)
final

Construct a new MAC algorithm.

Parameters
string$keyKey for the MAC algorithm.

Implements fpoirotte\Pssht\MAC\MACInterface.

Definition at line 19 of file Len64.php.

References fpoirotte\Pssht\MAC\OpensshCom\UMAC\Base\$key.

Member Function Documentation

static fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64::getKeySize ( )
staticfinal

Get the size of a key compatible with this MAC algorithm.

Return values
intMAC key size in bytes.

Implements fpoirotte\Pssht\MAC\MACInterface.

Definition at line 25 of file Len64.php.

static fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64::getSize ( )
staticfinal

Get the size of a MAC signature generated with this algorithm.

Return values
intMAC size in bytes.

Implements fpoirotte\Pssht\MAC\MACInterface.

Definition at line 30 of file Len64.php.


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