Skip to content

Commit f85aab9

Browse files
committed
Possible resolution of #97
1 parent 0f68ec1 commit f85aab9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

IDZSwiftCommonCrypto/StreamCryptor.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,13 @@ open class StreamCryptor
435435
- parameter keyBuffer: pointer to key buffer
436436
- parameter keyByteCount: number of bytes in the key
437437
- parameter ivBuffer: initialization vector buffer
438+
- parameter ivByteCount: the length of the initialization vector `ivBuffer` in bytes
438439

439440
*/
440-
public init(operation: Operation, algorithm: Algorithm, mode: Mode, padding: Padding,
441+
public init(operation: Operation,
442+
algorithm: Algorithm,
443+
mode: Mode,
444+
padding: Padding,
441445
keyBuffer: UnsafeRawPointer, keyByteCount: Int,
442446
ivBuffer: UnsafeRawPointer, ivByteCount: Int) {
443447

0 commit comments

Comments
 (0)