Keep tag length constants private
Also AD length in AEAD was an unresolved relic.
This commit is contained in:
parent
caea6624fc
commit
2fde43b1fc
|
@ -43,7 +43,7 @@
|
|||
#import "Allocation.h"
|
||||
#import "Errors.h"
|
||||
|
||||
const NSInteger CryptoAEADTagLength = 16;
|
||||
static const NSInteger CryptoAEADTagLength = 16;
|
||||
|
||||
@interface CryptoAEAD ()
|
||||
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
extern const NSInteger CryptoCTRADLength;
|
||||
|
||||
@interface CryptoCTR : NSObject <Encrypter, Decrypter>
|
||||
|
||||
- (instancetype)initWithCipherName:(nullable NSString *)cipherName digestName:(NSString *)digestName;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#import "Allocation.h"
|
||||
#import "Errors.h"
|
||||
|
||||
const NSInteger CryptoCTRTagLength = 32;
|
||||
static const NSInteger CryptoCTRTagLength = 32;
|
||||
|
||||
@interface CryptoCTR ()
|
||||
|
||||
|
|
Loading…
Reference in New Issue