jMyles
05a9cb99ba
Was catching the wrong ImportError.
2017-11-20 19:19:18 -08:00
jMyles
ac34d2667d
Serializing keyfrag data before concat'ing it. See #126 .
2017-11-19 11:59:35 -08:00
jMyles
522c016f53
Moving REST App from test_utilities to Ursula.
2017-11-19 11:58:33 -08:00
jMyles
38933d59a0
REST Logic for Policy. Still a problem, though - RekeyFrag can't be added to KeyStore - see #126 .
2017-11-18 19:21:36 -08:00
jMyles
63a10aef67
Changing 'animate' to 'enact'.
2017-11-18 19:21:32 -08:00
jMyles
31687af4f3
Convenience method for creating Characters from pubkey_sig_bytes.
2017-11-18 19:17:52 -08:00
jMyles
c0920b709d
Splitting on the other end of the wire works!
2017-11-18 14:33:54 -08:00
jMyles
a39146cac9
Using PublicKey in deserialization.
2017-11-18 14:33:33 -08:00
jMyles
1baf8123ee
Length check for PublicKey while checking Signature.
2017-11-18 14:31:27 -08:00
jMyles
5fdac5d345
Ursula checks Alice's signature on the payload; still some logic to work out.
2017-11-18 13:33:32 -08:00
jMyles
7c3b62fb58
Beginning of creation of Policy from bytes payload.
2017-11-18 13:33:31 -08:00
jMyles
753905f04f
Ursula receives a Policy.payload via REST.
2017-11-18 13:33:31 -08:00
jMyles
9782649a5b
Policy payload encryption for Ursula.
2017-11-18 13:33:31 -08:00
jMyles
c426714622
Policy now gets Bob injected.
2017-11-18 13:33:31 -08:00
jMyles
711d99b109
IntegrityError block for adding a kFrag that already exists.
2017-11-18 13:33:31 -08:00
jMyles
c61ea7f76e
Implementing keystore in view.
2017-11-18 13:33:31 -08:00
jMyles
ec07b241c8
Ursula now makes a KeyStore using in-memory sqlite if none is provided.
2017-11-18 13:33:31 -08:00
jMyles
0fa2750e6f
Ursula now takes a KeyStore.
2017-11-18 13:29:55 -08:00
jMyles
531e3c15c2
Ursula endpoint for receiving a new kfrag.
2017-11-18 13:29:55 -08:00
jMyles
2b8f0c9ddc
Basic structure of kFrag routes.
2017-11-18 13:29:55 -08:00
jMyles
6f23832462
REST Directory.
2017-11-18 13:29:55 -08:00
jMyles
5a36280788
Ridculous try block no longer needed.
2017-11-18 13:16:41 -08:00
jMyles
bcb8849533
Use PublicKey for splitter.
2017-11-18 13:16:26 -08:00
jMyles
291775e6b7
Signature.verify() uses PublicKey.without_metabytes()
2017-11-18 13:14:29 -08:00
jMyles
fc08f6f4dd
No more need for PUBKEY_SIG_LENGTH - this is on PublicKey now.
2017-11-18 13:13:59 -08:00
jMyles
c4421d9e9d
Added metabytes to public key generation; fixed some PEP8 issues in API.
2017-11-18 13:13:14 -08:00
jMyles
098da6dc21
PublicKey class.
2017-11-18 13:11:27 -08:00
jMyles
e8cfed52e6
Raises ValueError if keypair_byte doesn't match. Fixes #123 .
2017-11-18 11:18:12 -08:00
tuxxy
8906d89450
Use BytestringSplitter for kFrag in KeyStore
2017-11-14 16:26:06 -07:00
tuxxy
c18a2a6cbd
Add RekeyFrag id length and key length to constants
2017-11-14 15:45:43 -07:00
tuxxy
9fb0aad603
Add test for test_keyfrag_sqlite
2017-11-11 18:35:39 -08:00
tuxxy
891cf32a2a
Merge branch 'master' of github.com:nucypher/nucypher-kms into frag-keystore
2017-11-11 18:22:07 -08:00
tuxxy
7b46a20aac
Add sig param to get_kfrag
2017-11-11 18:21:05 -08:00
jMyles
ec8c225f7d
Moved BytestringSplitter remainder logic to __call__; implemented throughout.
2017-11-11 18:00:32 -08:00
jMyles
f643e0cd2b
Using HRAC and dht_value_splitter for characters.
2017-11-11 17:46:27 -08:00
jMyles
72ffa361a4
BytestringSplitter is now allowed to give back the remainder.
2017-11-11 17:46:00 -08:00
jMyles
f19a581602
Raise error if Signature is wrong length.
2017-11-11 17:43:55 -08:00
jMyles
49015c4682
dht_value_splitter for reuse.
2017-11-11 17:43:33 -08:00
jMyles
ee3170de32
Imlement HRAC in protocols.
2017-11-11 17:43:06 -08:00
jMyles
3dda083b71
New constants for use with BytestringSplitter.
2017-11-11 17:39:47 -08:00
jMyles
53a0450bf5
Added dunders to Seal for concat'ing.
2017-11-11 15:49:15 -08:00
jMyles
3901f13750
Test showing that trying to split too many bytes raises ValueError.
2017-11-11 13:55:51 -08:00
jMyles
1f28a671fa
BytestringSplitter now works with arbitrary types.
2017-11-11 13:50:51 -08:00
jMyles
4f803ba2df
BytestringSplitter for #114 .
2017-11-11 01:10:29 -08:00
jMyles
7e43f3caad
More thorough implementation of Signature throughout.
2017-11-10 23:36:21 -08:00
tuxxy
b1c27c18b8
Implement keystore kFrag methods add/del/get
2017-11-10 16:34:50 -08:00
jMyles
e0f9995e4c
Casting Signature to bytes for msgpack. Better to concat it in the future - see #114 .
2017-11-10 16:29:28 -08:00
tuxxy
215b28e113
Return Signature object from SigningPower.sign
2017-11-10 16:18:18 -08:00
jMyles
1ca86f5b71
ttl is now an attr instead of a method.
2017-11-10 15:55:54 -08:00
jMyles
48174e722e
Implemented HRAC; pruned some other legacy code.
2017-11-10 15:34:52 -08:00
jMyles
49f99fc640
Added Bob's public key to secret part of TreasureMap DHT key. Also lots of sanding / code simplification.
2017-11-10 10:47:07 -08:00
jMyles
b66eccb251
Working stop-propagation for both Ursula interfaces and TreasureMaps.
2017-11-10 02:04:01 -08:00
jMyles
4d1d899a04
Wanting to use @tuxxy's Signature class a little early. :-)
2017-11-10 00:11:45 -08:00
tuxxy
93de923ae0
Fix capitalization in KeyFrag model
2017-11-09 17:26:07 -08:00
tuxxy
a32907e38a
Add KeyFrag db model
2017-11-09 17:03:01 -08:00
jMyles
6a5d0da4bf
Test organization: moved utility functions to their own module.
2017-11-09 16:23:38 -08:00
tuxxy
427333d6b9
Implement the Signature class
2017-11-09 14:06:43 -08:00
tuxxy
c403813411
Add Signature placeholder class
2017-11-09 13:23:23 -08:00
jMyles
19aab328d0
Bob can now follow treasure map and get Ursula instances.
2017-11-07 14:25:03 -08:00
jMyles
ce4dc0c936
Merge remote-tracking branch 'tux/reconstruct_key' into policy
2017-11-07 14:18:06 -08:00
tuxxy
363dc0a402
Call deserialize_key in Keystore.get_key
...
Fix some errors
2017-11-07 14:10:03 -08:00
tuxxy
32b812e6aa
Add deserialize_key staticmethod to Keypair
2017-11-07 14:05:54 -08:00
jMyles
f704f93cbe
KeyPairBasedPower to reuse logic for powers based on keypairs.
2017-11-07 12:51:30 -08:00
jMyles
10f3fc8e6c
TreasureMap now contains real Ursula information. Fixes #59 . Fixes #64 .
2017-11-06 20:42:21 -08:00
jMyles
2581c579e3
Fixes #98 .
2017-11-06 13:44:59 -08:00
jMyles
ae7683478b
Moved verify to utils; implemented it in Character.verify_from. Awesome cleanup. Fixes #99 .
2017-11-05 20:30:34 -08:00
jMyles
c85acc3675
A test to show that Ursula now refuses to propagate illegal keys.
2017-11-05 19:30:03 -08:00
jMyles
d49eb130af
Ursula now sets interface info using public key, providing signed interface info. Other Ursulas refuse to propagate unless this info is correct.
2017-11-05 19:30:03 -08:00
jMyles
745e5a43b4
Beginning of verifying Ursula's interface.
2017-11-05 19:30:03 -08:00
jMyles
4dc146b2d6
Rudimentary server and client w/ cert generation and TLS.
2017-11-05 19:30:03 -08:00
jMyles
bd599a8b67
First semblance of Twisted TLS upgrade.
2017-11-05 19:30:03 -08:00
jMyles
2d321f230d
Verify method described in #99 .
2017-11-05 19:30:03 -08:00
Justin Holmes
a10bdccc12
Merge pull request #97 from tuxxy/fingerprint
...
Make get_fingerprint an instance method
2017-11-04 17:18:14 -07:00
Justin Holmes
981bf29e4c
Merge pull request #89 from jMyles/tls
...
Ursula now stores interface on DHT.
2017-11-04 17:03:28 -07:00
tuxxy
a44117931d
Make get_fingerprint an instance method
2017-11-03 20:20:09 -06:00
jMyles
d2b0e364e1
Ursula now reports IP via K:V store. Hacky workaround for #95 .
2017-11-03 18:37:27 -07:00
jMyles
eb2382e763
Pursuant to #93 , changes to K:V for Alie to lookup Ursula. This commit demonstrates one of the problems described in #95 .
2017-11-03 18:37:27 -07:00
jMyles
41b6642b6d
Msgpacking encrypted message.
2017-11-03 18:37:27 -07:00
jMyles
5b570b046e
Very close to complete Ursula -=> Bob flow for treasure map, but strange error when trying to run coroutine.
2017-11-03 18:37:27 -07:00
jMyles
83058d0211
Fairly reasonable shape for Bob-=>Ursula discovery/upgrade.
2017-11-03 18:37:27 -07:00
jMyles
991a2279d5
Uses de/serialization from umbral.
2017-11-03 18:37:27 -07:00
jMyles
a20d8b06de
Temporary serialization logic.
2017-11-03 18:37:27 -07:00
jMyles
17adc4c566
More test re-organization. Shows failure of ec.serialize.
2017-11-03 18:37:27 -07:00
jMyles
a07e082e6a
Working toward policy payload for use over network.
2017-11-03 18:37:21 -07:00
tuxxy
f9de664c6d
Set secure_delete pragma
2017-11-02 18:19:26 -07:00
tuxxy
009d32ce66
Implement SQLite and remove lmdb
2017-11-02 17:50:09 -07:00
tuxxy
a5ad9d3300
Add tests for sqlite
2017-11-02 17:10:06 -07:00
tuxxy
e2fd18dfc9
Add __init__ and get_fingerprint methods to models.Key
2017-11-02 17:00:42 -07:00
tuxxy
a855e05e6a
Add Key model to keystore.db.models
2017-11-02 16:45:16 -07:00
tuxxy
acc6467b4d
Add empty models.py
2017-11-02 16:11:53 -07:00
tuxxy
b8be897934
Add declarative base to db.__init__
2017-11-02 16:10:58 -07:00
tuxxy
bec04ef34a
Add __init__ for db module in keystore
2017-10-26 14:38:48 -07:00
Justin Holmes
6cb8d4fa39
Merge pull request #83 from tuxxy/rekey-api
...
Rekey api
2017-10-23 14:28:22 -07:00
tux
0ae9d007c8
Implement generate_rekey_frags method on Alice
...
This doesn't include a test for this function. This is basically a tiny
wrapper around the crypto api for generating the key frags.
I'll leave it to JMyles to implement this how he wants.
Fix syntax error
Skip erroring test
2017-10-23 14:20:15 -07:00
tuxxy
583d9a3962
Use better error message
2017-10-23 13:44:30 -07:00
tuxxy
058c1206a6
Raise KeyNotFound when no key is located in lmdb
2017-10-23 13:38:06 -07:00
tuxxy
08ebcf3c4b
Add KeyNotFound exception class
2017-10-23 13:38:06 -07:00
tuxxy
6cca4d2b27
Convert the keypair_byte and the key_type_byte to actual bytes
2017-10-20 16:20:36 -06:00
tuxxy
37cf1af935
Return None if no key exists
2017-10-20 16:05:09 -06:00
tuxxy
0ae8d4ffa6
Fill out del_key
2017-10-20 15:46:56 -06:00
tuxxy
9070679f2e
Fill out get_key and add_key
2017-10-20 15:44:47 -06:00
tuxxy
0855bd5972
Add serialization methods for the keystore keypairs
2017-10-20 15:32:51 -06:00
tuxxy
84b9375179
Fill out __init__ and __del__ for KeyStore
2017-10-20 15:28:32 -06:00
tuxxy
2a1110e2c9
Add constants for keypair type bytes
2017-10-20 15:28:03 -06:00
tuxxy
e6240486a9
Fill in ecies_ephemeral_split_rekey
2017-10-19 01:25:53 -06:00
tuxxy
fd54c6bf38
Fill out _ecies_gen_ephemeral_key
2017-10-19 01:04:02 -06:00
tuxxy
ec3f95e62f
Add placeholder function _ecies_gen_ephemeral_key to _internal.py
2017-10-19 00:59:50 -06:00
tuxxy
a81b6e0f23
Add empty _internal.py
...
This is a place for interal cryptographic functions and possibly
functions that may make it into the core cryptographic api.
2017-10-19 00:51:18 -06:00
tuxxy
c9b35967b4
Add placeholder for ecies_ephemeral_split_rekey
2017-10-19 00:48:13 -06:00
jMyles
24b1f4fa92
Bringing policy logic back in line with protocol with new crypto tooling.
2017-10-18 15:48:20 -07:00
jMyles
b5033e32f6
Lots of housekeeping on various Alice <=-=> Ursula activity in policy.
2017-10-18 15:48:11 -07:00
jMyles
8f3e379ae4
Policy now raises Ursula.NotFound if we havne't found an Ursula yet.
2017-10-18 15:48:11 -07:00
jMyles
334c7807ad
Let's see how the graph changes if we only cover nkms.
2017-10-17 18:44:37 -07:00
tuxxy
09b442d5a3
Use SigningPower instead of SigningKeypair in test_crypto_characters_and_their_powers
...
Use SigningPower instead of SigningKeypair correctly
Use correct SigningPower
2017-10-17 16:01:59 -06:00
tuxxy
9bc43c88e4
Use SigningPower instead of SigningKeypair in characters
2017-10-17 15:01:25 -06:00
tuxxy
2a3e6fcdc3
Add verify method to SigningKeypair
2017-10-17 14:51:00 -06:00
tuxxy
32baef1575
Add test TestSigningPower and fix SigningPower init params
2017-10-17 14:47:51 -06:00
tuxxy
b28d66374c
Add sign method in SigningKeypair call it in SigningPower
2017-10-17 14:25:56 -06:00
tuxxy
506fd8c2d0
Add _gen_pubkey method to keystore.keypairs objects and make SigningKeypair inherit from Keypair
2017-10-17 14:12:47 -06:00
tuxxy
254f1d44c0
Use keypairs import for SigningKeypair and fix some PEP8 things
2017-10-17 13:55:00 -06:00
tuxxy
1b0ea98980
Rename SigningKeypair to SigningPower
2017-10-17 13:20:55 -06:00
jMyles
5566c6058e
Removed alpha and added test for its removal.
2017-10-16 22:25:16 -07:00
jMyles
4a2d6a05b3
Code cleanup and some stale code removal. Made EncryptingPower compliant with confers_public_key logic.
2017-10-16 21:45:43 -07:00
jMyles
9d0fe9e181
Compat. with public keys defaulting to bytes instead of tuple.
2017-10-16 20:21:45 -07:00
jMyles
ceecd2bd4b
KeyPairs now use API for PRE object.
2017-10-16 20:20:33 -07:00
jMyles
64b907f461
Shim to use SigningKeypair.gen_priv while @tuxxy works out SigningPower.
2017-10-16 20:14:58 -07:00
jMyles
758aeaa2d7
Compatibility with new encrypt/decrypt functions.
2017-10-16 20:13:38 -07:00
jMyles
aaebf25da5
removing generate_random_keypair entirely.
2017-10-16 18:19:45 -07:00
jMyles
504d840e28
Moving new crypto utility functions to _alpha while we consider them.
2017-10-16 18:19:27 -07:00
jMyles
9714b2d0cb
Fixing equality function (still needs tests)
2017-10-16 18:19:16 -07:00
jMyles
adf71c80c8
Seal now implements dunders instead of custom methods.
2017-10-16 18:17:53 -07:00
jMyles
e276e86d52
Getting pretty close. Need a clean way to encrypt and decrypt.
2017-10-16 18:17:53 -07:00
jMyles
71669bfc49
Made working defaults for EncryptingKeypair
2017-10-16 18:17:29 -07:00
jMyles
db364a20de
Fixed up docstring and type hints on verify_from
2017-10-16 18:16:01 -07:00
jMyles
5390c8fce5
Fixed PolicyGroup to accept Bob, cleaned up tests and removed stale mock material.
2017-10-16 18:16:01 -07:00
jMyles
506f0f81cd
Character encryption tests.
...
Note that CryptoPower.decrypt and Character.encrypt_for have fake logic until EncryptingPower is implemented.
2017-10-16 18:16:01 -07:00
jMyles
8cf64dfcc6
PolicyGroup now uses Bob instead of a public key. One test fails until we get EncryptingPower working.
2017-10-16 18:12:14 -07:00
tuxxy
84d183ba7c
Add tests and fix encrypt/decrypt issues
2017-10-16 14:10:56 -06:00
tuxxy
27234dce73
Fix import errors
2017-10-16 13:39:46 -06:00
tuxxy
28b865dff2
Undo the last thing
2017-10-16 13:21:19 -06:00
tuxxy
75b7e30e7a
Push priv/pub to be the first param in encrypt/decrypt functions
2017-10-16 13:17:40 -06:00
tuxxy
299e89105e
Accept tuple in param
2017-10-16 13:12:35 -06:00
tuxxy
f83486636b
Decapsulate enc_key
2017-10-16 13:08:32 -06:00
tuxxy
2d52062581
Add PKE decrypt method [WIP]
...
Remove old encrypt method
2017-10-16 12:26:45 -06:00
tuxxy
426eedf706
Add some PKE and key encryption methods and comment out old encrypt method
2017-10-16 12:05:38 -06:00
tuxxy
c8b7459e66
Add gen_path_keys function:
2017-10-13 15:18:52 -06:00
tuxxy
529c5aac85
Add PKE encryption method
2017-10-13 14:58:34 -06:00
tuxxy
98c0a45658
Fix up encrypt returns
2017-10-13 11:50:26 -06:00
tuxxy
9c8bc7eb6e
Add _decrypt_key
2017-10-12 14:58:03 -06:00
tuxxy
5a30ab0626
Add placeholder for decrypt method
2017-10-11 20:24:03 -06:00
tuxxy
ed5a1a30a8
Fill out the encrypt method
2017-10-11 20:08:47 -06:00
tuxxy
228974001b
Add the encryption code so far
2017-10-11 16:51:27 -06:00
tuxxy
dcbc6341fc
Implement _encrypt_key
2017-10-11 15:32:40 -06:00
tuxxy
be78118254
Add _derive_path_key
2017-10-11 15:14:32 -06:00
tuxxy
4527f0f93a
Add placeholder method for encrypt and add _split_path
2017-10-11 14:47:55 -06:00
tuxxy
a14f83fba5
Merge branch 'character-crypto' of github.com:jmyles/nucypher-kms into encrypting-power
2017-10-11 14:08:42 -06:00
tuxxy
8fb36b8b13
Add boolean switch to generate private key in gen_ecies_keypair and gen_ecdsa_keypair
2017-10-11 13:59:27 -06:00
tuxxy
263b21a84e
Add TestKeypairs TestCase with test_ecies_keypair_generation
2017-10-11 13:51:58 -06:00
tuxxy
8e29c079d0
Add placeholder methods for get_key, add_key, and del_key
2017-10-11 13:44:51 -06:00
tuxxy
1a328811bf
Implement gen_ecies_keypair and gen_ecdsa_keypair
2017-10-11 13:42:32 -06:00
tuxxy
b88b86ab43
Add SigningKeypair to keypairs
2017-10-11 13:38:09 -06:00
tuxxy
b10a896f49
Add minimal key generation for EncryptingKeypair
2017-10-11 13:33:56 -06:00
tuxxy
ad129831c9
Add empty keypairs.py file
2017-10-11 13:21:48 -06:00
tuxxy
01fa0ce456
Add placeholders for gen_ecies_keypair and gen_ecdsa_keypair
2017-10-11 13:21:04 -06:00
tuxxy
51a20401e7
Create keystore module w/ empty keystore.py
2017-10-11 13:11:07 -06:00
tuxxy
04f167baf2
Move keystore.py to keyring.py (temporary)
2017-10-11 13:09:49 -06:00
jMyles
bf0f83b6ea
Moving EncryptingKeypair over to powers.
2017-10-10 22:39:25 -07:00
tuxxy
42ee8fc8c9
Remove unneeded hash.py file
2017-10-10 20:32:37 -06:00
tuxxy
c699fd3e18
Use keccak_digest instead of signature_hash or content_hash
...
Really use keccak_hash
keccak_hash -> keccak_digest
Fix another thing
2017-10-10 20:32:35 -06:00
tuxxy
3b3f44038c
Fix tests and update imports to reflect nkms.crypto.api
2017-10-10 20:18:24 -06:00
tuxxy
84ba50ddf6
Remove the use of msgpack
2017-10-10 19:05:20 -06:00
tuxxy
954d898aa2
Rename crypto.py to api.py
2017-10-10 17:24:43 -06:00
tuxxy
be45b18258
Add tests for ecdsa_sign and ecdsa_verify
2017-10-10 17:20:48 -06:00
tuxxy
2b16609e85
Add ecdsa_pub2bytes and ecdsa_bytes2pub
...
Fix comment
2017-10-10 17:09:10 -06:00
tuxxy
f697602390
Add ecdsa_gen_priv function and test
2017-10-10 16:30:19 -06:00
tuxxy
539f537067
Add ecdsa_sign
2017-10-10 15:58:32 -06:00
tuxxy
dcfdf1b2d2
Rename vrs_msgpack_dump/load to ecdsa_gen/load_sig
2017-10-10 15:49:56 -06:00
tuxxy
b55722f770
Move pub/priv_bytes2ec to logical place
2017-10-10 15:49:56 -06:00
tuxxy
fb0d6fc676
Rename to keccak_digest
2017-10-10 15:27:45 -06:00
tuxxy
ce8b222197
Merge jmyle's PR fixing stuff
2017-10-10 15:03:06 -06:00
jMyles
9e651af46b
Import statements changed while we reorganize.
2017-10-10 13:02:45 -07:00
jMyles
123fa5e5ae
Merge commit 'bcca3f8c365e486e4e930e3fdceaf308f1b13dd5' into character-crypto
2017-10-10 12:55:27 -07:00
tuxxy
baef6b87a8
Use SystemRandom and add secure_random_range
2017-10-10 13:52:11 -06:00
tuxxy
12f00611b9
Add secure_random
...
Add comment on Error state
2017-10-10 13:24:38 -06:00
tuxxy
bcca3f8c36
Remove Crypto class, use singleton pattern
2017-10-10 11:16:23 -06:00
jMyles
08a3910ce9
Yanked and out of - they're now only accessible in .
2017-10-09 15:58:38 -07:00
jMyles
7eae9c21b1
KeyRing -=> KeyStore and some other reorganization.
2017-10-09 14:03:16 -07:00
jMyles
b28a937b05
Passing both crypto_power and crypto_powerup is now not allowed.
2017-10-06 20:49:59 -07:00
jMyles
418618d565
A fairly serious version of the high-level signing and verification system.
2017-10-06 19:32:49 -07:00
jMyles
76f8edae7b
CryptoPower sign() and verify() now work properly.
2017-10-06 17:42:18 -07:00
jMyles
1b54f9dfb3
Refraining from hashing the message before signing fixes it.
2017-10-06 17:42:18 -07:00
jMyles
989f0193d7
Introducting CryptoPower and PowerUp. Signing powers have been pulled out of KeyRing and now use the PowerUp system.
2017-10-06 17:42:18 -07:00
jMyles
ffb4eaa72e
Moving interface functions to Character class; let's see how this looks.
2017-10-06 17:42:18 -07:00
jMyles
e6c455e8bb
A little more sketching. What will the values of _key_mapping be?
2017-10-06 17:42:18 -07:00
jMyles
05dad4b177
Beginning of new KeyRing model per my conversation with @tuxxy.
2017-10-06 17:42:18 -07:00
tuxxy
ad74c6aad1
Add test_ecies_rekey
2017-10-05 19:38:44 -06:00
tuxxy
5bb6f037e2
Add test_ecies_encapsulate and ecies_test_decapsulate
2017-10-05 19:33:04 -06:00
tuxxy
484e4908a3
Use proper elliptic_curve element class
2017-10-05 19:02:07 -06:00
tuxxy
765640ca54
Add ecies_combine method
2017-10-05 18:40:06 -06:00
tuxxy
35176d950d
Add ecies_split_rekey method
2017-10-05 18:35:05 -06:00