[dylan-foundry/sodium-dylan] 03e2fe: crypto-sign* now use byte-vector for message + sig...
GitHub <[email protected]> Tue, 08 Mar 2016 00:34:34 -0800
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <56de8e9aeb716_1dc83f9e86db12bc23147d@hookshot-fe1-cp1-prd.iad.github.net.mail> |
----==_mimepart_56de8e9aeb300_1dc83f9e86db12bc2313bf
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Branch: refs/heads/master
Home: https://github.com/dylan-foundry/sodium-dylan
Commit: 03e2fe4256b43193db38117772042d2e4c627857
https://github.com/dylan-foundry/sodium-dylan/commit/03e2fe4256b43193db38117772042d2e4c627857
Author: Bruce Mitchener <[email protected]>
Date: 2016-03-08 (Tue, 08 Mar 2016)
Changed paths:
M sodium/libsodium-module.dylan
M sodium/libsodium.dylan
M sodium/libsodium.intr
M sodium/signatures-default.dylan
M sodium/signatures-ed25519.dylan
M sodium/signatures.dylan
M sodium/sodium-module.dylan
M tests/signatures-test-suite.dylan
Log Message:
-----------
crypto-sign* now use byte-vector for message + signature data.
Instead of using <C-string> which has issues with supporting both
<byte-string> and <byte-vector>, it is convenient to just use
<byte-string> and <byte-vector> directly using byte-storage-address.
This also removes some allocations when calling these functions.
Commit: 24422d22174e0c0fc073df8a638a0324db117a8d
https://github.com/dylan-foundry/sodium-dylan/commit/24422d22174e0c0fc073df8a638a0324db117a8d
Author: Bruce Mitchener <[email protected]>
Date: 2016-03-08 (Tue, 08 Mar 2016)
Changed paths:
M tests/signatures-test-suite.dylan
Log Message:
-----------
[test] Test crypto-sign with byte-vector.
This was previously only testing with byte-string as that was
the only thing that worked.
* tests/signatures-test-suite.dylan
(sign-round-trip-byte-string-helper): Rename to sign-round-trip-helper
now that it works with both byte strings and byte vectors.
(sign-round-trip-byte-string-default,
sign-round-trip-byte-string-ed25519): Update to pass in message.
(sign-round-trip-byte-vector-default,
sign-round-trip-byte-vector-ed25519): New tests.
(suite signatures-test-suite): Run new tests.
Commit: 094254f2043491ca7cf7b5b47bddf1d8d92a85c7
https://github.com/dylan-foundry/sodium-dylan/commit/094254f2043491ca7cf7b5b47bddf1d8d92a85c7
Author: Bruce Mitchener <[email protected]>
Date: 2016-03-08 (Tue, 08 Mar 2016)
Changed paths:
M sodium/libsodium-module.dylan
M sodium/libsodium.dylan
M sodium/libsodium.intr
M sodium/signatures-default.dylan
M sodium/signatures-ed25519.dylan
M sodium/signatures.dylan
M sodium/sodium-module.dylan
M tests/signatures-test-suite.dylan
Log Message:
-----------
Use <byte-vector> for key data.
This continues moving away from <C-string> and to <byte-vector>.
Compare: https://github.com/dylan-foundry/sodium-dylan/compare/8f0d7e391525...094254f20434
----==_mimepart_56de8e9aeb300_1dc83f9e86db12bc2313bf
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_56de8e9aeb300_1dc83f9e86db12bc2313bf--