pytropicsquare
 
Loading...
Searching...
No Matches
tropicsquare.ports.micropython.aesgcm.AESGCM Class Reference

Public Member Functions

 __init__ (self, key)
 
 encrypt (self, nonce, data, associated_data)
 
 decrypt (self, nonce, data, associated_data)
 

Public Attributes

 key
 
 H
 

Protected Member Functions

 _encrypt_block (self, block)
 
 _gf_mult (self, X, Y)
 
 _ghash (self, aad, ciphertext)
 
 _inc32 (self, block)
 

Protected Attributes

 _aes
 

Constructor & Destructor Documentation

◆ __init__()

tropicsquare.ports.micropython.aesgcm.AESGCM.__init__ (   self,
  key 
)

Member Function Documentation

◆ _encrypt_block()

tropicsquare.ports.micropython.aesgcm.AESGCM._encrypt_block (   self,
  block 
)
protected

◆ _gf_mult()

tropicsquare.ports.micropython.aesgcm.AESGCM._gf_mult (   self,
  X,
  Y 
)
protected

◆ _ghash()

tropicsquare.ports.micropython.aesgcm.AESGCM._ghash (   self,
  aad,
  ciphertext 
)
protected

◆ _inc32()

tropicsquare.ports.micropython.aesgcm.AESGCM._inc32 (   self,
  block 
)
protected

◆ decrypt()

tropicsquare.ports.micropython.aesgcm.AESGCM.decrypt (   self,
  nonce,
  data,
  associated_data 
)

◆ encrypt()

tropicsquare.ports.micropython.aesgcm.AESGCM.encrypt (   self,
  nonce,
  data,
  associated_data 
)

Member Data Documentation

◆ _aes

tropicsquare.ports.micropython.aesgcm.AESGCM._aes
protected

◆ H

tropicsquare.ports.micropython.aesgcm.AESGCM.H

◆ key

tropicsquare.ports.micropython.aesgcm.AESGCM.key

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