repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/register_array.rs | sw-emulator/lib/bus/src/register_array.rs | // Licensed under the Apache-2.0 license
use std::{
marker::PhantomData,
ops::{Index, IndexMut},
};
use caliptra_emu_types::{RvAddr, RvData, RvSize};
use tock_registers::{LocalRegisterCopy, RegisterLongName, UIntLike};
use crate::{Bus, BusError, Register};
pub trait RegisterArray {
const ITEM_SIZE: usiz... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/dynamic_bus.rs | sw-emulator/lib/bus/src/dynamic_bus.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
dynamic_bus.rs
Abstract:
File contains DynamicBus type.
--*/
use std::{io::ErrorKind, ops::RangeInclusive};
use crate::{Bus, BusError};
use caliptra_emu_types::{RvAddr, RvData, RvSize};
struct MappedDevice {
name: String,
mmap_range: RangeI... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/clock.rs | sw-emulator/lib/bus/src/clock.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
clock.rs
Abstract:
File contains Clock and Timer types, used to implement timer-based deferred
execution for peripherals.
--*/
use crate::Bus;
use std::{
collections::{BTreeSet, HashSet},
ptr,
sync::{
atomic::{AtomicU64, Orderi... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/ram.rs | sw-emulator/lib/bus/src/ram.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
ram.rs
Abstract:
File contains implementation of RAM
--*/
use crate::{mem::Mem, Bus, BusError};
use caliptra_emu_types::{RvAddr, RvData, RvSize};
/// Trait defining memory access behavior
pub trait MemAccess {
fn read_mem(mem: &Mem, size: RvSize... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/mem.rs | sw-emulator/lib/bus/src/mem.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
mem.rs
Abstract:
File contains implementation of helper data structures to support memory
devices like ROM, TCM and RAM.
--*/
use crate::BusError;
use caliptra_emu_types::{RvAddr, RvData, RvSize};
/// Memory Exception
#[allow(dead_code)]
#[deriv... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/bus.rs | sw-emulator/lib/bus/src/bus.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
bus.rs
Abstract:
File contains definition of the Bus trait.
--*/
use crate::Event;
use caliptra_emu_types::{RvAddr, RvData, RvSize};
use std::{rc::Rc, sync::mpsc};
#[allow(unused)]
pub trait EventListener {
fn incoming_event(&mut self, _event: ... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/mmio.rs | sw-emulator/lib/bus/src/mmio.rs | // Licensed under the Apache-2.0 license
use std::cell::RefCell;
use caliptra_emu_types::RvSize;
use crate::Bus;
const fn rvsize<T>() -> RvSize {
match core::mem::size_of::<T>() {
1 => RvSize::Byte,
2 => RvSize::HalfWord,
4 => RvSize::Word,
_other => panic!("Unsupported RvSize"),... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/testing/fake_bus.rs | sw-emulator/lib/bus/src/testing/fake_bus.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
fake_bus.rs
Abstract:
File contains code for a fake implementation of the Bus trait.
--*/
use caliptra_emu_types::{RvAddr, RvData, RvSize};
use crate::{testing::Log, Bus, BusError};
use std::fmt::Write;
/// A Bus implementation that logs all calls, ... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/testing/log.rs | sw-emulator/lib/bus/src/testing/log.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
log.rs
Abstract:
File contains code useful for logging inside unit tests.
--*/
use std::{
cell::{Ref, RefCell},
fmt::Write,
ops::Deref,
rc::Rc,
};
/// A type for logging actions without needing &mut self. Useful for logging
/// action... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/bus/src/testing/mod.rs | sw-emulator/lib/bus/src/testing/mod.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
mod.rs
Abstract:
File contains exports for code useful for testing Bus traits.
--*/
mod fake_bus;
mod log;
pub use fake_bus::FakeBus;
pub use log::Log;
| rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/aes256gcm.rs | sw-emulator/lib/crypto/src/aes256gcm.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
aes256gcm.rs
Abstract:
File contains implementation of AES-256 GCM algorithm.
--*/
use crate::{AES_256_BLOCK_SIZE, AES_256_KEY_SIZE};
use aes::cipher::{BlockEncrypt, KeyInit};
use aes::Aes256;
use aes_gcm::{
aead::{AeadCore, AeadMutInPlace, OsRng... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/ecc384.rs | sw-emulator/lib/crypto/src/ecc384.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
ecc384.rs
Abstract:
File contains implementation of Elliptic Curve Cryptography P-384 (ECC-384) Algorithm.
--*/
use p384::ecdsa::signature::hazmat::{PrehashSigner, PrehashVerifier};
use p384::ecdsa::{Signature, SigningKey, VerifyingKey};
use p384::{E... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/lib.rs | sw-emulator/lib/crypto/src/lib.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
lib.rs
Abstract:
File contains exports for for Caliptra Emulator Crypto library.
--*/
mod aes256cbc;
mod aes256ctr;
mod aes256gcm;
mod ecc384;
mod helpers;
mod hmac512;
mod sha256;
mod sha3;
mod sha512;
pub use sha256::Sha256;
pub use sha256::Sha256... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/sha3.rs | sw-emulator/lib/crypto/src/sha3.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
sha3.rs
Abstract:
File contains implementation of Secure Hash 3 Algorithm (SHA-3)
--*/
// use crate::helpers::EndianessTransform;
use sha3::{
digest::{ExtendableOutput, Update, XofReader},
Shake256,
};
#[derive(Debug, Copy, Clone, PartialEq)... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/helpers.rs | sw-emulator/lib/crypto/src/helpers.rs | // Licensed under the Apache-2.0 license
// TODO: These names need to make it clearer what they're actually doing. It's
// swapping the bytes of every 4-byte chunk, regardless of the element type.
pub trait EndianessTransform {
fn change_endianess(&mut self);
fn to_big_endian(&mut self);
fn to_little_endia... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/aes256ctr.rs | sw-emulator/lib/crypto/src/aes256ctr.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
aes256ctr.rs
Abstract:
File contains implementation of AES-256 CTR algorithm
--*/
use crate::{AES_256_BLOCK_SIZE, AES_256_KEY_SIZE};
use aes::Aes256;
use cipher::{KeyIvInit, StreamCipherCore};
pub struct Aes256Ctr {
cryptor: Ctr,
}
impl Default... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/sha512.rs | sw-emulator/lib/crypto/src/sha512.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
sha512.rs
Abstract:
File contains implementation of Secure Hash 512 Algorithm (SHA-512)
--*/
use crate::helpers::EndianessTransform;
use sha2::digest::block_buffer::Block;
use sha2::digest::consts::U128;
/// SHA-512 Mode
#[derive(Debug, Copy, Clone)... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/sha256.rs | sw-emulator/lib/crypto/src/sha256.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
sha256.rs
Abstract:
File contains implementation of Secure Hash 256 Algorithm (SHA-256 )
--*/
use crate::helpers::EndianessTransform;
use sha2::digest::block_buffer::Block;
use sha2::digest::consts::U64;
/// SHA-256 Mode
#[derive(Debug, Copy, Clone)... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/hmac512.rs | sw-emulator/lib/crypto/src/hmac512.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
hmac512.rs
Abstract:
File contains implementation of Hash Message Authenticated Code (HMAC-512)
--*/
use crate::{helpers::EndianessTransform, Sha512, Sha512Mode};
pub trait Hmac512Interface {
/// Create a new instance
fn new(mode: Hmac512Mod... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/crypto/src/aes256cbc.rs | sw-emulator/lib/crypto/src/aes256cbc.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
aes256cbc.rs
Abstract:
File contains implementation of AES-256 CBC algorithm
--*/
use cbc::cipher::{BlockDecryptMut, BlockEncryptMut, KeyIvInit};
use crate::{helpers::EndianessTransform, AES_256_BLOCK_SIZE, AES_256_KEY_SIZE};
pub struct Aes256Cbc {... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/hmac.rs | sw-emulator/lib/periph/src/hmac.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
hmac_sha384.rs
Abstract:
File contains HMACSha384 peripheral implementation.
--*/
use crate::helpers::bytes_from_words_le;
use crate::{KeyUsage, KeyVault};
use caliptra_emu_bus::{ActionHandle, BusError, Clock, ReadOnlyRegister, ReadWriteRegister, Tim... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/mailbox.rs | sw-emulator/lib/periph/src/mailbox.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
mailbox.rs
Abstract:
File contains MAILBOX implementation
--*/
use smlang::statemachine;
use caliptra_emu_bus::{AlignedRam, Bus, BusMmio, Clock, Timer};
use caliptra_emu_bus::{BusError, ReadOnlyRegister, ReadWriteRegister, WriteOnlyRegister};
use cal... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/lib.rs | sw-emulator/lib/periph/src/lib.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
lib.rs
Abstract:
File contains exports for for Caliptra Emulator Peripheral library.
--*/
#[macro_use]
extern crate arrayref;
mod abr;
mod aes;
mod aes_clp;
mod asym_ecc384;
mod csrng;
pub mod dma;
mod doe;
mod emu_ctrl;
mod hash_sha256;
mod hash_sha... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/mci.rs | sw-emulator/lib/periph/src/mci.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
mci.rs
Abstract:
File contains implementation of MCI
--*/
use std::{cell::RefCell, rc::Rc, sync::mpsc};
use bitfield::size_of;
use caliptra_emu_bus::{Bus, BusError, Device, Event, EventData};
use caliptra_emu_derive::Bus;
use caliptra_emu_types::{Rv... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/hash_sha512.rs | sw-emulator/lib/periph/src/hash_sha512.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
hash_sha512.rs
Abstract:
File contains SHA512 peripheral implementation.
--*/
use crate::helpers::words_from_bytes_le;
use crate::key_vault::KeyUsage;
use crate::KeyVault;
use caliptra_emu_bus::{
ActionHandle, Bus, BusError, Clock, ReadOnlyRegist... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/iccm.rs | sw-emulator/lib/periph/src/iccm.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
iccm.rs
Abstract:
File contains ICCM Implementation
--*/
use caliptra_emu_bus::Bus;
use caliptra_emu_bus::BusError;
use caliptra_emu_bus::Clock;
use caliptra_emu_bus::Ram;
use caliptra_emu_bus::Timer;
use caliptra_emu_bus::TimerAction;
use caliptra_em... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/aes_clp.rs | sw-emulator/lib/periph/src/aes_clp.rs | // Licensed under the Apache-2.0 license
use crate::hmac::{KeyReadControl, KeyReadStatus, TagWriteControl, TagWriteStatus, KEY_RW_TICKS};
use crate::{KeyUsage, KeyVault};
use caliptra_emu_bus::{
ActionHandle, BusError, Clock, Event, ReadOnlyRegister, ReadWriteRegister, Timer,
};
use caliptra_emu_derive::Bus;
use c... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/helpers.rs | sw-emulator/lib/periph/src/helpers.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
helpers.rs
Abstract:
File contains helper functions
--*/
#![allow(unused)]
use std::ops::{Index, IndexMut, RangeFrom};
pub trait U32Array: AsRef<[u32]> {
const BYTE_LEN: usize;
type ByteArray: AsMut<[u8]>;
// Required because Default isn... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/hash_sha3.rs | sw-emulator/lib/periph/src/hash_sha3.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
sha3.rs
Abstract:
File contains SHA3 peripheral implementation.
--*/
use caliptra_emu_bus::{BusError, ReadOnlyRegister, ReadWriteRegister};
use caliptra_emu_crypto::Sha3;
use caliptra_emu_derive::Bus;
use caliptra_emu_types::{RvAddr, RvData, RvSize};... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/soc_reg.rs | sw-emulator/lib/periph/src/soc_reg.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
soc_reg.rs
Abstract:
File contains SOC Register implementation
--*/
use crate::helpers::{bytes_from_words_be, words_from_bytes_be};
use crate::mailbox::MailboxRequester;
use crate::root_bus::ReadyForFwCbArgs;
use crate::Mci;
use crate::{CaliptraRootB... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/root_bus.rs | sw-emulator/lib/periph/src/root_bus.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
lib.rs
Abstract:
File contains the root Bus implementation for a full-featured Caliptra emulator.
--*/
use crate::{
abr::Abr,
aes_clp::AesKeyReleaseOp,
dma::Dma,
helpers::words_from_bytes_be,
iccm::Iccm,
mci::Mci,
soc_reg:... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/dma.rs | sw-emulator/lib/periph/src/dma.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
dma.rs
Abstract:
File contains DMA peripheral implementation.
--*/
use crate::helpers::words_from_bytes_be;
use crate::{mci::Mci, Aes, MailboxRam, Sha512Accelerator, SocRegistersInternal};
use caliptra_emu_bus::{
ActionHandle, Bus, BusError, Clock, Event... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/emu_ctrl.rs | sw-emulator/lib/periph/src/emu_ctrl.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
emu_ctrl.rs
Abstract:
File contains emulation control device implementation.
--*/
use caliptra_emu_bus::{Bus, BusError};
use caliptra_emu_types::{RvAddr, RvData, RvSize};
use std::process::exit;
/// Emulation Control
pub struct EmuCtrl {}
impl EmuC... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/uart.rs | sw-emulator/lib/periph/src/uart.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
uart.rs
Abstract:
File contains UART device implementation.
--*/
use caliptra_emu_bus::{Bus, BusError};
use caliptra_emu_types::{RvAddr, RvData, RvSize};
pub struct Uart {
bit_rate: u8,
data_bits: u8,
stop_bits: u8,
}
impl Uart {
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/aes.rs | sw-emulator/lib/periph/src/aes.rs | // Licensed under the Apache-2.0 license
use crate::aes_clp::AesKeyReleaseOp;
use crate::helpers::words_from_bytes_be;
use aes::cipher::{generic_array::GenericArray, BlockDecrypt, BlockEncrypt, KeyInit};
use aes::Aes256;
use caliptra_emu_bus::{Bus, BusError, Event, ReadWriteRegister};
use caliptra_emu_bus::{ReadOnlyRe... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/doe.rs | sw-emulator/lib/periph/src/doe.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
doe.rs
Abstract:
File contains Deobfuscation Engine Implementation
--*/
use crate::helpers::bytes_swap_word_endian;
use crate::{KeyVault, SocRegistersInternal};
use caliptra_emu_bus::{
ActionHandle, BusError, Clock, ReadOnlyRegister, ReadWriteMem... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/hash_sha256.rs | sw-emulator/lib/periph/src/hash_sha256.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
hash_sha256.rs
Abstract:
File contains SHA256 peripheral implementation.
--*/
use caliptra_emu_bus::{
ActionHandle, BusError, Clock, ReadOnlyMemory, ReadOnlyRegister, ReadWriteMemory,
ReadWriteRegister, Timer,
};
use caliptra_emu_crypto::{End... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/asym_ecc384.rs | sw-emulator/lib/periph/src/asym_ecc384.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
asym_ecc384.rs
Abstract:
File contains ECC384 peripheral implementation.
--*/
use crate::helpers::{bytes_from_words_le, words_from_bytes_le};
use crate::{HashSha512, KeyUsage, KeyVault};
use caliptra_emu_bus::{ActionHandle, BusError, Clock, ReadOnlyR... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/abr.rs | sw-emulator/lib/periph/src/abr.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
abr.rs
Abstract:
File contains Adams Bridge peripheral implementation.
--*/
use crate::helpers::{bytes_from_words_le, words_from_bytes_le};
use crate::{HashSha512, KeyUsage, KeyVault};
use caliptra_emu_bus::{ActionHandle, BusError, Clock, ReadOnlyRegister, R... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/sha512_acc.rs | sw-emulator/lib/periph/src/sha512_acc.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
sha512_acc.rs
Abstract:
File contains SHA accelerator implementation.
--*/
use crate::MailboxRam;
use caliptra_emu_bus::{
ActionHandle, Bus, BusError, Clock, ReadOnlyMemory, ReadOnlyRegister, ReadWriteRegister, Timer,
};
use caliptra_emu_crypto::{... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/csrng.rs | sw-emulator/lib/periph/src/csrng.rs | // Licensed under the Apache-2.0 license
use caliptra_emu_bus::{BusError, ReadOnlyRegister, WriteOnlyRegister};
use caliptra_emu_derive::Bus;
use caliptra_emu_types::{RvData, RvSize};
use caliptra_registers::entropy_src::regs::{
AdaptpHiThresholdsReadVal, AdaptpLoThresholdsReadVal, ConfReadVal, HealthTestWindowsRe... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/key_vault.rs | sw-emulator/lib/periph/src/key_vault.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
key_vault.rs
Abstract:
File contains Key Vault Implementation
--*/
use bitfield::bitfield;
use caliptra_emu_bus::{Bus, BusError, ReadWriteMemory, ReadWriteRegisterArray};
use caliptra_emu_derive::Bus;
use caliptra_emu_types::{RvAddr, RvData, RvSize};... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/csrng/health_test.rs | sw-emulator/lib/periph/src/csrng/health_test.rs | // Licensed under the Apache-2.0 license
use super::BITS_PER_NIBBLE;
use caliptra_registers::entropy_src::regs::{
AdaptpHiThresholdsReadVal, AdaptpLoThresholdsReadVal, RepcntThresholdsReadVal,
};
const HEALTH_TEST_WINDOW_BITS: usize = 2048;
pub struct HealthTester {
itrng_nibbles: Box<dyn Iterator<Item = u8>... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/csrng/ctr_drbg.rs | sw-emulator/lib/periph/src/csrng/ctr_drbg.rs | // Licensed under the Apache-2.0 license
//! Unverified implementation of CTR_DRBG AES-256
//! Section 10.2 (page 48) of https://doi.org/10.6028/NIST.SP.800-90Ar1
use std::iter;
use super::WORD_SIZE_BYTES;
// Table 3 of Section 10.2.1 (page 49).
const BLOCK_LEN_BYTES: usize = 128 / 8;
const KEY_LEN_BYTES: usize = 2... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/dma/otp_fc.rs | sw-emulator/lib/periph/src/dma/otp_fc.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
otp_fc.rs
Abstract:
File contains the axi subsystem fuse controller.
--*/
use bitfield::size_of;
use caliptra_emu_bus::{BusError, ReadOnlyRegister, WriteOnlyRegister};
use caliptra_emu_derive::Bus;
use caliptra_emu_types::RvSize;
use smlang::statemac... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/dma/axi_root_bus.rs | sw-emulator/lib/periph/src/dma/axi_root_bus.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
axi_root_bus.rs
Abstract:
File contains the axi root bus peripheral.
--*/
use crate::dma::recovery::RecoveryRegisterInterface;
use crate::helpers::words_from_bytes_le_vec;
use crate::SocRegistersInternal;
use crate::{dma::otp_fc::FuseController, mci:... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/periph/src/dma/recovery.rs | sw-emulator/lib/periph/src/dma/recovery.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
recovery.rs
Abstract:
File contains the recovery register interface peripheral
--*/
use caliptra_emu_bus::{
BusError, Event, EventData, ReadOnlyRegister, ReadWriteRegister, RecoveryCommandCode,
};
use caliptra_emu_derive::Bus;
use caliptra_emu_type... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/derive/src/lib.rs | sw-emulator/lib/derive/src/lib.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
token_iter.rs
Abstract:
Contains derive procedural macros used in caliptra-emulator.
--*/
mod bus;
mod util;
use proc_macro::TokenStream;
#[proc_macro_derive(
Bus,
attributes(
peripheral,
poll_fn,
warm_reset_fn,
... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/derive/src/bus.rs | sw-emulator/lib/derive/src/bus.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
bus.rs
Abstract:
Implements #[derive(Bus)], used for dispatching Bus::read() Bus::write() to
fields of a struct.
--*/
use crate::util::literal::{self, hex_literal_u32};
use crate::util::token_iter::{
expect_ident, skip_to_field_with_attributes... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/derive/src/util/sort.rs | sw-emulator/lib/derive/src/util/sort.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
sort.rs
Abstract:
General-purpose functions for sorting.
--*/
pub fn sorted_by_key<K: Ord, T>(
iter: impl Iterator<Item = T>,
f: impl FnMut(&T) -> K,
) -> impl DoubleEndedIterator<Item = T> {
let mut result = Vec::from_iter(iter);
resu... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/derive/src/util/literal.rs | sw-emulator/lib/derive/src/util/literal.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
literal.rs
Abstract:
General-purpose functions for manipulating literal tokens.
--*/
use std::str::FromStr;
use proc_macro2::{Literal, TokenTree};
use crate::util::token_iter::DisplayToken;
pub fn parse_usize(literal: &TokenTree) -> usize {
if ... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/derive/src/util/mod.rs | sw-emulator/lib/derive/src/util/mod.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
literal.rs
Abstract:
General-purpose code related to procedural macros.
--*/
pub mod literal;
pub mod token_iter;
| rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/derive/src/util/token_iter.rs | sw-emulator/lib/derive/src/util/token_iter.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
token_iter.rs
Abstract:
General-purpose functions for manipulating token iterators.
--*/
use std::{collections::HashMap, fmt::Display};
use proc_macro2::{Delimiter, Group, Ident, Literal, Spacing, TokenStream, TokenTree};
pub struct Attribute {
... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/sw-emulator/lib/derive/tests/derive_bus_test.rs | sw-emulator/lib/derive/tests/derive_bus_test.rs | // Licensed under the Apache-2.0 license
use std::fmt::Write;
use caliptra_emu_bus::{
testing::{FakeBus, Log},
Bus, BusError, Ram,
};
use caliptra_emu_derive::Bus;
use caliptra_emu_types::{RvData, RvSize};
struct MyCustomField(RvData);
impl From<RvData> for MyCustomField {
fn from(val: RvData) -> Self {
... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/builder/src/lib.rs | builder/src/lib.rs | // Licensed under the Apache-2.0 license
use fslock::LockFile;
use serde_derive::Deserialize;
use std::borrow::Cow;
use std::collections::hash_map::Entry;
use std::collections::{HashMap, HashSet};
use std::env;
use std::fs;
use std::io::{self, ErrorKind};
use std::mem::size_of;
use std::path::{Path, PathBuf};
use std:... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/builder/src/version.rs | builder/src/version.rs | // Licensed under the Apache-2.0 license
pub const ROM_VERSION_MAJOR: u16 = 2;
pub const ROM_VERSION_MINOR: u16 = 0;
pub const ROM_VERSION_PATCH: u16 = 0;
pub const FMC_VERSION_MAJOR: u16 = 2;
pub const FMC_VERSION_MINOR: u16 = 0;
pub const FMC_VERSION_PATCH: u16 = 0;
pub const RUNTIME_VERSION_MAJOR: u32 = 2;
pub co... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/builder/src/sha256.rs | builder/src/sha256.rs | // Licensed under the Apache-2.0 license
#[cfg(feature = "openssl")]
use caliptra_image_crypto::OsslCrypto as Crypto;
#[cfg(feature = "rustcrypto")]
use caliptra_image_crypto::RustCrypto as Crypto;
use caliptra_image_gen::{ImageGeneratorCrypto, ImageGeneratorHasher};
pub fn sha256_word_reversed(bytes: &[u8]) -> [u32; ... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/builder/src/elf_symbols.rs | builder/src/elf_symbols.rs | // Licensed under the Apache-2.0 license
use std::io;
use elf::endian::LittleEndian;
use super::other_err;
pub fn elf_symbols(elf_bytes: &[u8]) -> io::Result<Vec<Symbol>> {
let elf = elf::ElfBytes::<LittleEndian>::minimal_parse(elf_bytes).map_err(other_err)?;
let Some((symbols, strings)) = elf.symbol_table(... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/builder/src/firmware.rs | builder/src/firmware.rs | // Licensed under the Apache-2.0 license
// Centralized list of all firmware targets. This allows us to compile them all
// ahead of time for executing tests on hosts that can't compile rust code.
use crate::FwId;
pub fn rom_from_env() -> &'static FwId<'static> {
match std::env::var("CPTRA_ROM_TYPE").as_ref().ma... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/builder/bin/image_gen.rs | builder/bin/image_gen.rs | // Licensed under the Apache-2.0 license
use caliptra_builder::firmware;
use caliptra_builder::version;
use caliptra_builder::ImageOptions;
use caliptra_image_types::FwVerificationPqcKeyType;
use caliptra_image_types::ImageHeader;
use caliptra_image_types::ImageManifest;
use caliptra_image_types::ImageSignatures;
use ... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/error/src/lib.rs | error/src/lib.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
error.rs
Abstract:
File contains API and macros used by the library for error handling
--*/
#![cfg_attr(not(feature = "std"), no_std)]
use core::convert::From;
use core::num::{NonZeroU32, TryFromIntError};
/// Caliptra Error Type
/// Derives debug, c... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/hmac.rs | hw/latest/registers/src/hmac.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/mbox_sram.rs | hw/latest/registers/src/mbox_sram.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/i3ccsr.rs | hw/latest/registers/src/i3ccsr.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/lib.rs | hw/latest/registers/src/lib.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![no_std]
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
pub mod regs {
//! Types that represent the... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/soc_ifc_trng.rs | hw/latest/registers/src/soc_ifc_trng.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/otp_ctrl.rs | hw/latest/registers/src/otp_ctrl.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/mci.rs | hw/latest/registers/src/mci.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/mcu_mbox0.rs | hw/latest/registers/src/mcu_mbox0.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/soc_ifc.rs | hw/latest/registers/src/soc_ifc.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/el2_pic_ctrl.rs | hw/latest/registers/src/el2_pic_ctrl.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/sha3.rs | hw/latest/registers/src/sha3.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/aes_clp.rs | hw/latest/registers/src/aes_clp.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/sha512.rs | hw/latest/registers/src/sha512.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/spi_host.rs | hw/latest/registers/src/spi_host.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 9f80a2bebb755233696929bf1da5ca0b90eba9a1
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
/// peripheral, used to get access to a Reg... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/ecc.rs | hw/latest/registers/src/ecc.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/axi_dma.rs | hw/latest/registers/src/axi_dma.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/mcu_sram.rs | hw/latest/registers/src/mcu_sram.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/kmac.rs | hw/latest/registers/src/kmac.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/sha256.rs | hw/latest/registers/src/sha256.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/entropy_src.rs | hw/latest/registers/src/entropy_src.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/uart.rs | hw/latest/registers/src/uart.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 9f80a2bebb755233696929bf1da5ca0b90eba9a1
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
/// peripheral, used to get access to a Reg... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/aes.rs | hw/latest/registers/src/aes.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/doe.rs | hw/latest/registers/src/doe.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/pv.rs | hw/latest/registers/src/pv.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/mcu_trace_buffer.rs | hw/latest/registers/src/mcu_trace_buffer.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/dv.rs | hw/latest/registers/src/dv.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/mcu_mbox1.rs | hw/latest/registers/src/mcu_mbox1.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/kv.rs | hw/latest/registers/src/kv.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/abr.rs | hw/latest/registers/src/abr.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/sha512_acc.rs | hw/latest/registers/src/sha512_acc.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/lc_ctrl.rs | hw/latest/registers/src/lc_ctrl.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/mbox.rs | hw/latest/registers/src/mbox.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/latest/registers/src/csrng.rs | hw/latest/registers/src/csrng.rs | // Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at 22ef832b4d3aaa17c9cf5e63801ac5d0f21410da
//
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
/// A zero-sized type that represents ownership of this
//... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | true |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/verilated/build.rs | hw/verilated/build.rs | // Licensed under the Apache-2.0 license
use std::{
ffi::OsStr,
fs::File,
io::{BufRead, BufReader},
iter,
path::{Path, PathBuf},
process,
};
static DEP_FILES: &[&str] = &[
"caliptra_verilated.cpp",
"caliptra_verilated.h",
"caliptra_verilated.sv",
"out",
"Makefile",
"../... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/verilated/src/lib.rs | hw/verilated/src/lib.rs | /*++
Licensed under the Apache-2.0 license.
--*/
mod bindings;
use std::ffi::CString;
use std::ffi::NulError;
use std::ptr::null;
pub use bindings::caliptra_verilated_init_args as InitArgs;
pub use bindings::caliptra_verilated_sig_in as SigIn;
pub use bindings::caliptra_verilated_sig_out as SigOut;
use rand::Rng;
#[d... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/verilated/src/bindings/mod.rs | hw/verilated/src/bindings/mod.rs | /*++
Licensed under the Apache-2.0 license.
--*/
#[allow(dead_code)]
mod real;
pub use real::{
caliptra_verilated, caliptra_verilated_init_args, caliptra_verilated_sig_in,
caliptra_verilated_sig_out,
};
#[cfg(not(feature = "verilator"))]
mod disabled {
use super::*;
const MSG: &str = "Built without ... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/hw/verilated/src/bindings/real.rs | hw/verilated/src/bindings/real.rs | /*++
Licensed under the Apache-2.0 license.
--*/
// generated by src/integration/verilated/generate_rust_bindings.sh
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct caliptra_verilated {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone)]
pub struct caliptra_verilated_sig_in {
pub core_cl... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/auth-manifest/app/src/config.rs | auth-manifest/app/src/config.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
config.rs
Abstract:
File contains utilities for parsing image authorization configuration files
--*/
use anyhow::Context;
use caliptra_auth_man_gen::AuthManifestGeneratorKeyConfig;
use caliptra_auth_man_types::ImageMetadataFlags;
use caliptra_auth_man... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
chipsalliance/caliptra-sw | https://github.com/chipsalliance/caliptra-sw/blob/d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c/auth-manifest/app/src/main.rs | auth-manifest/app/src/main.rs | /*++
Licensed under the Apache-2.0 license.
File Name:
main.rs
Abstract:
Main entry point for Caliptra Authorization Manifest application
--*/
use anyhow::Context;
use caliptra_auth_man_gen::{AuthManifestGenerator, AuthManifestGeneratorConfig};
use caliptra_auth_man_types::AuthManifestFlags;
#[cfg(feature... | rust | Apache-2.0 | d6e4f6fae9e4966ec1f5a52167a60c87fafecf1c | 2026-01-04T20:21:36.839730Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.