diff options
Diffstat (limited to 'src/main/java/org/whispersystems/libaxolotl/kdf/DerivedRootSecrets.java')
-rw-r--r-- | src/main/java/org/whispersystems/libaxolotl/kdf/DerivedRootSecrets.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/main/java/org/whispersystems/libaxolotl/kdf/DerivedRootSecrets.java b/src/main/java/org/whispersystems/libaxolotl/kdf/DerivedRootSecrets.java deleted file mode 100644 index 82cc541d..00000000 --- a/src/main/java/org/whispersystems/libaxolotl/kdf/DerivedRootSecrets.java +++ /dev/null @@ -1,26 +0,0 @@ -package org.whispersystems.libaxolotl.kdf; - -import org.whispersystems.libaxolotl.util.ByteUtil; - -public class DerivedRootSecrets { - - public static final int SIZE = 64; - - private final byte[] rootKey; - private final byte[] chainKey; - - public DerivedRootSecrets(byte[] okm) { - byte[][] keys = ByteUtil.split(okm, 32, 32); - this.rootKey = keys[0]; - this.chainKey = keys[1]; - } - - public byte[] getRootKey() { - return rootKey; - } - - public byte[] getChainKey() { - return chainKey; - } - -} |