Skip to content

Commit

Permalink
PIRProcessDatabase fix evaluation key size
Browse files Browse the repository at this point in the history
  • Loading branch information
fboemer committed Aug 6, 2024
1 parent 780e321 commit 8ea4ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PIRProcessDatabase/ProcessDatabase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ extension ProcessKeywordDatabase.ShardValidationResult {
descriptionDict["query size"] = try sizeString(byteCount: query.size(), count: query.ciphertexts.count,
label: "ciphertexts")
descriptionDict["evaluation key size"] = try sizeString(
byteCount: query.size(),
byteCount: evaluationKey.size(),
count: evaluationKey.configuration.keyCount,
label: "keys"
)
Expand Down

0 comments on commit 8ea4ad8

Please sign in to comment.