17 Commits

Author SHA1 Message Date
Hamid Ghaf
e55c18ed12
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00
Rachel Culpepper
ed08e45069
change mul and div functions (#19495) 2023-03-13 14:52:55 -05:00
Lars Lehtonen
b69998de5f
errwrap.Wrapf() mop-up (#11779) 2021-06-07 12:18:03 -04:00
Brian Kassouf
a24653cc5c
Run a more strict formatter over the code (#11312)
* Update tooling

* Run gofumpt

* go mod vendor
2021-04-08 09:43:39 -07:00
Scott Miller
9510adcb9a
Replace GF(256) division with a constant time impl (#9932) 2020-09-16 17:36:52 -05:00
Julian Borrey
2fa1cd2f62 fix typo in comment (#5843) 2018-11-26 09:27:31 -05:00
Vishal Nayak
e2bb2ec3b9
Errwrap everywhere (#4252)
* package api

* package builtin/credential

* package builtin/logical

* package command

* package helper

* package http and logical

* package physical

* package shamir

* package vault

* package vault

* address feedback

* more fixes
2018-04-05 11:49:21 -04:00
Josh Soref
e43b76ef97 Spelling (#4119) 2018-03-20 14:54:10 -04:00
Chris Hoffman
b4602fc244 Randomizing x coordinate in shamir split (#2621) 2017-04-28 07:47:05 -04:00
Jeff Mitchell
d5c05842d6 Don't exclude 0 from the set of valid polynomials in Shamir. This leads to a potential (although extremely trivial) amount of information leakage. 2016-11-17 12:57:36 -05:00
vishalnayak
5ea177e468 Added a comment to explain a logically not-useful instruction 2016-09-13 14:03:02 -04:00
Jeff Mitchell
52c7272aee Deter leakage from Shamir. (#1877) 2016-09-13 11:52:04 -04:00
Matthieu Fronton
2ada3e4c3b minor typo fix 2015-10-13 22:38:13 +02:00
Jeff Mitchell
0057c76aaf Don't allow duplicate x parts in Shamir. Add unit test for verification. 2015-08-26 10:03:44 -07:00
Armon Dadgar
c2672f2868 vault: sanity check key length 2015-03-12 11:20:38 -07:00
Armon Dadgar
ee30d5c23e shamir: Remove debug statements 2015-03-11 14:28:56 -07:00
Armon Dadgar
adb5692449 shamir: First pass at Shamir secret sharing 2015-03-11 11:18:51 -07:00