libp2p/crypto/hkdf

    Dark Mode
Search:
Group by:
  Source   Edit

Nim-LibP2P Copyright (c) 2020 Status Research & Development GmbH

Licensed under either of

at your option. This file may not be copied, modified, or distributed except according to those terms.

Types

HKDFResult[len] = array[len, byte]
  Source   Edit

Procs

proc hkdf[T: sha256; len: static int](_: type[T];
                                      salt, ikm, info: openArray[byte];
                                      outputs: var openArray[HKDFResult[len]]) {.
    ...raises: [Defect].}
  Source   Edit