Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
Upgrading 25519 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericJacobs committed Jun 14, 2015
1 parent d6cd482 commit 9c646e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions AxolotlKit Tests/ECCTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -168,20 +168,4 @@ - (void)testSignatures{

}

- (void)testSignatureOverflow{
ECKeyPair *keys = [Curve25519 generateKeyPair];
Byte message [4096] = {};
NSData *data = [NSData dataWithBytes:&message length:4096];

@try {
__unused NSData *signature = [Ed25519 sign:data withKeyPair:keys];
XCTAssert(NO, @"Signature algorithm should have thrown on overflow");
}
@catch (NSException *exception) {
XCTAssert(YES, @"Signing overflow detected");
}
}



@end
Binary file not shown.

0 comments on commit 9c646e4

Please sign in to comment.