blind_bfv_payload_fuse

package
v0.9.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

README

Blind BFV Payload Fuse

Production-shaped BFV example for the ring-32k blind packed-integer payload fusion path.

This package intentionally keeps the heavy OpenFHE run behind manual tests and profiles. The exported helpers pin the measured profile and lineage roles so an application can bind BFV artifacts without baking app policy into ARES-core.

Profile:

  • ring dimension 32768
  • plaintext modulus 65537
  • batch/profile slots 128
  • package bytes 80
  • int7 quantization scale 63
  • exact step-polynomial bits 13
  • process parallelism disabled by default

Apps decide whether this profile is primary, fallback, lazy, or pre-staged.

Documentation

Index

Constants

View Source
const (
	PhaseBFVPayloadFuse        = "bfv.payload_fuse.ring32k"
	RoleBFVInitiatorCiphertext = "bfv.initiator_ct"
	RoleBFVCandidateCiphertext = "bfv.candidate_ct"
	RoleBFVPayloadCiphertext   = "bfv.payload_ct"
	RoleBFVFusedPayload        = "bfv.fused_payload_ct"
)

Variables

This section is empty.

Functions

func CommitArtifact

func CommitArtifact(sessionID, role string, payload []byte, parents []ParentNode, signer sign.Signer) (lineage.DAGNode, error)

func PayloadBytesToSlots

func PayloadBytesToSlots(payload []byte) []int64

func Profile

func Profile() profiles.BFVBlindProfile

func QuantizeProfile

func QuantizeProfile(values []float64) []int64

Types

type ParentNode

type ParentNode = lineage.DAGNode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL