This document lists where Rust modules, types, and functions live in the Galdralag / Galdr workspace. Use it to navigate the tree before opening files. For protocol behaviour and cross-crate flows, see also:
- ARCHITECTURE.md — Xous servers, RRAM layout, threat model
- THREAT_MODEL.md — assets, threats, IPC access-control inventory
- server.md — HTTP registry server design and
galdra keyserverclient config - API_REFERENCE.md — Shamir, ephemeral session, and major public APIs in prose
cargo doc -p <crate> --open— full signatures and trait bounds
Scope: workspace members under crates/, host apps (galdra, galdrad, galdra-gtk, galdra-core-host), xtask, and the Xous service services/galdralag. Excludes fuzz/ targets (listed in Fuzz targets), test-only modules, and the separately built baochip-openpgp workspace member (still indexed here).
Line links point at the definition line in each file (GitHub-style #Lnn anchors).
| Path | Crate / binary | Role |
|---|---|---|
crates/vault |
galdr-vault |
RRAM vault, ciphers, Brainpool/RSA, Shamir, sealed keys |
crates/pin-policy |
pin-policy |
PIN FSM, constant-time compare |
crates/cipher-profile |
cipher-profile |
Named cipher stacks and registry |
crates/usb-personality |
usb-personality |
CCID + OpenPGP card dispatch |
crates/ephemeral-session |
ephemeral-session |
Authenticated ephemeral ECDH sessions |
crates/galdr-core |
galdr-core |
HAL traits, shared errors |
crates/cess |
cess |
CESS cascade encryption |
crates/biometric-* |
biometric crates | Device API and backends |
crates/baochip-openpgp |
(separate manifest) | Xous vault backend for OpenPGP |
services/galdralag |
galdralag-service |
Xous CCID main loop |
galdra-core-host |
galdra-core-host |
Host library (DB, device, crypto) |
galdra |
galdra |
CLI |
galdrad |
galdrad |
REST daemon |
galdra-gtk |
galdra-gtk |
GTK UI |
xtask |
xtask |
test-all, fuzz, embedded build helpers |
flowchart TB
subgraph host [Host]
galdra[galdra CLI]
galdrad[galdrad REST]
gtk[galdra-gtk]
corehost[galdra-core-host]
end
subgraph fw [Firmware logic crates]
vault[vault]
pin[pin-policy]
usb[usb-personality]
ephem[ephemeral-session]
profile[cipher-profile]
end
subgraph xous [Xous device]
svc[services/galdralag]
bao[baochip-openpgp]
end
galdra --> corehost
galdrad --> corehost
gtk --> corehost
corehost --> profile
corehost --> vault
svc --> usb
svc --> bao
bao --> vault
usb --> vault
usb --> pin
ephem --> vault
| Binary / service | File | Main symbols |
|---|---|---|
| Xous firmware service | services/galdralag/src/main.rs |
main, galdralag_ccid_main, ccid_serve_loop |
| Galdra CLI | galdra/src/main.rs |
Cli, Commands, main (subcommands in *_cmds.rs, commands/) |
| Galdra REST | galdrad/src/main.rs |
main, run; HTTP routes in router |
| Galdra GTK | galdra-gtk/src/main.rs |
main |
| xtask | xtask/src/main.rs |
main; test_all::run, timing_test::run |
| host-tools | crates/host-tools/src/main.rs, provision.rs |
provisioning utilities |
| dudect harness | crates/security-tests/src/bin/dudect_galdr.rs |
main |
OpenPGP APDU dispatch hub: handle_apdu in usb-personality, wired from galdralag via OpenPgpCcidDispatcher.
| Topic | Start here |
|---|---|
| Shamir split/recover | crates/vault/src/shamir.rs, galdra-core-host/src/shamir_ops.rs, galdra/src/shamir_cmds.rs |
| PIN policy | crates/pin-policy/src/machine.rs, crates/vault/src/vault_pin_policy.rs |
| HKDF labels | crates/vault/src/kdf_policy.rs, crates/ephemeral-session/src/hkdf_labels.rs |
| Ephemeral ECDH session | crates/ephemeral-session/src/handshake.rs, protocol.rs, keys.rs |
| OpenPGP commands | crates/usb-personality/src/openpgp/commands/ (sign, decipher, get_data, …) |
| Cipher profiles | crates/cipher-profile/src/profile.rs, registry.rs |
| Host contacts / groups | galdra-core-host/src/contacts.rs, groups.rs, db.rs |
Fulla HTTP registry (galdra keyserver) |
galdra-core-host/src/registry.rs, galdra/src/commands/keyserver/ |
| HKP / WKD public-key fetch | galdra-core-host/src/keyserver.rs ([keyservers] in config) |
| Privileged IPC stubs (fail-closed) | crates/vault/src/service.rs, crates/usb-personality/src/lib.rs, crates/galdr-core/src/error.rs |
| Firmware update mode gate | services/galdralag/src/reboot.rs (UpdateModeAuthorization, privileged-reboot feature) |
| Constant-time tests | crates/security-tests/src/dudect_harnesses.rs |
Xous OpenPGP vault backend bridge (separate manifest).
Files: 1 | Public functions: 15 | Private functions: 22
- Public types:
const OPENPGP_MASTER_RECORD_BYTES,const CCID_PIN_PROVISION_PAYLOAD_MAX_BYTES,const CCID_PIN_PROVISION_SLOT_BYTES,struct RramVaultStorage,struct RramMonotonicCounter,struct BaochipVaultZeroise,struct BaochipPinZeroise,type BaochipVaultBackend - Public functions:
init_pin_zeroise_singleton,vault_phys_base,openpgp_vault_logical_span_end,map_openpgp_rram_windows,new,load_or_derive_ccid_master_key,master_key_dev_from_env,master_key_from_hex64,provision_slots_have_valid_pins,write_provisioning_pins,ccid_pin_hashes_unprovisioned,load_or_provision_ccid_user_pin_bytes,load_or_provision_ccid_admin_pin_bytes,ccid_pins_dev_from_env,open_or_provision_backend - Private functions: 22 (open file for full list)
Biometric challenge/verify API surface.
Files: 1 | Public functions: 7 | Private functions: 7
- Public types:
const MATCH_PAYLOAD_VERSION,enum BiometricBackend,enum Modality,struct MatchPayload,struct SignedMatchResult,struct BiometricSessionToken,enum BiometricError,trait BiometricBackendDriver - Public functions:
match_payload_cbor_bytes,verify_match_payload_signature,sign_match_result,signed_match_to_cbor,signed_match_from_bytes,galdrad_validate_match_result,fuzz_try_verify_signed_match - Private functions:
fmt(L84),from(L101),backend(L208),authenticate(L211),enroll(L218),device_pubkey(L220),probe(L222)
Finger-vein device backend.
Files: 1 | Public functions: 4 | Private functions: 11
- Public types:
struct FingerVeinDevice,struct MockFingerVeinDevice - Public functions:
new,connect,disconnect,new - Private functions:
connected(L48),backend(L57),authenticate(L61),enroll(L73),device_pubkey(L81),probe(L85),backend(L122),authenticate(L126),enroll(L148),device_pubkey(L157),probe(L161)
SWEET platform biometric backend.
Files: 1 | Public functions: 3 | Private functions: 11
- Public types:
struct SweetPlatform,struct MockSweetPlatform - Public functions:
new,connect,new - Private functions:
connected(L41),backend(L50),authenticate(L54),enroll(L66),device_pubkey(L74),probe(L78),backend(L121),authenticate(L125),enroll(L147),device_pubkey(L156),probe(L160)
Vault integration for biometric templates.
Files: 1 | Public functions: 4 | Private functions: 3
- Public types:
const RRAM_TOTAL_BYTES,const BIOMETRIC_REGION_OFFSET,const BIOMETRIC_REGION_SIZE,const MAX_TEMPLATE_SIZE_BYTES,const MAX_ENROLLED_PERSONS,const SAMPLES_PER_ENROLLMENT,enum VaultError,type ZeroizingVec - Public functions:
encrypt_template,decrypt_template,generate_session_token,verify_session_token - Private functions:
derive_slot_key(L42),nonce_for_plaintext(L58),encrypt_decrypt_roundtrip_smoke(L176)
CESS cascade encryption registry and wire format.
Files: 7 | Public functions: 16 | Private functions: 45
- Public functions:
hmac_blake3,hkdf_blake3,derive_k_outer - Private functions:
normalize_hmac_key(L7),cess_vector_classical_only_32(L80),cess_vector_explicit_salt_32_zero(L91),cess_vector_pin_wrap(L103),cess_vector_64_byte_expand(L114)
- Public types:
enum CessInnerEtM64Cipher - Public functions:
cess_inner_cascade_layer_key_info,cess_inner_cascade_layer_nonce_info,cess_inner_cascade_etm64_info,cess_blake3_integrity_info,cess_blake3_integrity_gap_info - Private functions:
push_hex_u16_be(L10),push_layer_index(L17),cess_inner_key_info_matches_section_8_3_shape(L102),cess_blake3_integrity_example_0x0004(L110),cess_blake3_integrity_gap_info_shape(L118)
- Modules:
registry - Public types:
const CESS_OUTER_ENVELOPE_INFO_UTF8,const SUITE_ID_RESERVED,const WIRE_CURVE_BRAINPOOL_P384,const CESS_CORE_DEFAULT_CHACHA,const CASCADE_CHACHA_INNER_SERPENT_OUTER_P384,const CASCADE_CHACHA_INNER_SERPENT_OUTER_P512 - Public functions:
suite_id_for_profile_name - Private functions:
roundtrip_outer_plaintext(L85),reserved_suite_rejected(L94),builtin_profile_maps_to_registry_table(L99),registry_constants_match_listed_table(L131),gaps_in_table_are_unlisted(L142)
- Public types:
enum CessCryptoError - Public functions:
seal_mode_a_outer,open_mode_a_outer - Private functions:
fmt(L17),chacha_roundtrip(L65)
- Public types:
const LISTED_SUITE_ID_RANGES - Public functions:
is_listed_suite_id - Private functions:
range_endpoints_are_listed(L42),documented_gaps_are_unlisted(L50),newly_allocated_classical_rows_are_listed(L61)
- Private functions: 21 (open file for full list)
- Public types:
struct SuiteId,enum CessWireError - Public functions:
new,raw,assemble_mode_a_outer_plaintext,parse_mode_a_outer_plaintext - Private functions:
fmt(L36),unlisted_suite_id_rejected_assemble(L82),unlisted_suite_id_rejected_parse(L94),listed_ids_roundtrip(L103)
Named cipher stacks, curves, Shamir metadata, registry.
Files: 9 | Public functions: 36 | Private functions: 71
- Public types:
struct ProfileAuditRecord - Public functions:
curve_audit_str,layer_audit_name,to_audit_string - Private functions:
u8_decimal(L70)
- Private functions:
main(L20)
- Public types:
struct CascadeCiphertext,struct CascadePlaintext - Public functions:
as_bytes,cascade_blob_before_outermost_encrypt,cascade_encrypt,cascade_decrypt - Private functions: 29 (open file for full list)
- Public types:
const MAX_CASCADE_PLAINTEXT - Public functions:
layer_key_info,layer_nonce_info - Private functions:
build_layer_info(L28),push_bytes(L60),tr(L73),domain_labels_differ_by_layer_index(L81),domain_labels_differ_by_cipher(L88),domain_labels_differ_by_profile(L95),domain_key_and_nonce_differ(L102)
- Public types:
enum CipherProfileError
- Public types:
enum CipherLayer - Public functions:
domain_fragment,wire_id,from_wire
- Public types:
struct CipherProfile,struct CipherProfileBuilder - Public functions:
name,description,curve,layers,shamir,ephemeral_ecdh,to_bytes,from_bytes,audit_record,new,description,curve,layer,shamir,ephemeral_ecdh,build - Private functions: 14 (open file for full list)
- Public types:
struct ProfileRegistry - Public functions:
with_builtins,register,get,list,remove - Private functions: 14 (open file for full list)
- Public types:
struct ShamirConfig - Public functions:
new,none,is_active - Private functions:
shamir_valid(L48),shamir_k_zero(L59),shamir_k_gt_n(L67),shamir_n_zero(L75),shamir_none(L83)
Forward-secret ECDH handshake and session keys.
Files: 7 | Public functions: 28 | Private functions: 44
- Public types:
enum SessionCurve - Public functions:
wire_id,from_wire,public_key_len - Private functions:
wire_id_roundtrip(L50),unknown_wire_id(L61)
- Public types:
enum EphemeralSessionError - Private functions:
from(L50),from(L56),from(L64)
- Public types:
const INIT_PROTOCOL_VERSION,const RESP_PROTOCOL_VERSION,const MAX_SIG_BYTES,const MAX_HANDSHAKE_BYTES,struct InitMessage,struct ResponseMessage - Public functions:
serialise,parse,encode_fingerprint_hex,decode_fingerprint_hex,serialise,parse - Private functions:
hex_encode_32(L38),hex_decode_64(L48),val(L52),sample_init(L291),sample_resp(L307),init_message_serialise_parse_roundtrip(L329),response_message_serialise_parse_roundtrip(L341),parse_truncated_init_message(L357),parse_unknown_curve(L363),parse_version_mismatch(L371)
- Modules:
domain - Public types:
const PAYLOAD_KEY_I2R,const PAYLOAD_KEY_R2I,const GDSS_MASK_KEY,const GDSS_SYNC_KEY,const GDSS_TIMING_KEY,const MAC_KEY - Private functions:
domain_labels_all_distinct(L34),domain_labels_non_empty(L51)
- Public types:
struct EphemeralKeyPair,struct EphemeralSharedSecret,struct SessionKeys - Public functions:
generate,public_key_bytes,ecdh,private_key_bytes_for_test,cess_k_outer_mode_a,derive_session_keys,as_bytes_for_test,cess_inner_cascade_ikm,profile_prk,as_gdss_keys - Private functions:
pack_shared(L167),hkdf_extract_sha256(L259),ordered_epk_salt(L272),ephemeral_keypair_generate_lengths(L355),ecdh_commutativity(L368),ecdh_zeroises_private_key(L384),shared_secret_zeroised_after_derive(L397),session_keys_all_distinct(L412),cess_k_outer_mode_a_deterministic_before_derive(L440),cess_inner_cascade_ikm_retains_raw_ecdh(L458),session_keys_deterministic(L475),session_keys_salt_order_independent(L501)
- Public types:
enum SessionRole,struct InitiatorSession,struct ResponderSession - Public functions:
new,init,complete,respond - Private functions:
complete_inner(L140),default(L232),init_sign_preimage(L317),response_sign_preimage(L325),sign_with_long_term(L339),verifying_sec1(L375),verify_with_cert(L406)
- Public types:
const MAX_SEC1,struct LongTermCert,trait TrustStore,struct InMemoryTrustStore - Public functions:
fingerprint_of,fingerprint_ct_eq,new,add,remove - Private functions:
lookup(L48),default(L90),lookup(L96),sample_cert(L121),test_lookup_found(L137),test_lookup_not_found(L147),test_store_full(L153),test_remove(L171)
HAL traits (TRNG, zeroise), shared errors.
Files: 8 | Public functions: 9 | Private functions: 38
- Private functions:
hkdf_sha256_rfc5869_appendix_a(L8),hkdf_sha512_expand_smoke(L28),chacha20poly1305_rfc8439_aead(L38),x25519_rfc7748(L65),ed25519_rfc8032_sign_verify_smoke(L81),hmac_sha256_rfc4231_case_1(L95),pbkdf2_hmac_sha1_rfc6070_count_1(L110),aes256_gcm_nist_one_block(L121),sha3_256_empty(L143),blake2b512_known_vector(L152),blake3_deterministic(L164)
- Public types:
enum GaldrError(PrivilegedOperationDenied,is_permanent_denial),enum HalError - Public functions:
is_permanent_denial
- Public types:
struct FakeMonotonicCounter,struct FakeTrng,struct FakeZeroiseController,struct FakeRebootController,struct FakeVaultStorage - Public functions:
new,set_fail_next,from_seed,new,new,new,set_fail_next_write,as_slice,zero_all - Private functions: 13 (open file for full list)
- Public types:
trait MonotonicCounter,trait HardwareTrng,trait ZeroiseController,trait VaultStorage,trait RebootController - Private functions:
read(L14),increment(L18),refund_on_success(L23),zeroise_region(L42),read(L50),write(L51),enter_update_mode(L81)
- Private functions:
read(L9),increment(L13),monotonic_counter_increments(L20)
- Modules:
error,hal,fake_hal
- Private functions:
read(L10),increment(L14),counter_never_decrements(L22)
- Private functions:
privileged_xous_server_scaffold_is_fail_closed(L11)
CLI (profiles, Shamir, EPK, identity, Fulla HTTP registry via keyserver).
Files: 13 | Public functions: 32 | Private functions: 48
- Public types:
struct PushResponse,struct KeyRecord,enum FetchKeysBody - Public functions:
registry_http_client,trimmed_registry_base,push_url,fingerprint_lookup_url,email_lookup_url,resolve_registry,resolve_registry_url,resolve_registry_sources - Private functions:
endpoint_label(L137),resolve_order_flag_env_config(L158),blank_flag_env_skips_until_config_when_present(L190),blank_env_fallback_to_config(L202),blanks_fail_when_no_config_section(L214),resolve_errors_when_missing(L219),push_url_formats(L226),key_record_deserializes_fulla_sidecar_fields(L234)
- Public types:
struct FetchArgs - Public functions:
normalize_fingerprint_hex,run_fetch - Private functions:
parse_output_mode(L53),flatten_records(L63),write_stdout_or_file(L70),fingerprint_normalizes(L218),fingerprint_bad_length(L226),fingerprint_bad_char(L231)
- Modules:
client,fetch,push - Public types:
enum KeyserverCmd - Public functions:
run_keyserver
- Public types:
struct PushArgs - Public functions:
cert_emails_sorted,validate_dmr_id_range,resolve_email_for_push,run_push - Private functions:
opt_trim_nonempty(L111),cert_to_armored(L188),load_cert_and_armor(L199),cert_with_emails(L359),cert_without_mail(L369),email_derivation_zero(L379),email_derivation_one(L385),email_derivation_many_without_flag(L394),email_derivation_many_with_flag(L400),dmr_id_validation(L410)
- Modules:
keyserver
- Public types:
enum OutputMode - Public functions:
resolve_database_path,open_database,load_app_config,prompt_pin,print_expiry_warnings,resolve_identity,exit_code,print_json,flush_stderr
- Public functions:
run_encrypt,run_decrypt,run_sign,run_verify - Private functions:
identity_to_cert(L24),collect_recipient_identities(L32),session_id_from_ciphertext(L60),run_encrypt_age(L230),run_decrypt_age(L424),verification_pool(L510)
- Public functions:
run_epk - Private functions:
run_generate(L47),run_import(L79),run_status(L111),run_expire(L155),row_to_json(L197)
- Public types:
const GALDRA_FINGERPRINT_EPHEMERAL_ECDH_BLOCKED - Public functions:
run_identity
- Public types:
enum IdentityCmd,enum ProfileCmd,enum ShamirCmd,enum EpkCmd - Private functions: 13 (open file for full list)
- Public functions:
run_profile - Private functions:
map_cipher(L12)
- Public functions:
decode_qr_image
- Public functions:
run_shamir
Host library: device, DB, encrypt, Shamir, audit.
Files: 19 | Public functions: 115 | Private functions: 101
- Public types:
enum AuditAction,struct AuditEntry,struct AuditRecord,struct AuditFilter,enum AuditVerifyResult - Public functions:
as_str,from_wire,audit_append,audit_query,audit_verify_chain,audit_export_csv,audit_export_json - Private functions:
genesis_prev_hash(L201),hash_payload(L205),record_to_payload(L213),last_audit_row(L259),map_audit_row(L329),csv_escape(L433),serialize(L461)
- Public functions:
build_cipher_aad,seal_plaintext_with_profile,open_plaintext_after_openpgp,is_cipher_profile_envelope,parse_hex_fixed,wrap_inner_with_cess_mode_a,open_plaintext_from_openpgp_literal - Private functions:
serialize_cascade_ct(L29),deserialize_cascade_ct(L51),open_cess_mode_a_outer_to_inner_blob(L250),cess_mode_a_roundtrip_wraps_galdra_inner(L291)
- Public types:
struct Config,struct KeyserverConfig,struct RegistryKeyserverConfig,struct RegistryNodeConfig,const MAX_REGISTRY_NODES,struct LdapConfig - Public functions:
default_database_path,default_config_path,database_key_from_env,load_config - Private functions:
default_key_expiry_warn_days(L30),default_keyservers(L46),default_timeout_seconds(L54),default(L59),default(L68),default_registry_enabled(L119),default_registry_failover(L123),default_registry_timeout_seconds(L127),home_dir(L215),data_dir_linux(L239)
- Public types:
enum KeySource,struct Identity,struct NewContact,struct ContactUpdate,struct ContactFilter - Public functions:
as_str,from_str,identity_from_row_offset,contact_add,contact_get_by_id,contact_get_by_callsign,contact_get_by_email,contact_get_by_fluxer_id,contact_get_by_discord_id,contact_get_by_irc_id,normalize_openpgp_fingerprint_hex,contact_get_by_pgp_fingerprint_normalized,contact_get_by_dmr_id,resolve_contact_identifier,contact_search,contact_update,contact_delete,contact_list,contact_upsert_key - Private functions:
validate_address_lens(L242),validate_social_ids(L287),validate_phone_number(L329),row_to_identity(L322),validate_new_contact(L326),try_parse_dmr_subscriber_id(L566),validate_contact_update(L654)
- Public types:
struct Db - Public functions:
open,open_in_memory,connection,connection_mut - Private functions:
run_migrations(L72)
- Public types:
struct Device,struct DeviceStatus,struct DeviceInfo,struct KeySlotInfo,enum KeyFormat,struct ProvisionPolicy,struct PinBuffer - Public functions:
new,as_str,validate,connect,status,unlock,lock,info,key_list,key_export_public,key_delete,zeroise,provision,generate_session_key,serial,export_signing_key_shamir_material,signing_key_fingerprint_hex,import_shamir_recovered_signing_key
- Public functions:
encrypt_openpgp,encrypt_openpgp_signed,try_decrypt_session_key_from_cert,decrypt_openpgp - Private functions:
collect_recipients(L23),write_literal_payload(L63),get_certs(L175),check(L192),decrypt(L208),roundtrip_two_recipients(L268),hidden_recipients_roundtrip(L308)
- Public types:
struct OfferJson,struct OfferRow,struct GenerateParams,struct ImportParams - Public functions:
is_expired,is_valid,store_offer,get_offer,list_offers,mark_consumed,revoke_offer,check_expiry,check_not_consumed,generate_offer,import_offer - Private functions: 27 (open file for full list)
- Public types:
enum GaldraError
- Public types:
enum GaldraFingerprintParseError,struct GaldraFingerprint - Public functions:
from_public_key_bytes,canonical,display - Private functions:
eq(L24),normalize_input(L62),from_str(L87),fmt(L93),from_bytes_round_trip_canonical(L103),display_grouping(L113),parse_display_form(L122),inequality_different_key(L130),reject_wrong_prefix(L137),reject_wrong_length(L144),reject_non_hex(L149)
- Public types:
struct GroupSummary,struct GroupMember,struct GroupWithMembers - Public functions:
group_create,group_get,group_list,group_add_member,group_remove_member,group_delete,group_active_members,group_add_from_group,group_edit - Private functions:
parse_dt_required(L50),membership_expired(L56),key_expired(L165)
- Public functions:
keyserver_fetch,wkd_fetch,cert_first_email - Private functions:
reject_plain_http(L12),userid_from_query(L22),flatten_certs(L30)
- Public types:
struct RegistryEndpoint,const ENV_REGISTRY_URL,struct RegistryResolution - Public functions:
trimmed_registry_base,ensure_registry_enabled,endpoints_from_config,resolve_registry,resolve_registry_url,should_failover_after_http,is_registry_application_status
- Public functions:
ldap_fetch_async - Private functions:
ldap_escape_filter_value(L11),cert_from_ldap_value(L26)
- Modules:
audit,cipher_envelope,config,contacts,db,device,encrypt,ephemeral_offers,error,galdra_fingerprint,openpgp_pcsc,groups,keyserver,registry,ldap,profiles,shamir_ops,sign,sync
- Public functions:
read_sig_public_key_bytes_via_pcsc,read_sig_public_key_bytes_via_pcsc,read_sig_public_key_bytes_via_pcsc - Private functions:
combine_sw(L15),transmit(L19),select_openpgp_application(L38),connect_card(L58),read_sig_public_key_bytes(L84)
- Public types:
const BUILTIN_PROFILE_NAMES,struct ProfileStore,struct ProfileSummary - Public functions:
load,list,get,get_owned,is_builtin,add,remove,from_profile,parse_curve_wire,parse_layer_name,audit_crypto_detail_line,audit_crypto_detail_multiline,build_profile_from_options - Private functions:
map_cipher_err(L21),insert_user_row(L98),test_profile_store_load_builtins(L246),test_profile_store_add_persist(L255),test_profile_store_remove_builtin(L279)
- Public types:
struct ShamirShareExport,struct ZeroizingShareBytes - Public functions:
as_slice,to_armoured,from_armoured,shamir_split_key,shamir_recover_key - Private functions:
map_shamir_err(L12),drop(L50),test_shamir_share_value_zeroised_on_drop(L252),test_shamir_share_export_armour_roundtrip(L269)
- Public functions:
sign_openpgp_detached,verify_openpgp_detached - Private functions:
get_certs(L21),check(L38),detached_roundtrip(L97)
- Public types:
enum SyncImportMode - Public functions:
sync_export,sync_import - Private functions:
sqlite_path_for_attach(L23),copy_table(L28),pragma_identity_columns(L59),import_identities_sql(L71),export_import_merge(L182),import_replace_clears(L225)
GTK desktop UI for Galdra.
Files: 7 | Public functions: 33 | Private functions: 31
- Public types:
struct GaldradClient,struct ProfileSummary,struct CreateProfileBody,struct ShamirShareInfo,struct IdentityRow,struct GroupRow - Public functions:
new,base_url,health_pretty,device_status_pretty,contacts,groups,audit_pretty,profiles,get_profile,create_profile,delete_profile,shamir_split,shamir_recover,shamir_share_info,post_encrypt_b64,post_decrypt_b64,layer_summary,shamir_label,source_label,dropdown_label - Private functions:
get_text(L24),post_json(L33),delete(L49),urlencoding_encode(L196),pretty_json(L209)
- Public functions:
build - Private functions:
text_view(L279),set_text_view(L291),scrolled(L295)
- Public types:
struct GtkConfig - Public functions:
config_path,load,save - Private functions:
default(L15)
- Private functions: 15 (open file for full list)
- Public types:
struct ProfileRowObj,struct ProfileRow - Public functions:
from_summary,name,curve,layers,shamir,source,is_builtin
- Public types:
enum EditorMode - Public functions:
build - Private functions:
col_lock(L50),col_text(L72),open_profile_editor(L251)
- Public functions:
build - Private functions:
split_pem_blocks(L11),text_view(L192),set_text_view(L204),scrolled(L208)
REST daemon over galdra-core-host.
Files: 5 | Public functions: 2 | Private functions: 35
- Public types:
struct ListContactsQuery,struct CreateContactBody,struct UpdateContactBody,struct CreateGroupBody,struct AddMembersBody,struct AuditQuery,struct EncryptBody,struct CreateProfileBody,struct ShamirSplitBody,struct ShamirRecoverBody,struct ShamirShareInfoQuery,struct DecryptBody,struct ApiDoc - Public functions:
router - Private functions: 29 (open file for full list)
- Public types:
struct ApiError - Private functions:
from(L12),into_response(L18)
- Modules:
api,error,state
- Private functions:
load_app_config(L27),open_database(L36),main(L49),run(L56)
- Public types:
struct AppState - Public functions:
new
Provisioning helpers and vector generators.
Files: 5 | Public functions: 2 | Private functions: 9
- Private functions:
ecb_encrypt(L9),main(L19)
- Public types:
struct VerifyUpdateBundleStubError - Public functions:
sha256_manifest_chunk,verify_update_bundle_stub - Private functions:
fmt(L14)
- Private functions:
main(L3)
- Private functions:
sha256_deterministic(L6)
- Private functions:
main(L34),run(L41),send_line(L85),wait_for_usb_reset_hint(L95)
PIN state machine, constant-time compare, zeroisation triggers.
Files: 4 | Public functions: 10 | Private functions: 3
- Public types:
trait ZeroisationTrigger,const DEFAULT_MAX_PIN_ATTEMPTS,const MIN_PROVISIONED_PIN_ATTEMPTS,const MAX_PROVISIONED_PIN_ATTEMPTS,enum PinPolicyProvisionError,struct PinPolicyConfig,enum PinState,enum PinOutcome,struct PinPolicyMachine - Public functions:
pin_compare,try_with_max_attempts,new,enter_locked_idle,submit_attempt,into_inner - Private functions:
trigger_zeroisation(L18),default(L57)
- Public types:
enum PinParseError - Public functions:
parse_unlock_pin,parse_challenge_passphrase
- Private functions:
pin_compare_reflexive_equal(L6)
- Public types:
enum ZeroisePhase,enum ZeroiseBootState - Public functions:
on_power_loss_during_wipe,boot0_may_enumerate_usb
dudect timing harnesses and statistical tests.
Files: 12 | Public functions: 30 | Private functions: 34
- Private functions:
main(L8)
- Public functions:
bench_dudect_session_token_verify_constant_time,bench_dudect_template_decrypt_constant_time,bench_dudect_signature_verify_constant_time
- Public functions:
run_all - Private functions: 24 (open file for full list)
- Public functions:
dudect_sample_multiplier,samples_for_harness - Private functions:
base_samples_for_harness(L17)
- Public types:
struct CtSummary,enum Class,struct CtRunner,struct CtCtx,const DUDECT_THRESHOLD,const DUDECT_SAMPLES,const DUDECT_SAMPLES_PBKDF2,const DUDECT_SAMPLES_SHA3,const DUDECT_SAMPLES_BRAINPOOL_SLOW,const DUDECT_SAMPLES_BRAINPOOL_REDUCED,const DUDECT_SAMPLES_EPHEMERAL_ECDH,const DUDECT_SAMPLES_SIGNATURE_VERIFY - Public functions:
run_one,left_right,update_ct_stats - Private functions:
local_cmp(L64),percentile_of_sorted(L77),prepare_percentiles(L93),compute_t(L161),update_test_left(L182),update_test_right(L189)
- Public types:
enum DudectStatus - Public functions:
run_dudect_harnesses,run_dudect_harnesses,dudect_stub_chacha_decrypt,dudect_stub_shamir_recover,dudect_stub_brainpool_ecdh,timing_brainpool384_scalar_mult,timing_serpent_tag_check,timing_twofish_tag_check,timing_rsa_oaep_decrypt,timing_rsa_pss_verify - Private functions:
stubs_are_callable(L101)
- Public functions:
bench_timing_blake2b,bench_timing_blake2s
- Public functions:
bench_timing_blake3
- Public functions:
bench_timing_cascade_auth_failure,bench_timing_cascade_inner_vs_outer_failure - Private functions:
copy_cascade_ct(L12)
- Public functions:
bench_timing_pbkdf2
- Public functions:
bench_timing_sha256,bench_timing_sha512
- Public functions:
bench_timing_sha3_256,bench_timing_sha3_512
Xous firmware service: CCID + OpenPGP on Baochip.
Files: 4 | Public functions: 4 | Private functions: 18
- Modules:
reboot - Re-exports:
Bao1xRebootController,UpdateModeAuthorization
- Private functions:
main(L9),main(L15),galdralag_ccid_main(L20),build_id_aid(L142),ccid_pddb_provisioned(L152),read_pddb_key(L177),ccid_serve_loop(L188),usb_link_status(L240),ccid_rx_deferred(L252),ccid_tx(L275)
- Public types:
struct UpdateModeAuthorization,struct Bao1xRebootController - Public functions:
for_operator_consent(privileged-rebootfeature),new,enter_update_mode - Private functions:
boot_wait_is_enabled(L84),boot_wait_ptr(L143),rcurst0_ptr(L153),read_boot_wait(L162),inc_boot_wait(L177),trigger_soft_reset(L189),default(L217),boot_wait_enable_detection(L252),fake_reboot_controller_records_request(L264),update_mode_requires_authorization_token_type(L273),hardware_addresses_are_sane(L285)
- Public types:
const SERVER_NAME_USB_DEVICE,const OP_LINK_STATUS,const OP_CCID_RX_DEFERRED,const OP_CCID_TX,struct CcidMsgIpc,enum CcidCode,enum UsbDeviceState - Public functions:
from_scalar
Vendored subtle crate (constant-time helpers).
Files: 1 | Public functions: 14 | Private functions: 37
- Public types:
struct Choice,trait ConstantTimeEq,trait ConditionallySelectable,trait ConditionallyNegatable,struct CtOption,trait ConstantTimeGreater,trait ConstantTimeLess,struct BlackBox - Public functions:
unwrap_u8,new,expect,unwrap,unwrap_or,unwrap_or_else,is_some,is_none,map,and_then,or_else,into_option,new,get - Private functions: 37 (open file for full list)
CCID, OpenPGP card dispatch, provisioning hooks.
Files: 19 | Public functions: 60 | Private functions: 154
- Public types:
enum PcToRdr,enum CcidError - Public functions:
parse_pc_to_rdr - Private functions:
hdr(L102),parse_icc_power_on(L115),parse_xfr_block(L133),parse_unknown_type(L156),parse_truncated(L162)
- Modules:
usb_class - Public types:
const USB_DEVICE_CLASS,const USB_INTERFACE_CLASS_CCID,const USB_INTERFACE_SUBCLASS_CCID,const USB_INTERFACE_PROTOCOL_CCID,const USB_VID_GALDRALAG,const USB_PID_GALDRALAG_TOKEN,const STRING_INDEX_MANUFACTURER,const STRING_INDEX_PRODUCT,const STRING_INDEX_SERIAL,const USB_STRING_MANUFACTURER,const USB_STRING_PRODUCT,const CCID_BCD_CCID,const CCID_MAX_SLOT_INDEX,const CCID_VOLTAGE_SUPPORT,const CCID_DW_PROTOCOLS,const CCID_DW_DEFAULT_CLOCK,const CCID_DW_MAXIMUM_CLOCK,const CCID_DW_DATA_RATE,const CCID_DW_MAX_DATA_RATE,const CCID_DW_MAX_IFSD,const CCID_DW_SYNCH_PROTOCOLS,const CCID_DW_MECHANICAL,const CCID_DW_FEATURES,const CCID_MAX_MESSAGE_LENGTH,const CCID_CLASS_GET_RESPONSE,const CCID_CLASS_ENVELOPE,const CCID_LCD_LAYOUT,const CCID_PIN_SUPPORT,const CCID_MAX_BUSY_SLOTS,const CCID_BULK_MAX_PACKET,const CCID_INTERRUPT_MAX_PACKET,const CCID_INTERRUPT_INTERVAL_MS,const CCID_WIRE_BUF_SIZE - Public functions:
ccid_class_descriptor_bytes
- Public types:
const RDR_TO_PC_DATA_BLOCK,const RDR_TO_PC_SLOT_STATUS,const RDR_TO_PC_PARAMETERS,struct CcidStatus - Public functions:
ok_active,cmd_not_supported,atr_openpgp_profile,rdr_to_pc_data_block,rdr_to_pc_slot_status,rdr_to_pc_parameters - Private functions:
push_hdr(L45)
- Public types:
struct CcidClass - Public functions:
new,push_out_bytes,poll_bulk_in_inner,reset,new,dispatch_mut,rx_len - Private functions: 15 (open file for full list)
- Modules:
ccid,openpgp,provisioning - Public types:
enum Personality,struct UnlockCapability - Public functions:
usb_exposed_secret_slice,set_personality_stub(returnsGaldrError::PrivilegedOperationDenied)
- Public types:
const OPENPGP_AID_PREFIX,const OPENPGP_CARD_VERSION_MAJOR,const OPENPGP_CARD_VERSION_MINOR - Public functions:
build_aid,aid_matches_openpgp
- Public types:
struct CommandApdu,enum ApduError,struct ResponseApdu - Public functions:
parse,ok,ok_empty,error,to_bytes - Private functions:
le_short(L147),parse_short_apdu_no_data_no_le(L209),parse_case2_apdu(L219),parse_case4_apdu(L226),parse_extended_apdu(L239),parse_truncated_apdu(L250),status_word_bytes(L260)
- Public types:
enum OpenPgpKeySlot,enum OpenPgpBackendError,trait OpenPgpAudit,struct NullAudit,trait OpenPgpBackend - Public functions:
to_status_word - Private functions: 27 (open file for full list)
- Public functions:
parse_ecdh_peer_public_key - Private functions:
parse_ber_length(L15),parse_ber_tag(L34),read_tlv(L52)
- Modules:
auth,change_ref,decipher,generate_key,get_data,get_response,put_data,reset_retry,select,sign,verify
- Public types:
trait OpenPgpDispatch,struct OpenPgpCcidDispatcher - Public functions:
handle_apdu,new,into_inner,backend_mut,state_mut - Private functions: 27 (open file for full list)
- Public types:
const DO_STORE_MAGIC,const DO_STORE_REGION_BYTES,enum DoStoreError,struct DoStore - Public functions:
new,probe,read,write,delete - Private functions:
from(L29),init_if_needed(L57),read_slot(L70),write_slot(L82),write_read_round_trip(L167),uninitialised_read_returns_none(L176)
- Modules:
curve_oids - Public types:
const BRAINPOOL_P256R1,const BRAINPOOL_P384R1,const BRAINPOOL_P512R1,const NIST_P256,const NIST_P384,const ED25519,const CURVE25519,enum AlgorithmAttributes - Public functions:
to_bytes,parse,extended_capabilities_default,compute_v4_fingerprint,pin_bytes_to_verifier_digest - Private functions:
algorithm_attributes_brainpool256_roundtrip(L172),algorithm_attributes_ed25519_roundtrip(L184),algorithm_attributes_rsa2048_roundtrip(L196),fingerprint_compute_known_vector(L208)
- Public types:
enum StatusWord - Public functions:
sw1,sw2 - Private functions:
status_word_bytes_cover_common_cases(L113)
- Modules:
aid,apdu,backend,dispatch,do_store,dos,error,state,vault_backend,commands - Public functions:
on_token_lock
- Public types:
struct CardState - Public functions:
new,reset,set_pw1_sign,is_pw1_sign_verified,consume_pw1_sign,set_pw1_other,is_pw1_other_verified,set_pw3,is_pw3_verified - Private functions:
default(L93),pw1_sign_consumed_after_sign(L103),pw1_other_persists(L112),reset_clears_all(L120)
- Public types:
struct NoopZeroise,struct OpenPgpVaultBackend - Public functions:
new,open,new_with_policy,load_private_keys,load_pin_verifiers_from_storage - Private functions: 40 (open file for full list)
- Private functions:
mass_storage_never_exposes_slice(L6)
- Public types:
const PROVISIONING_PIN_MAX,trait ProvisioningCommit,struct ProvisioningClass - Public functions:
new,commit_succeeded - Private functions: 13 (open file for full list)
RRAM vault, crypto, Shamir, sealed keys, Brainpool/RSA, sessions.
Files: 35 | Public functions: 219 | Private functions: 221
- Public types:
struct BrainpoolScalar,struct BrainpoolPublicKey,struct BrainpoolSharedSecret - Public functions:
generate,public_key,diffie_hellman,from_secret_key_bytes_for_test,to_secret_bytes_for_test,from_public_key_der,to_sec1_uncompressed,to_sec1_compressed,from_sec1,ct_eq,as_bytes,from_public_key_for_test - Private functions:
secret_key(L35),generator_point_on_curve(L178),key_generation_round_trip(L184),ecdh_commutativity(L193),sec1_round_trip_uncompressed(L206),sec1_rejects_point_not_on_curve(L216),shared_secret_compare_constant_time(L225),encoded_identity_rejected_by_from_sec1(L237)
- Public types:
const MAX_DER_SIG_P384,struct BrainpoolP384Scalar,struct BrainpoolP384PublicKey,struct BrainpoolP384SharedSecret,struct BrainpoolP384SigningKey,struct BrainpoolP384VerifyingKey,struct BrainpoolP384Signature - Public functions:
from_der_bytes,der_bytes,from_der_bytes_for_test,xor_first_byte_for_test,generate,public_key,diffie_hellman,from_secret_key_bytes_for_test,to_secret_bytes_for_test,from_public_key_der,to_sec1_uncompressed,from_sec1,ct_eq,as_bytes,generate,verifying_key,sign,sign_handshake_sha256_prehash,to_scalar_bytes_for_test,from_scalar_bytes_for_test,from_public_key_der,verify,verify_handshake_sha256_prehash,to_sec1_uncompressed,from_sec1,from_public_key_for_test - Private functions: 15 (open file for full list)
- Public types:
enum BrainpoolError
- Public types:
const CAMELLIA_TAG_LEN,const MAX_CAMELLIA_PLAINTEXT,const MAX_CAMELLIA_CIPHERTEXT,enum CamelliaError,struct CamelliaKey,struct CamelliaNonce,struct CamelliaCiphertext,struct CamelliaPlaintext - Public functions:
derive_from_prk_label,derive,from_cipher_mac_keys,from_okm64,from_raw_cipher_mac_for_test,raw_64_for_test,derive_from_prk_label,from_okm32_prefix,generate,from_counter,as_bytes,as_slice,from_bytes_fuzz,flip_last_byte_for_test,flip_first_body_byte_for_test,as_slice,as_mut_slice_for_test,camellia_encrypt,camellia_decrypt,camellia_ctr_unauthenticated,camellia_ecb_encrypt_block - Private functions: 16 (open file for full list)
- Public types:
const MAX_CHACHA_PLAINTEXT,const MAX_CHACHA_CIPHERTEXT,enum ChaChaError,struct ChaChaKey,struct ChaChaNonce,struct ChaChaCiphertext,struct ChaChaPlaintext - Public functions:
derive_from_prk_label,derive,from_raw_key_bytes_for_test,from_symmetric_key_material,as_raw_bytes_for_test,derive_from_prk_label,from_okm32_prefix,generate,from_counter,to_bytes,from_stored_bytes,from_bytes_for_test,as_slice,try_from_slice,from_heapless_vec,from_vec_for_test,as_slice_for_test,as_slice,as_mut_slice_for_test,chacha_encrypt,chacha_decrypt - Private functions: 14 (open file for full list)
- Public types:
struct BrainpoolSigningKey,struct BrainpoolVerifyingKey,struct BrainpoolSignature - Public functions:
from_der_bytes,der_bytes,from_der_bytes_for_test,xor_first_byte_for_test,generate,verifying_key,sign,sign_handshake_sha256_prehash,to_scalar_bytes_for_test,from_scalar_bytes_for_test,from_public_key_der,verify,verify_handshake_sha256_prehash,to_sec1_uncompressed,to_sec1_compressed,from_sec1 - Private functions:
ecdsa_sign_verify_round_trip(L214),ecdsa_reject_wrong_key(L224),ecdsa_reject_tampered_message(L239),ecdsa_reject_tampered_signature(L250),verifying_key_sec1_round_trip(L261)
- Public types:
enum KeyPurpose - Public functions:
info,derive_subkey_sha512
- Public types:
struct VaultKey256,struct EphemeralEcdhSecretMaterial - Public functions:
new_zeroed,as_mut_array,new_zeroed
- Public types:
const PUBLIC_KEY_TABLE_BYTES,const SEALED_BLOB_BYTES,const SEALED_SIG_OFFSET,const SEALED_DEC_OFFSET,const SEALED_AUT_OFFSET,const SEALED_KEY_REGION_END
- Modules:
brainpool,brainpool384,camellia_cipher,chacha_aead,ecdsa_brainpool,kdf_policy,key_material,layout,public_key_vault,rsa_keys,rsa_vault,sealed_key,serpent_cipher,service,session,session_long_term_signing,shamir,twofish_cipher,vault_pin_policy
- Public types:
struct PublicKeySlot,enum PublicKeyVaultError,const PUBLIC_KEY_SLOT_BYTES,const PUBLIC_KEY_REGION_BASE - Public functions:
vault_store_public_key_der,vault_load_public_key_der,vault_delete_public_key - Private functions:
slot_offset(L31),store_load_delete_roundtrip(L103),second_store_without_overwrite_fails(L118)
- Public types:
const RSA_MIN_MODULUS_BITS,const RSA_MAX_CIPHERTEXT_BYTES,struct Pkcs1v15,enum RsaError,struct RsaPrivateKey,struct RsaPublicKey,struct RsaOaepCiphertext,struct RsaPssSignature,struct RsaPkcs1Signature,struct RsaPlaintext,struct RsaDerBytes - Public functions:
as_slice,from_bytes_fuzz,as_slice,from_bytes_fuzz,as_slice,from_bytes_fuzz,as_slice,as_mut_slice_for_test,as_slice,generate,from_pkcs8_der,public_key,decrypt_oaep,sign_pss_sha256,sign_pss_sha512,sign_pkcs1_sha256,to_pkcs8_der,from_spki_der,to_spki_der,encrypt_oaep,verify_pss_sha256,verify_pss_sha512,verify_pkcs1_sha256 - Private functions: 23 (open file for full list)
- Public types:
struct RsaVaultStoreContext,struct KeySlot,enum RsaVaultError - Public functions:
new,vault_store_rsa_key,vault_load_rsa_key,vault_delete_rsa_key - Private functions:
slot_offset(L75),derive_wrap_key(L79),from(L181),vault_round_trip(L192),vault_overwrite_protection(L213),vault_delete(L232)
- Public types:
struct SealedKeyBlob,enum SealedKeyError - Public functions:
seal,unseal,unseal_from_storage_cell,as_slice,blob_len - Private functions:
purpose_wire_id(L35),derive_wrapping_key(L44),build_aad(L61),unseal_inner(L124),seal_unseal_roundtrip(L225),tamper_tag(L250),tamper_purpose(L268),empty_cell(L278)
- Public types:
const SERPENT_TAG_LEN,const MAX_SERPENT_PLAINTEXT,const MAX_SERPENT_CIPHERTEXT,enum SerpentError,struct SerpentKey,struct SerpentNonce,struct SerpentCiphertext,struct SerpentPlaintext - Public functions:
derive_from_prk_label,from_okm64,derive,from_raw_cipher_mac_for_test,raw_64_for_test,derive_from_prk_label,from_okm32_prefix,generate,from_counter,as_bytes,as_slice,from_bytes_fuzz,flip_last_byte_for_test,flip_first_body_byte_for_test,as_slice,as_mut_slice_for_test,serpent_encrypt,serpent_decrypt,serpent_ctr_unauthenticated,serpent_ecb_encrypt_block - Private functions: 16 (open file for full list)
- Public types:
enum VaultRequest,struct VaultService - Public functions:
new,dispatch(fail-closed:PrivilegedOperationDenied) - Private functions:
default(L21),seal_stub_is_fail_closed(L49),unseal_stub_is_fail_closed(L56),zeroise_all_stub_is_fail_closed(L63)
- Public types:
enum VaultSessionState
- Public types:
const SESSION_LT_REGION_BASE,enum SessionLongTermSigningKey,enum SessionLongTermSigningVaultError - Public functions:
vault_store_session_long_term_signing_key,vault_load_session_long_term_signing_key - Private functions:
slot_offset(L43)
- Public types:
enum ShamirError,struct ShamirShare,struct ShamirSecret - Public functions:
try_from_index_value,value,as_slice,as_mut_slice_for_test,shamir_split,shamir_recover - Private functions: 20 (open file for full list)
- Public types:
const TWOFISH_TAG_LEN,const MAX_TWOFISH_PLAINTEXT,const MAX_TWOFISH_CIPHERTEXT,enum TwofishError,struct TwofishKey,struct TwofishNonce,struct TwofishCiphertext,struct TwofishPlaintext - Public functions:
derive_from_prk_label,derive,from_cipher_mac_keys,from_okm64,from_raw_cipher_mac_for_test,raw_64_for_test,derive_from_prk_label,from_okm32_prefix,generate,from_counter,as_bytes,as_slice,from_bytes_fuzz,flip_last_byte_for_test,flip_first_body_byte_for_test,as_slice,as_mut_slice_for_test,twofish_encrypt,twofish_decrypt,twofish_ctr_unauthenticated,twofish_ecb_encrypt_block - Private functions: 20 (open file for full list)
- Public types:
const VAULT_PIN_POLICY_RECORD_BYTES,struct VaultPinPolicyRecord,enum VaultPinPolicyError - Public functions:
encode,decode,to_pin_policy_config,vault_read_pin_policy,vault_write_pin_policy,provisioned_attempts_range - Private functions:
round_trip_default_attempts(L107),round_trip_ten(L118),encode_rejects_two(L129)
- Private functions:
aes_gcm_decrypt(L23),wycheproof_aes_gcm_json(L60)
- Private functions:
hex_decode_tc(L7),decode_p256_private_scalar(L11),run_ecdh_case(L30),wycheproof_brainpool256_ecdh_json(L101)
- Private functions:
hex_decode_tc(L10),decode_p384_private_scalar(L16),run_ecdh_case(L35),wycheproof_brainpool384_ecdh_json(L107),run_ecdsa_case(L125),wycheproof_brainpool384_ecdsa_sha384_json(L161)
- Private functions:
wycheproof_chacha20_poly1305_json(L9)
- Private functions:
hex_decode_tc(L6),run_ecdsa_case(L10),wycheproof_brainpool256_ecdsa_sha256_json(L46)
- Private functions:
hex_decode_tc(L5),wycheproof_ed25519_json(L10)
- Private functions:
wycheproof_hkdf_sha256_json(L7)
- Private functions:
wycheproof_hkdf_sha512_json(L7)
- Private functions:
wycheproof_hmac_sha256_json(L10)
- Private functions:
wycheproof_hmac_sha512_json(L10)
- Private functions: 13 (open file for full list)
- Private functions:
hex_decode_tc(L5),run_case(L9),wycheproof_x25519_json(L40)
Build/test automation (test-all, fuzz, docs).
Files: 3 | Public functions: 2 | Private functions: 36
- Private functions:
main(L12),workspace_root(L294),galdralag_xous_elf_logical_path(L300),run_galdralag_xous_cargo_build(L308),canonical_galdralag_elf_path(L337),parse_build_and_register_args(L354),format_command_for_display(L395),shell_join_for_hint(L401),fuzz_bin_name(L415),run_fuzz_target(L436),run_embedded(L464)
- Public functions:
run - Private functions: 23 (open file for full list)
- Public functions:
run - Private functions:
load_passing_harnesses(L170),merge_pass_results_into_cache(L184)
| Target file | Exercises |
|---|---|
fuzz/fuzz_targets/shamir_split_recover.rs |
vault::shamir |
fuzz/fuzz_targets/fuzz_ephemeral_handshake.rs |
ephemeral-session handshake |
fuzz/fuzz_targets/openpgp_dispatch.rs |
OpenPGP APDU dispatch |
fuzz/fuzz_targets/fuzz_cipher_profile.rs |
cipher-profile parsing |
fuzz/fuzz_targets/chacha_roundtrip.rs |
ChaCha AEAD in vault |
fuzz/fuzz_targets/camellia_aead.rs |
Camellia AEAD |
fuzz/fuzz_targets/serpent_aead.rs |
Serpent AEAD |
fuzz/fuzz_targets/twofish_aead.rs |
Twofish AEAD |
fuzz/fuzz_targets/brainpool384_ecdh.rs |
Brainpool P-384 ECDH |
fuzz/fuzz_targets/rsa_oaep_decrypt.rs |
RSA OAEP decrypt |
fuzz/fuzz_targets/rsa_pss_verify.rs |
RSA PSS verify |
fuzz/fuzz_targets/rsa_der_import.rs |
RSA DER import |
fuzz/fuzz_targets/biometric_dispatch.rs |
Biometric API |
Run via cargo xtask fuzz <target> (see xtask/src/main.rs).
From the repository root, the per-crate sections can be refreshed with a small Python scan of pub fn / pub mod / pub struct lines (test modules omitted). The generator script used for the initial version lives in repository history; after large refactors, re-run a similar scan or rely on cargo doc and rg '^pub fn'.
Last generated: 2026-05-29 (workspace snapshot).