bip151: set aad again.

This commit is contained in:
Christopher Jeffrey 2016-07-25 22:18:01 -07:00
parent b0bb5d516d
commit eb9f35c8b4
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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() {