24
edits
(→Upgrading existing Sync Keys to the new AES key: Added links to J-PAKE and SyncID in this Wiki for navigating the referenced specifications) |
(→Deriving encryption and HMAC keys from the Sync Key: added missing value for HMAC_INPUT) |
||
Line 46: | Line 46: | ||
The resulting key is then expanded to an encryption and HMAC key using the algorithm described in [http://tools.ietf.org/html/rfc5869 RFC 5869] | The resulting key is then expanded to an encryption and HMAC key using the algorithm described in [http://tools.ietf.org/html/rfc5869 RFC 5869] | ||
// Our extra input to SHA256-HMAC in generateEntry | |||
// This includes the full crypto spec; change this when our algo changes. | |||
HMAC_INPUT: "Sync-AES_256_CBC-HMAC256", | |||
// Reuse the hasher. | // Reuse the hasher. | ||
let h = Utils.makeHMACHasher(); | let h = Utils.makeHMACHasher(); |
edits