Skip to content

Commit

Permalink
Rename plaintext_packing (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
fboemer authored Aug 29, 2024
1 parent 5c9cfe4 commit 4b54a2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apple/swift_homomorphic_encryption/api/pnns/v1/pnns.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ message PNNSConfig {
apple.swift_homomorphic_encryption.v1.EncryptionParameters encryption_parameters = 1;
// Factor by which to scale floating-point entries to integers.
uint64 scaling_factor = 2;
// Plaintext packing for the query.
apple.swift_homomorphic_encryption.pnns.v1.MatrixPacking plaintext_packing = 3;
// Packing for the query.
apple.swift_homomorphic_encryption.pnns.v1.MatrixPacking query_packing = 3;
// Number of entries in each vector.
uint32 vector_dimension = 4;
// Metric for similarity computation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ message BabyStepGiantStep {
// Different algorithms for packing a matrix of scalar values into plaintexts / ciphertexts.
message MatrixPacking {
// Different packing formats.
oneof plaintext_packing_type {
oneof matrix_packing_type {
// Dense row packing.
MatrixPackingDenseRow dense_row = 1;

Expand Down

0 comments on commit 4b54a2a

Please sign in to comment.