blob: dc8ba594b5937376fe73c0081f6f1ce8af1beb91 [file] [log] [blame]
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/components.gni")
import("//build/rust/rustc_library.gni")
rustc_library("wlan-sae") {
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.wlan.ieee80211:fuchsia.wlan.ieee80211-rustc",
"//src/connectivity/wlan/lib/common/rust:wlan-common",
"//src/connectivity/wlan/lib/statemachine:wlan-statemachine",
"//src/lib/mundane",
"//third_party/boringssl/rust/boringssl-sys",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:hex",
"//third_party/rust_crates:log",
"//third_party/rust_crates:num",
"//third_party/rust_crates:thiserror",
]
sources = [
"src/boringssl.rs",
"src/crypto_utils.rs",
"src/ecc.rs",
"src/frame.rs",
"src/lib.rs",
"src/state.rs",
]
}
fuchsia_unittest_package("wlan-sae-tests") {
deps = [ ":wlan-sae_test" ]
}