hkdf_sha512.nx
buildroot/runtime/hkdf_sha512.nx
about
hkdf_sha512.nx -- HKDF-SHA-512 (RFC 5869).
Final HKDF variant, parallel to hkdf.nx (SHA-256) and
hkdf_sha384.nx (SHA-384). Used where a downstream primitive
requires the full 512-bit output width or where the whole key
ladder is anchored on SHA-512.
Output capacity: 255 * 64 = 16320 bytes. Ample for any TLS /
SSH session derivation.
dependencies 2 imports · 0 importers
imports: syscalls.nxhmac_sha512.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 14 | const HKDF512_HASH: i64 = 64 |
| 15 | const HKDF512_MAX_L: i64 = 16320 |
functions
| 17 | func hkdf512_extract(salt: *u8, salt_len: i64, |
| 31 | func hkdf512_expand(prk: *u8, |
| 73 | func main() -> i64 { |