Commit Graph

  • dcbc8a5d5b
    Remove use of explicit pointers in state streams, convert to a struct to expose mutability Aidan Woods 2018-04-27 19:30:12 +0100
  • ea15c1ad9a
    Move core type definitions to top of file, protocol implementations to bottom #147 Aidan Woods 2018-04-27 17:26:11 +0100
  • 45ee7ede49
    Merge pull request #145 from aidantwoods/fix/optional-unwraps-in-tests Aidan Woods 2018-04-27 18:32:19 +0100
  • 8aa71a4aff
    Data not required, appending zeroed bytes will do #146 Aidan Woods 2018-04-27 18:14:02 +0100
  • 2c8440fb01
    Use multiple extensions to break types into distinct sections Aidan Woods 2018-04-27 17:13:16 +0100
  • 6911af7fb5
    Embrace the struct Aidan Woods 2018-04-27 16:42:28 +0100
  • 4d52d398f4
    Force unwrap where required in tests #145 Aidan Woods 2018-04-27 16:00:45 +0100
  • 0d8ef9c9e8
    Merge pull request #139 from aidantwoods/enchancement/travis Frank Denis 2018-04-27 16:47:59 +0200
  • bb17df5642
    Merge pull request #144 from aidantwoods/readability/less-explict-pointers Frank Denis 2018-04-27 16:15:36 +0200
  • 2c5071a198
    Update examples and README for proposed API changes #144 Aidan Woods 2018-04-27 14:39:28 +0100
  • 530823cdee
    Add convenience property for converting bytes to a UTF-8 string Aidan Woods 2018-04-27 14:40:01 +0100
  • 475cb8fc6b
    Rename argument in-line with type change Aidan Woods 2018-04-27 14:40:43 +0100
  • c164282309
    No need to remove optional argument -- revert its removal Aidan Woods 2018-04-27 13:44:39 +0100
  • 48b08e47f0
    Defer to Swift's own handling for most pointers Aidan Woods 2018-04-27 12:56:21 +0100
  • c32e72fb48
    Merge 8ceab0ef86 into 44c81200aa #143 Aidan Woods 2018-04-27 09:31:59 +0000
  • 8ceab0ef86
    Allocate 64bits for length #143 Aidan Woods 2018-04-27 10:12:20 +0100
  • af892c0f75
    Commit Xcode config #142 Aidan Woods 2018-04-26 20:45:25 +0100
  • dfba540f1c
    Make Aead implement Nonce and SecretKey generator Aidan Woods 2018-04-26 20:44:39 +0100
  • cf39deb8b8
    Make SecretStream implement SecretKey generator Aidan Woods 2018-04-26 20:43:13 +0100
  • 30c3a2da96
    Make KeyDerivation implement SecretKey generator Aidan Woods 2018-04-26 20:42:51 +0100
  • 0b41dd2d5d
    Make Auth implement SecretKey generator Aidan Woods 2018-04-26 20:42:19 +0100
  • 862aed6325
    Make KeyExchange implement KeyPair generator Aidan Woods 2018-04-26 20:41:56 +0100
  • 19e42c9e65
    Make Sign implement KeyPair generator Aidan Woods 2018-04-26 20:41:28 +0100
  • f4ea7b1ad4
    Make ShortHash implement SecretKey generator Aidan Woods 2018-04-26 20:41:01 +0100
  • 1f534fcf02
    Make GenericHash implement SecretKey generator Aidan Woods 2018-04-26 20:40:25 +0100
  • eee793415c
    Make Stream implement Nonce and SecretKey generator Aidan Woods 2018-04-26 20:39:53 +0100
  • 24474c9987
    Make SecretBox implement Nonce and SecretKey generator Aidan Woods 2018-04-26 20:39:26 +0100
  • a3cd2ab975
    Make Box implement KeyPair and Nonce generators Aidan Woods 2018-04-26 20:37:50 +0100
  • 8054b098f4
    Add secret key generator protocol Aidan Woods 2018-04-26 20:36:46 +0100
  • 248b74d189
    Add keypair generation protocol Aidan Woods 2018-04-26 20:36:16 +0100
  • 04a17eb846
    Add nonce generation protocol Aidan Woods 2018-04-26 20:35:30 +0100
  • d40b976663
    Remove unneeded guards #141 Aidan Woods 2018-04-26 18:48:04 +0100
  • 80a176fab6
    Fold simple (and nil returning) guards onto single line Aidan Woods 2018-04-26 18:47:20 +0100
  • f0d4423372
    Fold complex guards onto multiple lines Aidan Woods 2018-04-26 18:46:07 +0100
  • 2e865a30ce
    Use ExitCode enum to encompass numeric exit status Aidan Woods 2018-04-26 17:41:44 +0100
  • 7128b5976e
    If to guard Aidan Woods 2018-04-26 15:41:03 +0100
  • 520ab42176
    Remove unneeded mutability Aidan Woods 2018-04-26 15:35:50 +0100
  • 113ed6e976
    This is verifiably initialised in all code paths: remove unneeded mutability and pre-initialisation Aidan Woods 2018-04-26 15:07:28 +0100
  • 72815ced01
    Remove superfluous constructors Aidan Woods 2018-04-26 15:05:16 +0100
  • f68f9476d6
    Use computed properties to choose enum state associated values Aidan Woods 2018-04-26 15:01:08 +0100
  • 40ae417cbd
    Take advantage of subscripts and once-sided ranges Aidan Woods 2018-04-24 02:00:08 +0100
  • 1a7538f90f
    Nil coalesce is a little easier to read Aidan Woods 2018-04-24 01:52:01 +0100
  • 3e3bc4d865
    Remove superfluous `.init` Aidan Woods 2018-04-24 01:51:03 +0100
  • 44c81200aa
    Merge pull request #140 from aidantwoods/deduplication/state-stream-protocol Frank Denis 2018-04-24 15:44:09 +0200
  • 6ea357786f
    Capacity is – of course - a constant #140 Aidan Woods 2018-04-24 11:44:07 +0100
  • 4d10afd59b
    Make actions on `state` private Aidan Woods 2018-04-24 00:45:38 +0100
  • 700cfe15a8
    Generate no longer requires argument Aidan Woods 2018-04-24 00:44:59 +0100
  • 991ff67dba
    Capacity should be static and bound to type Aidan Woods 2018-04-24 00:43:25 +0100
  • 6d524bc47d
    rawState isn't useful outsite of `free()` Aidan Woods 2018-04-23 23:47:50 +0100
  • db7669a7a5
    Have various StateStream's implement StateStream Aidan Woods 2018-04-23 23:46:34 +0100
  • 1291f9de09
    Create StateStream protocol Aidan Woods 2018-04-23 23:45:37 +0100
  • e612bb19ab
    Merge pull request #138 from aidantwoods/readability/ifs-to-guards Frank Denis 2018-04-23 18:51:24 +0200
  • 18e201dbda
    Add barebones .travis.yml #139 Aidan Woods 2018-04-23 13:33:54 +0100
  • dc9bceb9fe
    Use conventional conditional ordering #138 Aidan Woods 2018-04-23 13:30:29 +0100
  • ab35079abf
    Use guards where intention is to return Aidan Woods 2018-04-22 13:39:18 +0100
  • 1c44fa5ddc
    Merge pull request #137 from aidantwoods/fix/mutable-value-swift-warning Frank Denis 2018-04-22 07:57:00 +0200
  • 1900f04bf8
    Use constant local variables in-place of computed property of mutable value #137 Aidan Woods 2018-04-20 21:16:00 +0100
  • 8df5a4a75a
    Merge pull request #131 from umbri/master Frank Denis 2018-04-19 11:42:19 +0200
  • 94434552de
    Merge pull request #135 from tiwoc/nonoptional-keygen-with-docs Frank Denis 2018-04-18 13:11:28 +0200
  • d590b856cf Return non-optional key if keygen is guaranteed to succeed #135 Daniel Seither 2018-04-18 11:41:53 +0200
  • 70668749bc fixed: bug, decrypt empty data #131 umbri 2018-03-22 18:53:24 +0100
  • 9f88526d5a added: docs umbri 2018-03-22 15:44:49 +0100
  • e374767980 fixed: code style, added: additionalData as Optional umbri 2018-03-22 14:40:31 +0100
  • 2f606e1ab3 removed: print useless umbri 2018-03-22 13:48:58 +0100
  • 8a4694296e added: Aead test decrypt with wrong keys umbri 2018-03-22 13:46:22 +0100
  • a8f34b999a added: tests nonceAndAuthenticatedCipherText Aead umbri 2018-03-22 13:42:56 +0100
  • fec0e9df71 fixed: arg name umbri 2018-03-22 13:39:13 +0100
  • 14aed085dd added: Aead nonceAndAuthenticatedCipherText support umbri 2018-03-22 13:37:08 +0100
  • 7838cd000a added: Aead tests invalid nonce and invalid ecretKey umbri 2018-03-22 13:10:53 +0100
  • 671ef2476f added: Aead Api + XChaCha20Poly1305Ietf umbri 2018-03-22 13:06:44 +0100
  • 4eb2b5e884
    Merge pull request #129 from jedisct1/revert-125-nonoptional-if-keygen-cant-fail Frank Denis 2018-03-20 14:23:06 +0100
  • f27a15e1f3
    Revert "Return non-optional key if keygen is guaranteed to succeed" #129 Frank Denis 2018-03-20 14:22:37 +0100
  • 29dea7554b
    Merge pull request #125 from tiwoc/nonoptional-if-keygen-cant-fail Frank Denis 2018-03-20 14:21:50 +0100
  • 00698267cf Return non-optional key if keygen is guaranteed to succeed #125 Daniel Seither 2018-02-23 17:39:41 +0100
  • dc62e765f5 Update version Frank Denis 2018-02-24 01:48:20 +0100
  • cacebc5e48 Rebuild -stable with bitcode enabled Frank Denis 2018-02-24 01:46:47 +0100
  • 9e6ea00d41 up Frank Denis 2018-02-24 01:46:31 +0100
  • e13274e641
    Revert "Add Swift Package Manager and Linux support" #126 Frank Denis 2018-02-24 01:01:52 +0100
  • e79bc2a4c2
    Merge pull request #124 from tiwoc/spm Frank Denis 2018-02-24 00:58:30 +0100
  • 6c0ab189ce Add CocoaPods and SPM files to project for easy editing #124 Daniel Seither 2018-02-19 12:55:34 +0100
  • fe418aa190 SodiumTests.testPwHash: allow hash to be shorter than sodium.pwHash.StrBytes Daniel Seither 2018-02-19 12:45:04 +0100
  • 9442d457b6 Make tests run on Linux Daniel Seither 2018-02-19 12:40:13 +0100
  • e19c40e8fd Make Utils work on Linux Daniel Seither 2018-02-19 12:31:00 +0100
  • fec62655cc Add SPM package Daniel Seither 2018-02-19 12:17:17 +0100
  • e9ce2e11a2 Rename libsodium module to Clibsodium to match the Swift naming rules Daniel Seither 2018-02-19 12:14:35 +0100
  • 73bea46558 Fix macOS applicationDidFinishLaunching signature Daniel Seither 2018-02-19 11:49:52 +0100
  • 98cb87ec85 Fix paths in Xcode project Daniel Seither 2018-02-19 10:58:30 +0100
  • e0f095de8a Move tests to Tests folder as expected by SPM Daniel Seither 2018-02-19 10:54:05 +0100
  • 34348b9b87
    Merge pull request #122 from blochberger/pr/fix-warning Frank Denis 2018-01-16 17:19:02 +0100
  • c58869f5b1
    Fix example Maximilian Blochberger 2018-01-16 15:49:46 +0100
  • 39e4fc53d4
    Fix warning #122 Maximilian Blochberger 2018-01-16 12:07:09 +0100
  • fd0e047847 Regen libsodium binaries Frank Denis 2018-01-07 15:56:17 +0100
  • fcbf5c953b 2018 :) Frank Denis 2018-01-01 01:35:53 +0100
  • 1fe9369d06 Latest -stable Frank Denis 2018-01-01 01:35:00 +0100
  • acb67f6754 Update precompiled libraries Frank Denis 2018-01-01 01:33:49 +0100
  • d98445747a 2018 Frank Denis 2017-12-31 19:20:31 +0100
  • c4b65b8470 Bump 0.6 Frank Denis 2017-12-13 19:35:14 +0100
  • a48d67e3e0 Update libsodium Frank Denis 2017-12-13 11:33:52 +0100
  • 377eec61af Update libsodium, update Xcode Frank Denis 2017-12-09 23:47:23 +0100
  • 3a248f7ae3
    Merge pull request #114 from blochberger/issue/113 Frank Denis 2017-12-01 15:06:40 +0100