pytropicsquare
 
Loading...
Searching...
No Matches
tropicsquare.ports.micropython.hkdf.HKDF Class Reference

Public Member Functions

 derive (cls, salt, key_material, length=32)
 

Protected Member Functions

 _hkdf_extract (cls, salt, ikm)
 
 _hkdf_expand (cls, prk, info, length)
 
 _hmac_sha256 (cls, key, message)
 

Member Function Documentation

◆ _hkdf_expand()

tropicsquare.ports.micropython.hkdf.HKDF._hkdf_expand (   cls,
  prk,
  info,
  length 
)
protected
HKDF-Expand step.
'info' is optional context and application specific information (can be empty).

◆ _hkdf_extract()

tropicsquare.ports.micropython.hkdf.HKDF._hkdf_extract (   cls,
  salt,
  ikm 
)
protected
HKDF-Extract step.
If salt is empty, use a string of HashLen zeros.

◆ _hmac_sha256()

tropicsquare.ports.micropython.hkdf.HKDF._hmac_sha256 (   cls,
  key,
  message 
)
protected

◆ derive()

tropicsquare.ports.micropython.hkdf.HKDF.derive (   cls,
  salt,
  key_material,
  length = 32 
)

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