aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-04-04 16:31:45 +0200
committerIngela Anderton Andin <[email protected]>2013-05-08 10:39:17 +0200
commit651475b0b56243e1c568e221d5401bbdcccb3a84 (patch)
treed67dfbc4f8cf40eb31daa388c6a910a5d9014848 /lib/crypto/test
parent8623dd8c37801ef65b1d1db5279cb5808b102cfa (diff)
downloadotp-651475b0b56243e1c568e221d5401bbdcccb3a84.tar.gz
otp-651475b0b56243e1c568e221d5401bbdcccb3a84.tar.bz2
otp-651475b0b56243e1c568e221d5401bbdcccb3a84.zip
crypto: Replaced all mpint's with normal binaries
Diffstat (limited to 'lib/crypto/test')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index c5597be34c..b8a041cf8f 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -1906,9 +1906,9 @@ ec_do() ->
?line CsCaKey = crypto:ec_key_to_term(T3),
Msg = <<99,234,6,64,190,237,201,99,80,248,58,40,70,45,149,218,5,246,242,63>>,
- Sign = crypto:ecdsa_sign(sha, sized_binary(Msg), L2),
- ?line true = crypto:ecdsa_verify(sha, sized_binary(Msg), sized_binary(Sign), L2),
- ?line false = crypto:ecdsa_verify(sha, sized_binary(Msg), sized_binary(<<10,20>>), L2),
+ Sign = crypto:ecdsa_sign(sha, Msg, L2),
+ ?line true = crypto:ecdsa_verify(sha, Msg, Sign, L2),
+ ?line false = crypto:ecdsa_verify(sha, Msg, <<10,20>>, L2),
ok.