Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
97cd2b7
refactor(stack-encrypt): rename split_source to into_source_records
coderdan Nov 30, 2026
fa00e1b
refactor(stack-encrypt): SplitRefusal becomes SourceRecordError
coderdan Nov 30, 2026
c2dbb11
chore(vscode): turn on stack-encrypt's dynamic feature for rust-analyzer
coderdan Nov 30, 2026
866c036
refactor(stack-encrypt): one OneOrMany type for a record or a batch
coderdan Nov 30, 2026
3c6e1a2
refactor(stack-encrypt): rename Place to Cursor in the source reader
coderdan Nov 30, 2026
5364c6f
refactor(stack-encrypt): rename TopSink to SourceSink
coderdan Nov 30, 2026
6e91897
refactor(stack-encrypt): rename the NotARecord sink to RecordSequence
coderdan Nov 30, 2026
f4b913f
refactor(stack-encrypt): NotARecord is the error of a SourceRecord
coderdan Nov 30, 2026
31d9d56
refactor(stack-encrypt): shorten RecordSequence to RecordSeq
coderdan Nov 30, 2026
c8ae92f
refactor(stack-encrypt): the source reader is a submodule of record
coderdan Nov 30, 2026
3c26eff
refactor(stack-encrypt): into_source_records returns records that fit…
coderdan Nov 30, 2026
23d8f59
refactor(stack-encrypt): rename StoredRow to EncryptedRecord
coderdan Nov 30, 2026
2d7c225
refactor(stack-encrypt): the plan has a module of its own, dynamic::plan
coderdan Nov 30, 2026
344c875
refactor(stack-encrypt): FieldValues and IntoLabel move into dynamic
coderdan Nov 30, 2026
b62b346
refactor(stack-encrypt): plan, planned and values are submodules of r…
coderdan Nov 30, 2026
46e99ab
refactor(stack-encrypt)!: a plan is read with Plan::from_frame
coderdan Nov 30, 2026
3a9d316
test(stack-encrypt): the UI snapshot names planned.rs at its new path
coderdan Dec 3, 2026
db03a5c
docs(stack-encrypt): doc comments name planned at its new path
coderdan Dec 3, 2026
d92d4dc
docs(stack-encrypt): the last references to record::plan and the old …
coderdan Dec 3, 2026
73f9cb4
refactor(stack-encrypt): RawRecord names an entry of a source read in…
coderdan Dec 4, 2026
8dba0a6
refactor(stack-encrypt): SourceRecordError's test lives beside it, an…
coderdan Dec 4, 2026
4599de5
test(stack-encrypt): the split's two errors have fixed messages
coderdan Dec 4, 2026
6744662
refactor(stack-encrypt): rename record_rows and record_row to into_en…
coderdan Dec 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"conventionalCommits.scopes": ["protect", "examples"]
"conventionalCommits.scopes": ["protect", "examples"],
"rust-analyzer.cargo.features": ["stack-encrypt/dynamic"]
}
4 changes: 2 additions & 2 deletions conformance/stack-encrypt/declaration-grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ SDK syntax. It is an experimental conformance profile, not a new production wire
version. The input is a Vitamin C **typed transport frame**. JSON below is a
readable projection; it cannot distinguish every integer width or carry bytes.

The executable authority is `stack_encrypt::dynamic::record::plan_with`, with the
selected target resolver. Native `record::plan` and the Go guest without EQL use
The executable authority is `stack_encrypt::dynamic::record::Plan::from_frame_with`, with the
selected target resolver. Native `record::Plan::from_frame` and the Go guest without EQL use
`NoTargets`. The corpus fixes that resolver explicitly as `none`. It checks
target syntax and unavailable-target refusals; it does not certify EQL targets.

Expand Down
10 changes: 5 additions & 5 deletions docs/plans/2026-11-22-recipher-typescript-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ const opened = await cipher.decrypt(stored, { record: UserRecord }).unwrap();
from, and the stored type is fixed before any row exists. So
`encrypt(kinds.string)` names it, in Stack Encrypt's word for the kind.
- **`record()` writes Stack Encrypt's plan.** The plan is the form that
`dynamic::record::plan` reads, and the form that Go sends. The
`Plan::from_frame` reads, and the form that Go sends. The
declaration above holds this plan:

```ts
Expand All @@ -474,7 +474,7 @@ const opened = await cipher.decrypt(stored, { record: UserRecord }).unwrap();
name for it.
- **The binding reads the plan and calls Stack Encrypt.** The value bridge
converts the plan object to a frame, as it converts any value, so
TypeScript writes no frame. `dynamic::record::plan` reads the frame.
TypeScript writes no frame. `Plan::from_frame` reads the frame.
`dynamic::Planned` encrypts and decrypts the rows. The binding keeps
each plan it has read, keyed by the plan's bytes, so each plan is read
once.
Expand Down Expand Up @@ -1148,7 +1148,7 @@ The core, with no EQL:
UUID record field.
3. **Records.** `record`, `encrypt`, `passthrough`, nulls, the encrypted
row's type, the type tests, and the declaration, runtime, and read
profiles. This step is the first to call `dynamic::record::plan` and
profiles. This step is the first to call `Plan::from_frame` and
`Planned`. One field with `{ record, field }` comes later, when Stack
Encrypt has a call for it (#2028). The pending result (#2026) follows
the records, and changes every async call before search terms add more.
Expand Down Expand Up @@ -1299,7 +1299,7 @@ Read on 2026-11-23, on `next` at `e62420d8e`:
closed; the others named there are open.
- A plan field declares its context as a list of names
(`"context": ["users", "email"]`, in the module example of
`packages/stack-encrypt/src/dynamic/planned.rs`), and a `Planned`
`packages/stack-encrypt/src/dynamic/record/planned.rs`), and a `Planned`
encrypts and decrypts with no context from the caller (`encrypt_into`
and `decrypt_from` in the tests of `dynamic/record.rs`). An expected
context is an `Option<Label>` in `planned.rs`, which phase 1 never
Expand Down Expand Up @@ -1363,7 +1363,7 @@ Found by steps 1 to 3, in #1774 at `872ff2ea2`, #1775 at `30f1d26fd` and
- Stack Encrypt's dynamic value model had no UUID at those commits. The
model has one now (#1929). #1996 makes the binding use it. See
[Values](#values).
- Stack Encrypt reads a plan from a frame (`dynamic::record::plan`), and
- Stack Encrypt reads a plan from a frame (`Plan::from_frame`), and
the Go guest calls it (`languages/golang/encrypt/guest/src/ops.rs`).
- Stack Encrypt refuses a row with a field that the plan does not name.
It also refuses a row that lacks a field, unless the field stores a
Expand Down
6 changes: 3 additions & 3 deletions languages/golang/encrypt/guest/src/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ fn parse_term(value: Frame<'_>, kind: u32) -> Result<IndexSpec, u32> {
/// Encrypt a record — or a batch of records — per a plan.
///
/// Both arguments are codec-encoded: the plan is the object
/// [`dynamic::record::plan`] parses, the source an object of
/// [`dynamic::record::Plan::from_frame`] parses, the source an object of
/// `{ field: value }` (one record) or an array of them (a batch). The
/// result is a codec-encoded ciphertext tree — per record a map of
/// `field → { output-key → node }`.
Expand Down Expand Up @@ -442,15 +442,15 @@ fn parse_query<'f>(
/// input's are, before the plan's own grammar.
fn parse_plan(plan: &Bytes) -> Result<dynamic::record::Plan, u32> {
let _ = parse_frame(plan)?;
dynamic::record::plan_with(lend(plan), &resolver()).map_err(|e| fail_dynamic(&e))
dynamic::record::Plan::from_frame_with(lend(plan), &resolver()).map_err(|e| fail_dynamic(&e))
}

// =============================================================================
// The generator's questions
// =============================================================================

/// Check a codec-encoded plan without a cipher: everything
/// [`dynamic::record::plan`] refuses — a malformed object, an unknown output,
/// [`dynamic::record::Plan::from_frame`] refuses — a malformed object, an unknown output,
/// a type that does not admit one of its indexes, a context that is not a
/// label of two or more segments, two fields under one identity — is
/// [`STATUS_ENCODING`]. The Go generator (`stashgen`) asks this for every
Expand Down
2 changes: 1 addition & 1 deletion languages/golang/encrypt/guest/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
//!
//! `context` is the context the host expects a record's context field to
//! hold, for a plan that takes its context from a field (the plan-level
//! `"context_field"` key of `dynamic::record::plan`): a string that parses
//! `"context_field"` key of `dynamic::record::Plan::from_frame`): a string that parses
//! as a plain label, `"tenants/acme"`, which the engine checks against each
//! record's stored context field before any key is retrieved and refuses
//! with [`STATUS_CONTEXT_MISMATCH`](crate::status::STATUS_CONTEXT_MISMATCH).
Expand Down
8 changes: 5 additions & 3 deletions packages/eql/crates/eql-bindings/src/encryption/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use super::targets::{self, decrypt_under, encrypt_under, query_under, Target, Ta
/// label's column alone.
///
/// Pass `&EqlTargets` wherever the dynamic interface accepts a resolver,
/// such as `stack_encrypt::dynamic::record::plan_with`.
/// such as `stack_encrypt::dynamic::record::Plan::from_frame_with`.
///
/// ```
/// use eql_bindings::encryption::EqlTargets;
Expand Down Expand Up @@ -296,7 +296,8 @@ mod tests {
}
});
let frame = dynamic::frame::serde::to_vec(&wire).expect("plan frame");
let plan = record::plan_with(frame.as_protected_ref(), &EqlTargets).expect("plan");
let plan =
record::Plan::from_frame_with(frame.as_protected_ref(), &EqlTargets).expect("plan");
dynamic::field_operators(&plan, "profile", &EqlTargets)
.expect("operators")
.into_iter()
Expand Down Expand Up @@ -397,7 +398,8 @@ mod tests {
}
});
let frame = dynamic::frame::serde::to_vec(&wire).expect("plan frame");
let error = record::plan_with(frame.as_protected_ref(), &EqlTargets).unwrap_err();
let error =
record::Plan::from_frame_with(frame.as_protected_ref(), &EqlTargets).unwrap_err();
assert_eq!(
error.reason(),
Some(dynamic::Reason::TargetOptions),
Expand Down
2 changes: 1 addition & 1 deletion packages/eql/tests/encryption/tests/json_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fn plan() -> record::Plan {
"target": {"name": "JsonSearch", "options": {"ordered": ORDERED}}
}
});
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down
4 changes: 2 additions & 2 deletions packages/eql/tests/encryption/tests/json_tree/elements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn contact_plan() -> record::Plan {
"target": {"name": "JsonSearch", "options": {"ordered": [RELATIONSHIP, CALLS]}}
}
});
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down Expand Up @@ -122,7 +122,7 @@ fn layout_plan(sealed: bool) -> record::Plan {
}}
}
});
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn people_plan() -> record::Plan {
"target": {"name": "JsonSearch", "options": {"ordered": ORDERED}}
}
});
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down
8 changes: 4 additions & 4 deletions packages/eql/tests/encryption/tests/json_tree_data_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn plan() -> record::Plan {
}
}
});
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down Expand Up @@ -340,7 +340,7 @@ async fn a_document_does_not_open_under_another_column() {
.unwrap()
.await
.unwrap();
let other = record::plan_with(
let other = record::Plan::from_frame_with(
(dynamic::frame::serde::to_vec(&json!({
"profile": {
"context": ["users", "other"],
Expand Down Expand Up @@ -487,7 +487,7 @@ fn a_document_field_answers_the_json_operators() {
("match", "predicate"),
]
);
let unordered = record::plan_with(
let unordered = record::Plan::from_frame_with(
(dynamic::frame::serde::to_vec(&json!({
"profile": {"context": ["users", "profile"], "target": "JsonSearch"}
}))
Expand Down Expand Up @@ -1130,7 +1130,7 @@ fn scoped_plan(tenant: u64, row: Option<u64>) -> record::Plan {
if let Some(row) = row {
wire["bind"] = json!([row]);
}
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fn plan() -> record::Plan {
}
}
});
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down
2 changes: 1 addition & 1 deletion packages/eql/tests/encryption/tests/opaque_json_bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ fn plan(null: Option<&str>) -> record::Plan {
if let Some(policy) = null {
field["null"] = json!(policy);
}
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&json!({ "profile": field }))
.unwrap()
.as_protected_ref(),
Expand Down
4 changes: 2 additions & 2 deletions packages/eql/tests/encryption/tests/record_fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fn contact_plan() -> record::Plan {
"age": {"context": ["contacts", "age"], "target": "IntegerOrd"},
"profile": {"context": ["contacts", "profile"], "target": "JsonSearch"},
});
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down Expand Up @@ -553,7 +553,7 @@ fn lead_plan() -> record::Plan {
"email": {"context": ["leads", "email"], "target": "TextEq"},
"profile": {"context": ["leads", "profile"], "target": "JsonSearch"},
});
record::plan_with(
record::Plan::from_frame_with(
dynamic::frame::serde::to_vec(&wire)
.unwrap()
.as_protected_ref(),
Expand Down
20 changes: 17 additions & 3 deletions packages/stack-encrypt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Breaking

- **A plan is read with `Plan::from_frame`.** Three paths have moved too.
The code is the same. Only the names and the paths have changed.
- `dynamic::record::plan(frame)` is now `Plan::from_frame(frame)`.
`dynamic::record::plan_with(frame, resolver)` is now
`Plan::from_frame_with(frame, resolver)`. `Plan` is at
`dynamic::Plan` and `dynamic::record::Plan`, as before.
- `plan::IntoLabel` is now `dynamic::IntoLabel`. The trait needs the
`dynamic` feature, because only the dynamic interface uses it. The
`plan` module keeps `PlanError`.
- The module `dynamic::planned` is now `dynamic::record::planned`.
`Planned`, `QueryPlan`, `FieldHandle`, `DynamicQuery` and `QueryValue`
are still at `dynamic::`, so code that uses those paths needs no
change.

- **A `Ciphertext` decrypts only into a type that is built from one scalar**
(#2009). `OpaqueDecode` was implemented for every `Decrypt` type that is
`Zeroize`. So `keyset.decrypt::<Vec<String>>(ciphertext)` compiled,
Expand Down Expand Up @@ -1184,7 +1198,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
| `#[derive(EncryptFrom, DecryptInto)]` | `#[derive(EncryptTarget, DecryptSource)]`, with the same `#[stash(..)]` attributes. The plaintext type derives `Zeroize`. A `struct = ..` record seals every plaintext field or marks it `#[stash(passthrough)]`. |
| `cipher.encrypt(&value).context("a/b")` | `keyset.encrypt_tree(&value, &Label::parse("a/b")?)` |
| `cipher.encrypt(&value).context(c).with((Equality, Ore))` | `value.encrypt_into_with_context::<Encrypted<(EqualityTerm, OreTerm<u32>)>, _>(&keyset, c)` |
| `Plan::context("users").fields()..build()` and `.using(&plan)` | A derived record, `#[stash(struct = User, scope = "users")]`. A program whose declaration is data parses it with `dynamic::record::plan` and runs `dynamic::Planned::new(&plan, value)`. |
| `Plan::context("users").fields()..build()` and `.using(&plan)` | A derived record, `#[stash(struct = User, scope = "users")]`. A program whose declaration is data parses it with `dynamic::Plan::from_frame` and runs `dynamic::Planned::new(&plan, value)`. |
| `cipher.query(op::Eq, value).on(&plan)` | The field's reference: `EncryptedUser::EMAIL.eq(value).encrypt(&keyset)` |
| `cipher.open(record).using(&plan)` | `P::decrypt_from(record, &keyset)` |
| `plan::all((a, b))` | `a.zip(b)` on two `Pending` values, or `Pending::all`. Both wipe the plaintext a decrypt recovered if a later item fails. |
Expand Down Expand Up @@ -1293,7 +1307,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- **A data plan refuses an order index on bytes** (#1577).
`dynamic::admits` no longer admits `ore`, `ope` or `ore_block` on a
`bytes` field, so `record::plan` refuses the declaration with
`bytes` field, so `Plan::from_frame` refuses the declaration with
`index_not_admitted`. Go reaches the same check through the guest.
Before, the declaration was accepted, each row stored an order term
that anyone who held two rows could compare, and every ordering query
Expand Down Expand Up @@ -1459,7 +1473,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`stack_encrypt::Buffer`. `ValueFrame::into_inner` still returns
`Protected<Vec<u8>>`.
- The frame readers take a `ProtectedRef<'_, [u8]>` in place of a
`&[u8]`: `dynamic::context`, `record::plan`, `record::plan_with`,
`&[u8]`: `dynamic::context`, `Plan::from_frame`, `Plan::from_frame_with`,
`ValueFrame::from_bytes`, `ValueFrame::check`, `IndexSpec::from_frame`,
and `op::Stats::from_frame`. Pass a `Buffer` or a `ValueFrame` with
`.as_protected_ref()`, and a `Protected<Vec<u8>>` with
Expand Down
12 changes: 6 additions & 6 deletions packages/stack-encrypt/docs/language-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ context argument.

- A **plan**: the declaration of what each field is, as data. Section 4 has
the grammar. Read it once, when the language SDK loads a declaration, and
keep it. [`crate::dynamic::record::plan`] reads one from its frame;
[`crate::dynamic::record::plan_with`] reads one that may name EQL types
keep it. [`crate::dynamic::record::Plan::from_frame`] reads one from its frame;
[`crate::dynamic::record::Plan::from_frame_with`] reads one that may name EQL types
(see "EQL types" below). Both take the frame as a
[`vitaminc_protected::ProtectedRef`]; call
[`crate::AsProtectedRef::as_protected_ref`] on the bytes.
Expand Down Expand Up @@ -283,7 +283,7 @@ EQL types; the crate that does, `eql-bindings`, depends on this one. So the
binding that links the EQL types passes a
[`crate::dynamic::TargetResolver`], which the engine calls once per target
field to run the named type's own plan: to
[`crate::dynamic::record::plan_with`], to `Planned::with_resolver`, and to
[`crate::dynamic::record::Plan::from_frame_with`], to `Planned::with_resolver`, and to
[`crate::dynamic::record::Plan::query_with`] and
[`crate::dynamic::record::Plan::field_with`].
[`crate::dynamic::NoTargets`] is the resolver of a build without them; it
Expand Down Expand Up @@ -324,8 +324,8 @@ boundary hands over the plan's bytes on every call:
## 4. The plan grammar

A plan is a map from field name to field spec. The grammar is defined by
what [`crate::dynamic::record::plan_with`] accepts, in `src/dynamic/record.rs`;
its docs and the module docs there are the full statement, and
what [`crate::dynamic::record::Plan::from_frame_with`] accepts, in `src/dynamic/record/plan.rs`;
its docs and the module docs of `src/dynamic/record.rs` are the full statement, and
`conformance/stack-encrypt/declaration-grammar.md` states it as a contract
with the cases every binding runs. The shape:

Expand Down Expand Up @@ -831,7 +831,7 @@ let keyset = cipher.default_keyset();
let declaration = recipher_frame::serde::to_vec(&serde_json::json!({
"age": { "context": ["profiles", "age"], "outputs": ["c", "eq"], "type": "int32" },
}))?;
let plan = record::plan(declaration.as_protected_ref())?;
let plan = record::Plan::from_frame(declaration.as_protected_ref())?;
let by_age = plan.query("age", Op::Eq)?;

// A frame is moved into each call and wiped by it, so the row is written
Expand Down
8 changes: 4 additions & 4 deletions packages/stack-encrypt/fuzz/fuzz_targets/check_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//! drawn from a small name alphabet so field names, output keys and map
//! keys collide often, with passthroughs and duplicate keys anywhere.
//!
//! Two invariants. Neither `plan_with` nor `check_record` may panic on any
//! Two invariants. Neither `Plan::from_frame_with` nor `check_record` may panic on any
//! input. And for a plan that parses, `check_record` accepts the tree
//! exactly when the model does — the rules from the record docs, written
//! independently of the walk: one map, or a sequence of maps; every
Expand All @@ -24,14 +24,14 @@
//!
//! Plans parse under a fixed resolver holding one producible type, `TextEq`
//! over strings, so the target checks in `Plan::new_with` and the `"eql"`
//! node read in `record_row` run under fuzzing; every other target name is
//! node read in `encrypted_record` run under fuzzing; every other target name is
//! refused when the plan is built, as under `NoTargets`.

use std::sync::OnceLock;

use arbitrary::Arbitrary;
use libfuzzer_sys::fuzz_target;
use stack_encrypt::dynamic::record::{check_record, plan_with, Plan};
use stack_encrypt::dynamic::record::{check_record, Plan};
use stack_encrypt::dynamic::{
frame::{Frame, OwnedFrame},
Output, TargetDescriptor, TargetError, TargetOptions, TargetResolver, ValueKind,
Expand Down Expand Up @@ -433,7 +433,7 @@ fuzz_target!(|case: Case| {
return;
};
let frame = frame.into_buffer();
let Ok(plan) = plan_with(frame.as_protected_ref(), &Fixed) else {
let Ok(plan) = Plan::from_frame_with(frame.as_protected_ref(), &Fixed) else {
if trace {
eprintln!("verdict: plan refused");
}
Expand Down
2 changes: 1 addition & 1 deletion packages/stack-encrypt/src/dynamic/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ use serde::Deserialize;
use vitaminc_aead::frame::{Frame, OwnedFrame};
use vitaminc_aead::plaintext::{Encrypt, Logical, Physical};

use super::label::IntoLabel;
use super::term::OneScalar;
use super::{Error, Reason};
use crate::plan::IntoLabel;
use crate::{ContextPiece, Label, LabelError, NonEmpty};

/// A context arrives from a binding as a frame and becomes a
Expand Down
Loading
Loading