open-vault/builtin/logical/transit
Scott Miller b513af3851
Expose generic versions of KDF and symmetric crypto (#10076)
* Support salt in DeriveKey

* Revert "Support salt in DeriveKey"

This reverts commit b295ae42673308a2d66d66b53527c6f9aba92ac9.

* Refactor out key derivation, symmetric encryption, and symmetric decryption into generic functions

* comments

* comments

* go mod vendor

* bump both go.mods

* This one too

* bump

* bump

* bump

* Make the lesser used params of symmetric ops a struct

* go fmt

* Call GetKey instead of DeriveKey

* Address feedback

* Wrong rv

* Rename calls

* Assign the nonce field

* trivial change

* Check nonce len instead

* go mod vendor
2020-10-01 21:04:36 -05:00
..
cmd/transit Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00
backend.go transit cache is an Interface implemented by wrapped versions of sync… (#6225) 2019-06-04 15:40:56 -07:00
backend_test.go Expose generic versions of KDF and symmetric crypto (#10076) 2020-10-01 21:04:36 -05:00
path_backup.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
path_backup_test.go RSA3072 implementation in transit secrets engine (#8151) 2020-02-15 14:40:50 -08:00
path_cache_config.go transit cache is an Interface implemented by wrapped versions of sync… (#6225) 2019-06-04 15:40:56 -07:00
path_cache_config_test.go transit cache is an Interface implemented by wrapped versions of sync… (#6225) 2019-06-04 15:40:56 -07:00
path_config.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_config_test.go Add AES128-GCM96 support to transit (#7555) 2019-10-03 16:11:43 -04:00
path_datakey.go Merge PR #9100: Add key_version to Transit Logical Response 2020-06-01 13:16:01 -04:00
path_decrypt.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_decrypt_bench_test.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_decrypt_test.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_encrypt.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_encrypt_bench_test.go Improving transit batch encrypt and decrypt latencies (#8775) 2020-06-10 13:31:46 -04:00
path_encrypt_test.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_export.go RSA3072 implementation in transit secrets engine (#8151) 2020-02-15 14:40:50 -08:00
path_export_test.go Add AES128-GCM96 support to transit (#7555) 2019-10-03 16:11:43 -04:00
path_hash.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
path_hash_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
path_hmac.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_hmac_test.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_keys.go Expose generic versions of KDF and symmetric crypto (#10076) 2020-10-01 21:04:36 -05:00
path_keys_test.go Add P384 and P521 support to Transit (#7551) 2019-10-03 12:32:43 -04:00
path_random.go Add maximum amount of random entropy requested (#7144) 2019-07-24 18:22:23 -07:00
path_random_test.go Add maximum amount of random entropy requested (#7144) 2019-07-24 18:22:23 -07:00
path_restore.go remove redundant check and clarify code comment 2019-12-11 10:16:09 -06:00
path_restore_test.go Transit: error when restoring to a name that looks like a path (#7998) 2019-12-11 09:32:22 -06:00
path_rewrap.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_rewrap_test.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_rotate.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_sign_verify.go Merge PR #9100: Add key_version to Transit Logical Response 2020-06-01 13:16:01 -04:00
path_sign_verify_test.go Remove two unreliable tests from TestTransit_SignVerify_P256. (#7499) 2020-06-29 12:22:22 -04:00
path_trim.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
path_trim_test.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
stepwise_test.go Stepwise docker env (#9292) 2020-06-26 17:52:31 -05:00