|
@@ -251,7 +251,7 @@ public final class AES: BlockCipher {
|
|
let rounds = self.variantNr
|
|
let rounds = self.variantNr
|
|
let rk = self.expandedKeyInv
|
|
let rk = self.expandedKeyInv
|
|
|
|
|
|
- // Save miliseconds by not using `block.toUInt32Array()`
|
|
|
|
|
|
+ // Save milliseconds by not using `block.toUInt32Array()`
|
|
let b00 = UInt32(block[block.startIndex.advanced(by: 0)])
|
|
let b00 = UInt32(block[block.startIndex.advanced(by: 0)])
|
|
let b01 = UInt32(block[block.startIndex.advanced(by: 1)]) << 8
|
|
let b01 = UInt32(block[block.startIndex.advanced(by: 1)]) << 8
|
|
let b02 = UInt32(block[block.startIndex.advanced(by: 2)]) << 16
|
|
let b02 = UInt32(block[block.startIndex.advanced(by: 2)]) << 16
|