MCPcopy Create free account

hub / github.com/cyphar/paperback / functions

Functions186 in github.com/cyphar/paperback

↓ 26 callersMethodclone
(&self)
pkg/paperback-core/src/shamir/gf.rs:356
↓ 14 callersMethoddecrypt
(&self, codewords: A)
pkg/paperback-core/src/v0/mod.rs:257
↓ 12 callersMethodto_bytes
(self)
pkg/paperback-core/src/shamir/gf.rs:104
↓ 11 callersMethodevaluate
(&self, x: GfElem)
pkg/paperback-core/src/shamir/gf.rs:494
↓ 11 callersFunctionrecover
(matches: &ArgMatches)
src/main.rs:200
↓ 10 callersMethodencrypt
(&self)
pkg/paperback-core/src/v0/mod.rs:208
↓ 10 callersMethodsecret
Get the secret value stored by the `Dealer`.
pkg/paperback-core/src/shamir/dealer.rs:72
↓ 9 callersMethodchecksum
(&self)
pkg/paperback-core/src/v0/mod.rs:249
↓ 9 callersMethodid
(&self)
pkg/paperback-core/src/v0/mod.rs:192
↓ 9 callersMethodpush_shard
(&mut self, shard: KeyShard)
pkg/paperback-core/src/v0/recover.rs:186
↓ 9 callersMethodquorum_size
(&self)
pkg/paperback-core/src/v0/recover.rs:182
↓ 9 callersMethodto_wire
(&self)
pkg/paperback-core/src/v0/pdf/qr.rs:33
↓ 9 callersMethodvalidate
(self)
pkg/paperback-core/src/v0/recover.rs:227
↓ 8 callersMethodmain_document
(&self)
pkg/paperback-core/src/v0/backup.rs:106
↓ 8 callersMethodnext_shard
(&self)
pkg/paperback-core/src/v0/backup.rs:110
↓ 7 callersMethodsign
(self, id_keypair: &SigningKey)
pkg/paperback-core/src/v0/mod.rs:147
↓ 6 callersMethodnew_shard
(&self, shard_type: NewShardKind)
pkg/paperback-core/src/v0/recover.rs:429
↓ 6 callersMethodparse
(input: &[u8])
pkg/paperback-core/src/v0/pdf/qr.rs:86
↓ 6 callersMethodrecover_document
(&self)
pkg/paperback-core/src/v0/recover.rs:397
↓ 6 callersMethodshard
Generate a `Shard` for the secret using the given `x` value.
pkg/paperback-core/src/shamir/dealer.rs:105
↓ 6 callersMethodto_wire_multibase
Convert a `ToWire`-implementing type to a zbase32 string.
pkg/paperback-core/src/v0/wire/mod.rs:81
↓ 5 callersFunctionbanner
( layer: &PdfLayerReference, mut top: Mm, (width, margin, banner_margin): (Mm, Mm, Mm), header
pkg/paperback-core/src/v0/pdf/generate.rs:98
↓ 4 callersMethoddocument_checksum
(&self)
pkg/paperback-core/src/v0/mod.rs:196
↓ 4 callersMethodnext_shard
Generate a new `Shard` for the secret. NOTE: The `x` value is calculated randomly, which means that there is a small chance that two separate calls t
pkg/paperback-core/src/shamir/dealer.rs:93
↓ 4 callersFunctionread_multibase
(prompt: S)
src/main.rs:145
↓ 4 callersMethodsignable_bytes
(&self, id_public_key: &VerifyingKey)
pkg/paperback-core/src/v0/mod.rs:136
↓ 4 callersMethodto_pdf
(&self)
pkg/paperback-core/src/v0/pdf/generate.rs:280
↓ 3 callersMethodadd_part
(&mut self, part: Part)
pkg/paperback-core/src/v0/pdf/qr.rs:186
↓ 3 callersMethodconstant
(&self)
pkg/paperback-core/src/shamir/gf.rs:514
↓ 3 callersMethoddocument_id
(&self)
pkg/paperback-core/src/v0/mod.rs:200
↓ 3 callersMethodinverse
(self)
pkg/paperback-core/src/shamir/gf.rs:180
↓ 3 callersMethodnum_untrusted_shards
(&self)
pkg/paperback-core/src/v0/recover.rs:204
↓ 3 callersFunctionqr_with_fallback
( layer: &PdfLayerReference, top: Mm, (width, margin, qr_fraction): (Mm, Mm, f32), data: D,
pkg/paperback-core/src/v0/pdf/generate.rs:152
↓ 3 callersMethodquorum_size
(&self)
pkg/paperback-core/src/v0/mod.rs:204
↓ 3 callersFunctionread_codewords
(prompt: S)
src/main.rs:153
↓ 3 callersFunctionread_oneline_file
(prompt: &str, path_or_stdin: &str)
src/raw.rs:132
↓ 3 callersMethodto_wire
(&self)
pkg/paperback-core/src/v0/wire/main_document.rs:29
↓ 3 callersMethodto_wire
(&self)
pkg/paperback-core/src/v0/wire/internal.rs:35
↓ 3 callersMethodto_wire
(&self)
pkg/paperback-core/src/v0/wire/key_shard.rs:33
↓ 2 callersMethodaad
(&self, id_public_key: &VerifyingKey)
pkg/paperback-core/src/v0/mod.rs:294
↓ 2 callersFunctionarbitrary_fill_slice
(g: &mut quickcheck::Gen, mut slice: S)
pkg/paperback-core/src/v0/mod.rs:114
↓ 2 callersFunctioncli
()
src/main.rs:488
↓ 2 callersMethodcombine_parts
(&self)
pkg/paperback-core/src/v0/pdf/qr.rs:213
↓ 2 callersMethoddegree
(&self)
pkg/paperback-core/src/shamir/gf.rs:507
↓ 2 callersMethodgroup
(&self)
pkg/paperback-core/src/v0/recover.rs:208
↓ 2 callersMethodinner
(&self)
pkg/paperback-core/src/shamir/gf.rs:76
↓ 2 callersFunctionmultihash_short_id
(hash: Multihash, length: usize)
pkg/paperback-core/src/v0/mod.rs:367
↓ 2 callersFunctionnew_shards
(new_shard_types: impl IntoIterator<Item = NewShardKind>)
src/main.rs:278
↓ 2 callersFunctionread_multibase_qr
(prompt: S)
src/main.rs:160
↓ 2 callersFunctionread_multiline
(prompt: S)
src/main.rs:132
↓ 2 callersFunctionsplit_data
(data_type: PartType, data: B)
pkg/paperback-core/src/v0/pdf/qr.rs:238
↓ 2 callersFunctiontake_chachapoly_ciphertext
(input: &[u8])
pkg/paperback-core/src/v0/wire/helpers.rs:147
↓ 2 callersFunctiontake_chachapoly_nonce
(input: &[u8])
pkg/paperback-core/src/v0/wire/helpers.rs:136
↓ 1 callersFunctionbackup
(matches: &ArgMatches)
src/main.rs:69
↓ 1 callersFunctionbackup_cli
paperback-cli backup [--sealed] -n <QUORUM SIZE> -k <SHARDS> INPUT
src/main.rs:40
↓ 1 callersMethodbox_clone
(&self)
pkg/paperback-core/src/shamir/gf.rs:521
↓ 1 callersMethodcomplete
(&self)
pkg/paperback-core/src/v0/pdf/qr.rs:182
↓ 1 callersMethodconstant_mut
Yield a mutable reference to the constant term of the polynomial. This allows you to modify the constant term of the polynomial. Note that this inval
pkg/paperback-core/src/shamir/gf.rs:392
↓ 1 callersFunctionexpand_shards
(matches: &ArgMatches)
src/main.rs:374
↓ 1 callersFunctionexpand_shards_cli
paperback-cli expand-shards --interactive -n <SHARDS>
src/main.rs:356
↓ 1 callersFunctiongenerate_codes
( data_type: PartType, data: B, )
pkg/paperback-core/src/v0/pdf/qr.rs:256
↓ 1 callersFunctiongenerate_one_code
(data: B)
pkg/paperback-core/src/v0/pdf/qr.rs:274
↓ 1 callersMethodget_dealer
(&self)
pkg/paperback-core/src/v0/recover.rs:386
↓ 1 callersFunctioninner_paperback_expand_smoke
(quorum_size: u32, secret: S)
pkg/paperback-core/src/v0/mod.rs:477
↓ 1 callersFunctionmanual_poly
Inefficient, but "obviously correct" implementation of GfPolynomial::evaluate(), to compare against for the test.
pkg/paperback-core/src/shamir/gf.rs:812
↓ 1 callersFunctionmultibase_strip
(data: S)
pkg/paperback-core/src/v0/wire/mod.rs:56
↓ 1 callersFunctionmultihash
(input: &[u8])
pkg/paperback-core/src/v0/wire/helpers.rs:35
↓ 1 callersFunctionparse_id
(id: ShardId)
pkg/paperback-core/src/shamir/shard.rs:55
↓ 1 callersMethodpow
(self, mut n: usize)
pkg/paperback-core/src/shamir/gf.rs:110
↓ 1 callersFunctionraw_backup
(matches: &ArgMatches)
src/raw.rs:63
↓ 1 callersFunctionraw_backup_cli
paperback-cli raw backup [--sealed] --quorum-size <QUORUM SIZE> --shards <SHARDS> INPUT
src/raw.rs:34
↓ 1 callersFunctionraw_expand
(matches: &ArgMatches)
src/raw.rs:289
↓ 1 callersFunctionraw_expand_cli
paperback-cli raw expand --new-shards <N> (--shards <SHARD>)...
src/raw.rs:265
↓ 1 callersFunctionraw_restore
(matches: &ArgMatches)
src/raw.rs:185
↓ 1 callersFunctionraw_restore_cli
paperback-cli raw restore --main-document <MAIN DOCUMENT> (--shards <SHARD>)... OUTPUT
src/raw.rs:152
↓ 1 callersFunctionrecover_cli
paperback-cli recover --interactive
src/main.rs:179
↓ 1 callersFunctionrecreate_shards
(matches: &ArgMatches)
src/main.rs:400
↓ 1 callersFunctionrecreate_shards_cli
paperback-cli recreate-shards --interactive <SHARD-ID>...
src/main.rs:384
↓ 1 callersMethodremaining
(&self)
pkg/paperback-core/src/v0/pdf/qr.rs:177
↓ 1 callersFunctionreprint
(matches: &ArgMatches)
src/main.rs:441
↓ 1 callersFunctionreprint_cli
paperback-cli reprint --interactive [--main-document|--shard]
src/main.rs:410
↓ 1 callersFunctionsubcommands
()
src/raw.rs:375
↓ 1 callersFunctionsubmatch
(app: &mut Command, matches: &ArgMatches)
src/raw.rs:358
↓ 1 callersFunctiontake_chachapoly_key
(input: &[u8])
pkg/paperback-core/src/v0/wire/helpers.rs:125
↓ 1 callersFunctiontake_ed25519_pub
( input: &[u8], )
pkg/paperback-core/src/v0/wire/helpers.rs:61
↓ 1 callersFunctiontake_ed25519_sec
(input: &[u8])
pkg/paperback-core/src/v0/wire/helpers.rs:87
↓ 1 callersFunctiontake_ed25519_sig
(input: &[u8])
pkg/paperback-core/src/v0/wire/helpers.rs:80
↓ 1 callersMethodthreshold
Returns the number of *unique* sister `Shard`s required to recover the stored secret.
pkg/paperback-core/src/shamir/shard.rs:50
↓ 1 callersMethodthreshold
(&self)
pkg/paperback-core/src/shamir/dealer.rs:43
↓ 1 callersMethodto_wire
(&self)
pkg/paperback-core/src/shamir/shard.rs:61
↓ 1 callersMethodversion
(&self)
pkg/paperback-core/src/v0/mod.rs:395
Methodadd
(mut self, rhs: Self)
pkg/paperback-core/src/shamir/gf.rs:264
Methodadd_assign
(&mut self, rhs: Self)
pkg/paperback-core/src/shamir/gf.rs:271
Functionadd_associativity
(a: GfElem, b: GfElem)
pkg/paperback-core/src/shamir/gf.rs:710
Functionadd_commutativity
(a: GfElem, b: GfElem, c: GfElem)
pkg/paperback-core/src/shamir/gf.rs:720
Functionadd_identity
(a: GfElem)
pkg/paperback-core/src/shamir/gf.rs:738
Functionadd_inverse
(a: GfElem)
pkg/paperback-core/src/shamir/gf.rs:753
Functionadd_inverse_alt
(a: GfElem)
pkg/paperback-core/src/shamir/gf.rs:759
Methodadd_qr_part
(&mut self, qr_data: B)
pkg/paperback-core/src/v0/pdf/qr.rs:208
Methodarbitrary
(g: &mut quickcheck::Gen)
pkg/paperback-core/src/v0/mod.rs:99
next →1–100 of 186, ranked by callers