885 B
885 B
ConcatKDF (HMAC) Key Verification
Verifies a key derived with the ConcatKDF (HMAC) algorithm.
Source library: cryptography
Overview
This node re-derives a key using the same input parameters as the ConcatKDF (HMAC) Key Derivation node and compares it in constant time to an expected key.
Parameters
- message: The original input keying material as a
BYTESLIKEobject. - expected_key: The
BYTESLIKEkey to check against. - length: The length of the derived key in bytes. Must match the original derivation.
- algorithm: The original hash function used for the HMAC operation.
- salt: (Optional) The original
BYTESLIKEsalt. - other_info: (Optional) The original application-specific context information.
Outputs
- verified_status: A
BOOLEANthat isTrueif the re-derived key matches the expected key, andFalseotherwise.