diff --git a/Sources/PIRProcessDatabase/ProcessDatabase.swift b/Sources/PIRProcessDatabase/ProcessDatabase.swift index 7b26bcf7..a774abb0 100644 --- a/Sources/PIRProcessDatabase/ProcessDatabase.swift +++ b/Sources/PIRProcessDatabase/ProcessDatabase.swift @@ -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" )