Skip to content

Commit cde23a3

Browse files
authored
Merge pull request #1068 from sunxunle/main
chore: fix some typos in comment
2 parents 98e2219 + 03d3470 commit cde23a3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/CryptoSwift/BlockMode/GCM.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ final class GCMModeWorker: BlockModeWorker, FinalizingEncryptModeWorker, Finaliz
128128
self.additionalBufferSize = 0
129129
}
130130

131-
// Assume nonce is 12 bytes long, otherwise initial counter would be calulated from GHASH
131+
// Assume nonce is 12 bytes long, otherwise initial counter would be calculated from GHASH
132132
// counter = GF.ghash(aad: [UInt8](), ciphertext: nonce)
133133
if iv.count == GCMModeWorker.nonceSize {
134134
self.counter = makeCounter(nonce: Array(self.iv))

Sources/CryptoSwift/CS_BigInt/BigInt.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
extension CS {
1212

13-
/// An arbitary precision signed integer type, also known as a "big integer".
13+
/// An arbitrary precision signed integer type, also known as a "big integer".
1414
///
1515
/// Operations on big integers never overflow, but they might take a long time to execute.
1616
/// The amount of memory (and address space) available is the only constraint to the magnitude of these numbers.

Sources/CryptoSwift/CS_BigInt/BigUInt.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
extension CS {
1010

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

0 commit comments

Comments
 (0)