Commit Graph

14 Commits

Author SHA1 Message Date
ezekielnewren dac1fd2bba
add more algorithm constants (#24)
* add more algorithm constants
2023-01-11 13:49:06 +01:00
Andrew Pau 3ca48f2675
Support P384 and P521 curves 2022-10-10 11:11:52 -04:00
Andrew Pau def8ee8789
Revert AuthKey changes 2021-04-09 10:48:34 -07:00
Andrew Pau 86670f0fba
Merge conflicts 2021-04-08 16:42:16 -07:00
Andrew Pau 76fb3dd4fd
Add commands 2021-04-07 14:22:09 -07:00
Gary Belvin fe9ad5f86f Wrap Algorithms 2021-03-19 12:06:21 +00:00
Gary Belvin bcd16c93b1 CapabilityPrimitive 2021-03-19 12:02:35 +00:00
Jake Craige 44a7c0d1fa
Sort alg 2020-02-28 10:27:06 -08:00
Jake Craige 530348283f
Add ChangeAuthenticationKey command
Introduce the command which is used to change the password to
authenticate to the HSM.

A small refactoring of extracting authkey out was necessary to prevent
an import cycle from securechannel importing commands which (without the
refactor) imported secure channel again.

Documentation for this command: https://developers.yubico.com/YubiHSM2/Commands/Change_Authentication_Key.html
2020-02-28 09:40:45 -08:00
Jake Craige 7df30b3ded
Implement DeriveEcdh command
Add the implementation fo the DeriveEcdh command alongside a command
name that matches what Yubi calls it.

Left the previously named one alone so this doesn't break backwards
compatibility if anyone was using that.

Docs: https://developers.yubico.com/YubiHSM2/Commands/Derive_Ecdh.html
2019-08-27 14:17:50 -07:00
Simon Boissonneault-Robert b28a514e8f Add ListObject and GetObjectInfo support
Misc: removed pinged print
2019-06-18 16:18:13 -04:00
linuxdev53 0717d04d07 Added secp256k1 keygen/sign, delete 2018-12-05 15:42:38 +02:00
linuxdev53 8a73cfa938 Added secp256k1 support 2018-11-30 17:52:16 +02:00
Hendrik Hofstadt 372febe620 initial commit 2018-09-02 14:46:37 +02:00