Skip to content

Commit 4b54a2a

Browse files
authored
Rename plaintext_packing (#12)
1 parent 5c9cfe4 commit 4b54a2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apple/swift_homomorphic_encryption/api/pnns/v1/pnns.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ message PNNSConfig {
2727
apple.swift_homomorphic_encryption.v1.EncryptionParameters encryption_parameters = 1;
2828
// Factor by which to scale floating-point entries to integers.
2929
uint64 scaling_factor = 2;
30-
// Plaintext packing for the query.
31-
apple.swift_homomorphic_encryption.pnns.v1.MatrixPacking plaintext_packing = 3;
30+
// Packing for the query.
31+
apple.swift_homomorphic_encryption.pnns.v1.MatrixPacking query_packing = 3;
3232
// Number of entries in each vector.
3333
uint32 vector_dimension = 4;
3434
// Metric for similarity computation.

apple/swift_homomorphic_encryption/pnns/v1/pnns_matrix_packing.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ message BabyStepGiantStep {
2929
// Different algorithms for packing a matrix of scalar values into plaintexts / ciphertexts.
3030
message MatrixPacking {
3131
// Different packing formats.
32-
oneof plaintext_packing_type {
32+
oneof matrix_packing_type {
3333
// Dense row packing.
3434
MatrixPackingDenseRow dense_row = 1;
3535

0 commit comments

Comments
 (0)