upstream: github.com/robur-coop/kdf
0
fork

Configure Feed

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

kdf, crypto: rename unused functor parameters to [_]

Warning 67 (unused-functor-parameter). The HMAC/SHA-based functors all
take a [Digestif.S] at functor level but the hash choice is baked into
the resulting module's body; the signature of the returned module has
no reference to the parameter type. Same for Block.Core params in
cipher-block mode functors (ECB_of, CBC_of, GCM_of, CCM16_of).

Files:
- kdf/hkdf/hkdf.mli, kdf/pbkdf/pbkdf.mli: Make
- ocaml-crypto/lib/cipher_block.mli: ECB_of, CBC_of, GCM_of, CCM16_of
- ocaml-crypto/rng/{crypto_rng,hmac_drbg}.mli: Make / Hmac_drbg
- ocaml-crypto/pk/{rsa,dsa,crypto_pk}.mli: OAEP, PSS, K_gen
- ocaml-crypto/ec/crypto_ec.{ml,mli}: K_gen

+2 -2
+1 -1
hkdf/hkdf.mli
··· 16 16 end 17 17 18 18 (** Given a Hash function, get the HKDF *) 19 - module Make (H : Digestif.S) : S 19 + module Make (_ : Digestif.S) : S 20 20 21 21 val extract : hash:Digestif.hash' -> ?salt:string -> string -> string 22 22 (** [extract ~hash ?salt ikm] is a convenience wrapper where the [hash] has to
+1 -1
pbkdf/pbkdf.mli
··· 18 18 end 19 19 20 20 (** Given a Hash/pseudorandom function, get the PBKDF *) 21 - module Make (H : Digestif.S) : S 21 + module Make (_ : Digestif.S) : S 22 22 23 23 val pbkdf1 : 24 24 hash:Digestif.hash' ->