|
| derive (cls, salt, key_material, length=32) |
|
◆ _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:
- tropicsquare/ports/micropython/hkdf.py