github.com/lestrrat-go/jwx/v2@v2.0.21/jwe/internal/keyenc/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "keyenc", 5 srcs = [ 6 "interface.go", 7 "keyenc.go", 8 ], 9 importpath = "github.com/lestrrat-go/jwx/v2/jwe/internal/keyenc", 10 visibility = ["//:__subpackages__"], 11 deps = [ 12 "//internal/ecutil", 13 "//jwa", 14 "//jwe/internal/cipher", 15 "//jwe/internal/concatkdf", 16 "//jwe/internal/keygen", 17 "//x25519", 18 "@org_golang_x_crypto//curve25519", 19 "@org_golang_x_crypto//pbkdf2", 20 ], 21 ) 22 23 go_test( 24 name = "keyenc_test", 25 srcs = ["keyenc_test.go"], 26 deps = [ 27 ":keyenc", 28 "//jwk", 29 "@com_github_stretchr_testify//assert", 30 ], 31 ) 32 33 alias( 34 name = "go_default_library", 35 actual = ":keyenc", 36 visibility = ["//jwe:__subpackages__"], 37 )