Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/CryptoSwift/BlockMode/GCM.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ final class GCMModeWorker: BlockModeWorker, FinalizingEncryptModeWorker, Finaliz
self.additionalBufferSize = 0
}

// Assume nonce is 12 bytes long, otherwise initial counter would be calulated from GHASH
// Assume nonce is 12 bytes long, otherwise initial counter would be calculated from GHASH
// counter = GF.ghash(aad: [UInt8](), ciphertext: nonce)
if iv.count == GCMModeWorker.nonceSize {
self.counter = makeCounter(nonce: Array(self.iv))
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptoSwift/CS_BigInt/BigInt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

extension CS {

/// An arbitary precision signed integer type, also known as a "big integer".
/// An arbitrary precision signed integer type, also known as a "big integer".
///
/// Operations on big integers never overflow, but they might take a long time to execute.
/// The amount of memory (and address space) available is the only constraint to the magnitude of these numbers.
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptoSwift/CS_BigInt/BigUInt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

extension CS {

/// An arbitary precision unsigned integer type, also known as a "big integer".
/// An arbitrary precision unsigned integer type, also known as a "big integer".
///
/// Operations on big integers never overflow, but they may take a long time to execute.
/// The amount of memory (and address space) available is the only constraint to the magnitude of these numbers.
Expand Down
Loading