diff --git a/apple/swift_homomorphic_encryption/api/pnns/v1/pnns.proto b/apple/swift_homomorphic_encryption/api/pnns/v1/pnns.proto index 4b5e8a3..ce1222f 100644 --- a/apple/swift_homomorphic_encryption/api/pnns/v1/pnns.proto +++ b/apple/swift_homomorphic_encryption/api/pnns/v1/pnns.proto @@ -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. diff --git a/apple/swift_homomorphic_encryption/pnns/v1/pnns_matrix_packing.proto b/apple/swift_homomorphic_encryption/pnns/v1/pnns_matrix_packing.proto index 75c2d17..25ceef5 100644 --- a/apple/swift_homomorphic_encryption/pnns/v1/pnns_matrix_packing.proto +++ b/apple/swift_homomorphic_encryption/pnns/v1/pnns_matrix_packing.proto @@ -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;