Skip to content

Commit

Permalink
Merge pull request #21 from ldsec/dev
Browse files Browse the repository at this point in the history
Changed organisation name and respective imports
  • Loading branch information
JoaoAndreSa authored Sep 23, 2019
2 parents bcf1871 + c8159e8 commit ee94236
Show file tree
Hide file tree
Showing 66 changed files with 206 additions and 172 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
[![Build Status](https://travis-ci.org/lca1/unlynx.svg?branch=master)](https://travis-ci.org/LCA1/UnLynx) [![Go Report Card](https://goreportcard.com/badge/github.com/lca1/unlynx)](https://goreportcard.com/report/github.com/lca1/unlynx) [![Coverage Status](https://coveralls.io/repos/github/lca1/unlynx/badge.svg?branch=master)](https://coveralls.io/github/lca1/unlynx?branch=master)
[![Build Status](https://travis-ci.org/ldsec/unlynx.svg?branch=master)](https://travis-ci.org/ldsec/unlynx) [![Go Report Card](https://goreportcard.com/badge/github.com/ldsec/unlynx)](https://goreportcard.com/report/github.com/ldsec/unlynx) [![Coverage Status](https://coveralls.io/repos/github/ldsec/unlynx/badge.svg?branch=master)](https://coveralls.io/github/ldsec/unlynx?branch=master)
# UnLynx
UnLynx is a library for simulating a privacy-preserving data sharing tool. It offers a series of independent protocols that when combined offer a verifiably-secure and safe way to share sensitive data (e.g., medical data).

UnLynx is developed by lca1 (Laboratory for Communications and Applications in EPFL) in collaboration with DeDis (Laboratory for Decentralized and Distributed Systems).
UnLynx is developed by LDS (Laboratory for Data Security in EPFL) in collaboration with DeDis (Laboratory for Decentralized and Distributed Systems).

## Documentation

* The UnLynx library does an intensive use of [Overlay-network (ONet) library](https://github.com/dedis/onet) and of the [Advanced Crypto (kyber) library](https://github.com/dedis/kyber).
* For more information regarding the underlying architecture please refer to the stable version of ONet `go.dedis.ch/onet/v3`
* To check the code organisation, have a look at [Layout](https://github.com/lca1/unlynx/wiki/Layout)
* For more information on how to run our protocols, services, simulations and apps, go to [Running UnLynx](https://github.com/lca1/unlynx/wiki/Running-UnLynx)
* To check the code organisation, have a look at [Layout](https://github.com/ldsec/unlynx/wiki/Layout)
* For more information on how to run our protocols, services, simulations and apps, go to [Running UnLynx](https://github.com/ldsec/unlynx/wiki/Running-UnLynx)

## Version

We have a development and a stable version. The `master`-branch in `github.com/lca1/unlynx` is the development version that works but can have incompatible changes.
We have a development and a stable version. The `master`-branch in `github.com/ldsec/unlynx` is the development version that works but can have incompatible changes.

Use one of the latest tags `v1.3.0` that are stable and have no incompatible changes.
Use the latest tag `v1.4` that are stable and has no incompatible changes.

## License

UnLynx is licensed under a End User Software License Agreement ('EULA') for non-commercial use. If you need more information, please contact us.

## Contact
You can contact any of the developers for more information or any other member of [lca1](http://lca.epfl.ch/people/lca1/):
You can contact any of the developers for more information or any other member of [github.com/ldsec/](https://search.epfl.ch/?filter=unit&q=github.com/ldsec/):

* [David Froelicher](https://github.com/froelich) (PHD student) - david.froelicher@epfl.ch
* [Patricia Egger](https://github.com/pegger) (Security Consultant at Deloitte) - paegger@deloitte.ch
Expand Down
6 changes: 3 additions & 3 deletions app/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"strconv"
"strings"

"github.com/lca1/unlynx/lib"
"github.com/lca1/unlynx/services"
"github.com/ldsec/unlynx/lib"
"github.com/ldsec/unlynx/services"
"github.com/urfave/cli"
"go.dedis.ch/onet/v3"
"go.dedis.ch/onet/v3/app"
"go.dedis.ch/onet/v3/log"
"gopkg.in/urfave/cli.v1"
)

// BEGIN CLIENT: QUERIER ----------
Expand Down
4 changes: 2 additions & 2 deletions app/server.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package appunlynx

import (
"github.com/urfave/cli"
"go.dedis.ch/onet/v3/app"
"gopkg.in/urfave/cli.v1"

// Empty imports to have the init-functions called which should
// register the protocol
_ "github.com/lca1/unlynx/protocols"
_ "github.com/ldsec/unlynx/protocols"
)

func runServer(ctx *cli.Context) error {
Expand Down
4 changes: 2 additions & 2 deletions app/unlynx.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"errors"
"os"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"github.com/urfave/cli"
"go.dedis.ch/onet/v3/app"
"go.dedis.ch/onet/v3/log"
"gopkg.in/urfave/cli.v1"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions data/handle_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"strings"
"time"

"github.com/lca1/unlynx/lib"
"github.com/lca1/unlynx/lib/store"
"github.com/lca1/unlynx/lib/tools"
"github.com/ldsec/unlynx/lib"
"github.com/ldsec/unlynx/lib/store"
"github.com/ldsec/unlynx/lib/tools"
)

// FillInt64Slice fills a slice with the same value v
Expand Down
4 changes: 2 additions & 2 deletions data/handle_data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package dataunlynx_test
import (
"testing"

"github.com/lca1/unlynx/data"
"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/data"
"github.com/ldsec/unlynx/lib"
"github.com/stretchr/testify/assert"
)

Expand Down
10 changes: 6 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/lca1/unlynx
module github.com/ldsec/unlynx

require (
github.com/BurntSushi/toml v0.3.1
Expand All @@ -7,7 +7,9 @@ require (
github.com/r0fls/gostats v0.0.0-20180711082619-e793b1fda35c
github.com/satori/go.uuid v1.2.0
github.com/stretchr/testify v1.3.0
go.dedis.ch/kyber/v3 v3.0.0
go.dedis.ch/onet/v3 v3.0.0
gopkg.in/urfave/cli.v1 v1.20.0
github.com/urfave/cli v1.22.1
go.dedis.ch/kyber/v3 v3.0.5
go.dedis.ch/onet/v3 v3.0.24
)

//replace go.dedis.ch/onet/v3 => ../../../go.dedis.ch/onet
30 changes: 30 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
github.com/Knetic/govaluate v3.0.0+incompatible h1:7o6+MAPhYTCF0+fdvoz1xDedhRb4f6s9Tn1Tt7/WTEg=
github.com/Knetic/govaluate v3.0.0+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/daviddengcn/go-colortext v0.0.0-20180409174941-186a3d44e920 h1:d/cVoZOrJPJHKH1NdeUjyVAWKp4OpOT+Q+6T1sH7jeU=
github.com/daviddengcn/go-colortext v0.0.0-20180409174941-186a3d44e920/go.mod h1:dv4zxwHi5C/8AeI+4gX4dCWOIvNi7I6JCSX0HvlKPgE=
github.com/fanliao/go-concurrentMap v0.0.0-20141114143905-7d2d7a5ea67b h1:aHrWACMJZJ160Pl0qlH6s0/+5Kb1KYG/kEUTaZCW7QY=
Expand All @@ -25,40 +29,65 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/r0fls/gostats v0.0.0-20180711082619-e793b1fda35c h1:bqGSZMgWQ18OL1dqT8UGHlHe4w+EKFWc2Ak6DFbL1Pw=
github.com/r0fls/gostats v0.0.0-20180711082619-e793b1fda35c/go.mod h1:2mJY7Hx2k1GaMAmiAoyy090oY3RTSk3kkaaTieLq7wc=
github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v0.0.0-20190311161405-34c6fa2dc709/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/urfave/cli v1.22.1 h1:+mkCCcOFKPnCmVYVcURKps1Xe+3zP90gSYGNfRkjoIY=
github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
go.dedis.ch/fixbuf v1.0.3 h1:hGcV9Cd/znUxlusJ64eAlExS+5cJDIyTyEG+otu5wQs=
go.dedis.ch/fixbuf v1.0.3/go.mod h1:yzJMt34Wa5xD37V5RTdmp38cz3QhMagdGoem9anUalw=
go.dedis.ch/kyber/v3 v3.0.0-pre2/go.mod h1:OzvaEnPvKlyrWyp3kGXlFdp7ap1VC6RkZDTaPikqhsQ=
go.dedis.ch/kyber/v3 v3.0.0 h1:XuefPFGJKPyfPBD6kXctbLb4smT9Il5HmUn303JRr08=
go.dedis.ch/kyber/v3 v3.0.0/go.mod h1:OzvaEnPvKlyrWyp3kGXlFdp7ap1VC6RkZDTaPikqhsQ=
go.dedis.ch/kyber/v3 v3.0.2 h1:dhYLJksmOau7TYf1JS0iTpW6Bus+mtqxJBbM0Q/E9HU=
go.dedis.ch/kyber/v3 v3.0.2/go.mod h1:OzvaEnPvKlyrWyp3kGXlFdp7ap1VC6RkZDTaPikqhsQ=
go.dedis.ch/kyber/v3 v3.0.4/go.mod h1:OzvaEnPvKlyrWyp3kGXlFdp7ap1VC6RkZDTaPikqhsQ=
go.dedis.ch/kyber/v3 v3.0.5 h1:BpjX6vY1R3b7TnJ0mUnCFRVXEJThSAj1zQzmNh4v+70=
go.dedis.ch/kyber/v3 v3.0.5/go.mod h1:V1z0JihG9+dUEUCKLI9j9tjnlIflBw3wx8UOg0g3Pnk=
go.dedis.ch/onet/v3 v3.0.0 h1:haBqkwkNNu/jHz7+PoZJS+xbtA5JheQvt0SSIjGyk5I=
go.dedis.ch/onet/v3 v3.0.0/go.mod h1:xqmP2+NvxeNzgmNj/4hf56EZm3KT0Qksz98miZw5G3A=
go.dedis.ch/onet/v3 v3.0.4 h1:sIHdiuhg5LMVVDAKQbSiBZsQnJGP2EDxImcp12OnWKo=
go.dedis.ch/onet/v3 v3.0.24 h1:DjPcMDgQgQdxi6Z6vHt3BSuKtZioDUHpIUEC9wQ9NmI=
go.dedis.ch/onet/v3 v3.0.24/go.mod h1:JhOZn9nJgpvxQWiY7Uebjj1AdXTW0ksQyq8RocRhwPk=
go.dedis.ch/protobuf v1.0.5/go.mod h1:eIV4wicvi6JK0q/QnfIEGeSFNG0ZeB24kzut5+HaRLo=
go.dedis.ch/protobuf v1.0.6 h1:E61p2XjYbYrTf3WeXE8M8Ui5WA3hX/NgbHHi5D0FLxI=
go.dedis.ch/protobuf v1.0.6/go.mod h1:YHYXW6dQ9p2iJ3f+2fxKnOpjGx0MvL4cwpg1RVNXaV8=
go.dedis.ch/protobuf v1.0.7 h1:wRUEiq3u0/vBhLjcw9CmAVrol+BnDyq2M0XLukdphyI=
go.dedis.ch/protobuf v1.0.7/go.mod h1:pv5ysfkDX/EawiPqcW3ikOxsL5t+BqnV6xHSmE79KI4=
go.dedis.ch/protobuf v1.0.8 h1:lmyHigYqVxoTN1V0adoGPvqSdjycAMK0XmTFjP893mA=
go.dedis.ch/protobuf v1.0.8/go.mod h1:pv5ysfkDX/EawiPqcW3ikOxsL5t+BqnV6xHSmE79KI4=
go.etcd.io/bbolt v1.3.0 h1:oY10fI923Q5pVCVt1GBTZMn8LHo5M+RCInFpeMnV4QI=
go.etcd.io/bbolt v1.3.0/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk=
go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
golang.org/x/crypto v0.0.0-20190123085648-057139ce5d2b h1:Elez2XeF2p9uyVj0yEUDqQ56NFcDtcBNkYP7yv8YbUE=
golang.org/x/crypto v0.0.0-20190123085648-057139ce5d2b/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f h1:hX65Cu3JDlGH3uEdK7I99Ii+9kjD6mvnnpfLdEAH0x4=
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20190124100055-b90733256f2e h1:3GIlrlVLfkoipSReOMNAgApI0ajnalyLa/EZHHca/XI=
golang.org/x/sys v0.0.0-20190124100055-b90733256f2e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5 h1:ZcPpqKMdoZeNQ/4GHlyY4COf8n8SmpPv6mcqF1+VPSM=
golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand All @@ -70,5 +99,6 @@ gopkg.in/tylerb/graceful.v1 v1.2.15/go.mod h1:yBhekWvR20ACXVObSSdD3u6S9DeSylanL2
gopkg.in/urfave/cli.v1 v1.20.0 h1:NdAVW6RYxDif9DhDHaAortIu956m2c0v+09AZBPTbE0=
gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHOQNO0=
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
rsc.io/goversion v1.2.0 h1:SPn+NLTiAG7w30IRK/DKp1BjvpWabYgxlLp/+kx5J8w=
rsc.io/goversion v1.2.0/go.mod h1:Eih9y/uIBS3ulggl7KNJ09xGSLcuNaLgmvvqa07sgfo=
2 changes: 1 addition & 1 deletion lib/add_rm/add_rm_proofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math"
"sync"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"go.dedis.ch/kyber/v3"
"go.dedis.ch/kyber/v3/proof"
"go.dedis.ch/onet/v3/log"
Expand Down
4 changes: 2 additions & 2 deletions lib/add_rm/add_rm_proofs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package libunlynxaddrm_test
import (
"testing"

"github.com/lca1/unlynx/lib/add_rm"
"github.com/ldsec/unlynx/lib/add_rm"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"github.com/stretchr/testify/assert"
"go.dedis.ch/kyber/v3/util/random"
)
Expand Down
2 changes: 1 addition & 1 deletion lib/aggregation/aggregation_proofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"math"
"sync"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
)

// PublishedAggregationProof contains all the information for one aggregation proof
Expand Down
4 changes: 2 additions & 2 deletions lib/aggregation/aggregation_proofs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package libunlynxaggr_test
import (
"testing"

"github.com/lca1/unlynx/lib/aggregation"
"github.com/ldsec/unlynx/lib/aggregation"
"github.com/stretchr/testify/assert"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
)

func TestAggregationProof(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion lib/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync"

"github.com/fanliao/go-concurrentMap"
"github.com/lca1/unlynx/lib/tools"
"github.com/ldsec/unlynx/lib/tools"
"go.dedis.ch/kyber/v3"
"go.dedis.ch/kyber/v3/util/key"
"go.dedis.ch/kyber/v3/util/random"
Expand Down
4 changes: 2 additions & 2 deletions lib/crypto_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package libunlynx_test

import (
"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"github.com/stretchr/testify/assert"
"go.dedis.ch/kyber/v3"
"go.dedis.ch/kyber/v3/util/random"
Expand Down Expand Up @@ -57,7 +57,7 @@ func TestEncryption(t *testing.T) {
func TestEncryptIntVector(t *testing.T) {
_, pubKey := libunlynx.GenKey()

nbrEncryptions := 200
nbrEncryptions := 10
arr := make([]int64, nbrEncryptions)

a := time.Now()
Expand Down
2 changes: 1 addition & 1 deletion lib/deterministic_tag/deterministic_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package libunlynxdetertag
import (
"sync"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"go.dedis.ch/kyber/v3"
)

Expand Down
2 changes: 1 addition & 1 deletion lib/deterministic_tag/deterministic_tag_proofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"sync"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"go.dedis.ch/kyber/v3"
"go.dedis.ch/kyber/v3/proof"
"go.dedis.ch/onet/v3/log"
Expand Down
4 changes: 2 additions & 2 deletions lib/deterministic_tag/deterministic_tag_proofs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package libunlynxdetertag_test
import (
"testing"

"github.com/lca1/unlynx/lib"
"github.com/lca1/unlynx/lib/deterministic_tag"
"github.com/ldsec/unlynx/lib"
"github.com/ldsec/unlynx/lib/deterministic_tag"
"github.com/stretchr/testify/assert"
"go.dedis.ch/kyber/v3"
)
Expand Down
4 changes: 2 additions & 2 deletions lib/deterministic_tag/deterministic_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package libunlynxdetertag_test
import (
"testing"

"github.com/lca1/unlynx/lib/deterministic_tag"
"github.com/ldsec/unlynx/lib/deterministic_tag"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion lib/differential_privacy/diff_privacy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package libunlynxdiffprivacy_test
import (
"testing"

. "github.com/lca1/unlynx/lib/differential_privacy"
. "github.com/ldsec/unlynx/lib/differential_privacy"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion lib/key_switch/key_switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package libunlynxkeyswitch
import (
"sync"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"go.dedis.ch/kyber/v3"

"go.dedis.ch/kyber/v3/util/random"
Expand Down
2 changes: 1 addition & 1 deletion lib/key_switch/key_switch_proofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math"
"sync"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"go.dedis.ch/kyber/v3"
"go.dedis.ch/kyber/v3/proof"
"go.dedis.ch/onet/v3/log"
Expand Down
4 changes: 2 additions & 2 deletions lib/key_switch/key_switch_proofs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"github.com/stretchr/testify/assert"
"go.dedis.ch/kyber/v3"

"github.com/lca1/unlynx/lib/key_switch"
"github.com/ldsec/unlynx/lib/key_switch"
"go.dedis.ch/kyber/v3/util/key"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
)

// TesKeySwitchingProof test the creation and verification of key switching proofs
Expand Down
4 changes: 2 additions & 2 deletions lib/key_switch/key_switch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/stretchr/testify/assert"
"go.dedis.ch/kyber/v3"

"github.com/lca1/unlynx/lib"
"github.com/lca1/unlynx/lib/key_switch"
"github.com/ldsec/unlynx/lib"
"github.com/ldsec/unlynx/lib/key_switch"
"go.dedis.ch/kyber/v3/util/key"
)

Expand Down
4 changes: 2 additions & 2 deletions lib/shuffle/shuffle.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"os"
"sync"

"github.com/lca1/unlynx/lib"
"github.com/lca1/unlynx/lib/tools"
"github.com/ldsec/unlynx/lib"
"github.com/ldsec/unlynx/lib/tools"
"go.dedis.ch/kyber/v3"
"go.dedis.ch/kyber/v3/util/random"
"go.dedis.ch/onet/v3/log"
Expand Down
2 changes: 1 addition & 1 deletion lib/shuffle/shuffle_proofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math"
"sync"

"github.com/lca1/unlynx/lib"
"github.com/ldsec/unlynx/lib"
"go.dedis.ch/kyber/v3"
"go.dedis.ch/kyber/v3/proof"
shuffleKyber "go.dedis.ch/kyber/v3/shuffle"
Expand Down
Loading

0 comments on commit ee94236

Please sign in to comment.