SPAKE2/SPAKE2+ password-authenticated key exchange for OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use Result.Syntax instead of local let* bindings

Replace `let ( let* ) = Result.bind` with `open Result.Syntax` across
multiple packages: x509, tls, requests, ca-certs, cpio, jsonwt, matter,
tar, spake2, crypto, gpt, mbr.

The stdlib Result.Syntax module provides the same let* operator.

+1 -2
+1 -2
lib/spake2.ml
··· 14 14 let log_src = Logs.Src.create "spake2" 15 15 16 16 module Log = (val Logs.src_log log_src : Logs.LOG) 17 - 18 - let ( let* ) = Result.bind 17 + open Result.Syntax 19 18 20 19 let hkdf_derive ~salt ~ikm ~info ~length = 21 20 let prk = Hkdf.extract ~hash:`SHA256 ~salt ikm in