Remove method that just wraps a MAC call.

This commit is contained in:
akwizgran
2017-11-28 10:40:19 +00:00
parent cc87e6fd1f
commit d2348a4e7d
5 changed files with 17 additions and 34 deletions

View File

@@ -32,18 +32,6 @@ public interface CryptoComponent {
*/
SecretKey deriveKey(String label, SecretKey k, byte[]... inputs);
/**
* Derives a nonce from the given secret key that can be used for key
* binding.
*
* TODO: This just calls mac(), remove it
*
* @param label a namespaced label indicating the purpose of this nonce,
* to prevent it from being repurposed or colliding with a nonce derived
* for another purpose
*/
byte[] deriveKeyBindingNonce(String label, SecretKey k);
/**
* Derives a common shared secret from two public keys and one of the
* corresponding private keys.