Simplified the KDF implementation, since one iteration is enough.
We don't need to call HMAC-SHA-384 more than once to get 256 bits of key material. The code will throw a RuntimeException if CIPHER_KEY_BYTES is changed in future so that one iteration's no longer enough.
Loading
Please register or sign in to comment