| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| load("//rules:opentitan.bzl", "OPENTITAN_CPU") |
| |
| cc_library( |
| name = "hmac", |
| srcs = ["hmac.c"], |
| hdrs = ["hmac.h"], |
| deps = [ |
| "//hw/ip/hmac/data:hmac_regs", |
| "//hw/top_earlgrey/sw/autogen:top_earlgrey", |
| "//sw/device/lib/base", |
| ], |
| ) |
| |
| cc_library( |
| name = "otbn", |
| srcs = ["otbn.c"], |
| hdrs = ["otbn.h"], |
| deps = [ |
| "//hw/ip/otbn/data:otbn_regs", |
| "//hw/top_earlgrey/sw/autogen:top_earlgrey", |
| "//sw/device/lib/base", |
| ], |
| ) |