Services/KeyExchange: Difference between revisions

Jump to navigation Jump to search
Line 77: Line 77:


== Key derivation ==
== Key derivation ==
The encryption key T(1) and the HMAC key T(2) will be derived from the strong J-PAKE secret K as follows:
key_string = HMAC-SHA256(K, "Sync-AES_256_CBC-HMAC256")
T(1) = HMAC-SHA256(key_string, "" + "Sync-AES_256_CBC-HMAC256" + 0x01)
T(2) = HMAC-SHA256(key_string, T(1) + Sync-AES_256_CBC-HMAC256" + 0x02)


== Data format ==
== Data format ==
canmove, Confirmed users
725

edits

Navigation menu