Skip to content

Commit

Permalink
IOS-3767 Add more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tureck1y committed Aug 14, 2023
1 parent d63de83 commit e385dd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions TangemSdk/TangemSdk/Operations/Sign/SignCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,11 @@ private extension SignCommand {
enum Constants {
/// The max answer is 1152 bytes (unencrypted) and 1120 (encrypted). The worst case is 8 hashes * 64 bytes for ed + 512 bytes of signatures + cardId, SignedHashes + TLV + SW is ok.
static let packageSize = 512

/// Card limitation
static let maxChunkSize = 10

/// Empirical value
static let maxChunkSizePoorNfcQualityDevice = 2
}
}

0 comments on commit e385dd4

Please sign in to comment.