Commit Graph

18 Commits

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

* fix fmt and a test
2023-03-15 09:00:52 -07:00
Rachel Culpepper b04ef55f78
change mul and div functions (#19495) 2023-03-13 14:52:55 -05:00
Lars Lehtonen bd47214a00
errwrap.Wrapf() mop-up (#11779) 2021-06-07 12:18:03 -04:00
Brian Kassouf 303c2aee7c
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 539cf44b9b
Replace GF(256) division with a constant time impl (#9932) 2020-09-16 17:36:52 -05:00
Julian Borrey ce5fdcf8c1 fix typo in comment (#5843) 2018-11-26 09:27:31 -05:00
Vishal Nayak 28e3eb9e2c
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 73b1fde82f Spelling (#4119) 2018-03-20 14:54:10 -04:00
Chris Hoffman dd3bf25cb2 Randomizing x coordinate in shamir split (#2621) 2017-04-28 07:47:05 -04:00
Jeff Mitchell 612c0068a0 Fix shamir test that is failing on valid results 2016-12-16 05:10:07 -05:00
Jeff Mitchell 0de6aaf2d7 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 6e5ae6b003 Added a comment to explain a logically not-useful instruction 2016-09-13 14:03:02 -04:00
Jeff Mitchell 6d551e002c Deter leakage from Shamir. (#1877) 2016-09-13 11:52:04 -04:00
Matthieu Fronton cd06cd078b minor typo fix 2015-10-13 22:38:13 +02:00
Jeff Mitchell ec57e983f7 Don't allow duplicate x parts in Shamir. Add unit test for verification. 2015-08-26 10:03:44 -07:00
Armon Dadgar aa0ca02b8c vault: sanity check key length 2015-03-12 11:20:38 -07:00
Armon Dadgar c7a7d04122 shamir: Remove debug statements 2015-03-11 14:28:56 -07:00
Armon Dadgar bc7f1a43af shamir: First pass at Shamir secret sharing 2015-03-11 11:18:51 -07:00