From fcaa3f0d73d11a49aa0ae35ffe60619a6fd28d2a Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Tue, 8 Jul 2014 19:59:35 -0700 Subject: [PATCH] Simplify HKDF interface. --- .../main/java/org/whispersystems/libaxolotl/kdf/HKDF.java | 3 +-- .../main/java/org/whispersystems/libaxolotl/kdf/HKDFv2.java | 5 ----- .../main/java/org/whispersystems/libaxolotl/kdf/HKDFv3.java | 5 ----- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/libaxolotl/src/main/java/org/whispersystems/libaxolotl/kdf/HKDF.java b/libaxolotl/src/main/java/org/whispersystems/libaxolotl/kdf/HKDF.java index 2301b4fbbc..d190822df0 100644 --- a/libaxolotl/src/main/java/org/whispersystems/libaxolotl/kdf/HKDF.java +++ b/libaxolotl/src/main/java/org/whispersystems/libaxolotl/kdf/HKDF.java @@ -63,7 +63,7 @@ public abstract class HKDF { ByteArrayOutputStream results = new ByteArrayOutputStream(); int remainingBytes = outputSize; - for (int i= getIterationStartOffset();i