Bump to using 0.3.0 release of the libsignal-client library

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
Jack Lloyd 2021-02-23 14:36:07 -05:00 committed by Josh Perez
parent 8ee3bd9687
commit 84dc166b63
4 changed files with 16 additions and 12 deletions

View file

@ -23918,8 +23918,6 @@ var Internal = Internal || {};
},
HKDF: function(input, salt, info) {
// Specific implementation of RFC 5869 that only returns the first 3 32-byte chunks
// TODO: We dont always need the third chunk, we might skip it
return Internal.crypto.sign(salt, input).then(function(PRK) {
var infoBuffer = new ArrayBuffer(info.byteLength + 1 + 32);
var infoArray = new Uint8Array(infoBuffer);
@ -23980,12 +23978,6 @@ var Internal = Internal || {};
});
};
libsignal.HKDF = {
deriveSecrets: function(input, salt, info) {
return Internal.HKDF(input, salt, info);
}
};
libsignal.crypto = {
encrypt: function(key, data, iv) {
return Internal.crypto.encrypt(key, data, iv);