| # Copyright 2019 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("$zx/public/gn/fuzzer.gni") |
| group("test") { |
| testonly = true |
| deps = [ |
| ":hmac-fuzzer", |
| ":zircon-crypto", |
| ] |
| } |
| |
| zx_test("zircon-crypto") { |
| sources = [ |
| "aead.cc", |
| "bytes.cc", |
| "cipher.cc", |
| "hkdf.cc", |
| "hmac.cc", |
| "secret.cc", |
| "utils.cc", |
| ] |
| deps = [ |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/unittest", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zircon-crypto", |
| "$zx/system/ulib/zxtest", |
| ] |
| } |
| |
| fuzzer("hmac-fuzzer") { |
| sources = [ |
| "hmac-fuzzer.cc", |
| ] |
| deps = [ |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/zircon-crypto", |
| ] |
| } |