bip151: set aad again.
This commit is contained in:
parent
b0bb5d516d
commit
eb9f35c8b4
@ -106,6 +106,7 @@ BIP151Stream.prototype.sequence = function sequence() {
|
||||
this.seq++;
|
||||
this.chacha.init(null, this.iv());
|
||||
this.aead.init(null, this.iv());
|
||||
this.aead.aad(this.sid);
|
||||
};
|
||||
|
||||
BIP151Stream.prototype.iv = function iv() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user