-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dave Rodgman <[email protected]>
- Loading branch information
1 parent
460bf2b
commit baf5a3e
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,60 @@ | ||
|
||
ECDSA verify invalid public key, zero bytes of data | ||
ECDSA verify invalid pub key (not on curve), zero bytes of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"1":"2":"1":"1":"":0:MBEDTLS_ERR_ECP_INVALID_KEY | ||
|
||
ECDSA verify invalid public key, one byte of data | ||
ECDSA verify invalid pub key (not on curve), one byte of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"1":"2":"1":"1":"00":0:MBEDTLS_ERR_ECP_INVALID_KEY | ||
|
||
ECDSA verify invalid public key (a), 32 bytes of data | ||
ECDSA verify invalid pub key (not on curve), r=1, s=1 | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"1":"2":"1":"1":"0000000000000000000000000000000000000000000000000000000000000000":0:MBEDTLS_ERR_ECP_INVALID_KEY | ||
|
||
ECDSA verify invalid public key (b), 32 bytes of data | ||
ECDSA verify invalid pub key (also not on curve), r=1, s=1 | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"1":"12345":"1":"1":"0000000000000000000000000000000000000000000000000000000000000000":0:MBEDTLS_ERR_ECP_INVALID_KEY | ||
|
||
ECDSA verify invalid public key (c), 32 bytes of data | ||
ECDSA verify invalid pub key (not on curve), r=12345, s=1 | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"1":"2":"12345":"1":"0000000000000000000000000000000000000000000000000000000000000000":0:MBEDTLS_ERR_ECP_INVALID_KEY | ||
|
||
ECDSA verify invalid public key (d), 32 bytes of data | ||
ECDSA verify invalid pub key (not on curve), r=1, s=12345 | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"1":"2":"1":"12345":"0000000000000000000000000000000000000000000000000000000000000000":0:MBEDTLS_ERR_ECP_INVALID_KEY | ||
|
||
ECDSA verify valid public key, invalid signature, 0 bytes of data | ||
ECDSA verify valid pub key, invalid sig (r=0), 0 bytes of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"0":"1":"":1:MBEDTLS_ERR_ECP_BAD_INPUT_DATA | ||
|
||
ECDSA verify valid public key, invalid signature, 1 byte of data | ||
ECDSA verify valid pub key, invalid sig (r=0), 1 byte of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"0":"1":"00":1:MBEDTLS_ERR_ECP_BAD_INPUT_DATA | ||
|
||
ECDSA verify valid public key, invalid signature, 32 bytes of data | ||
ECDSA verify valid pub key, invalid sig (r>n-1), 32 bytes of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141":"12":"0000000000000000000000000000000000000000000000000000000000000000":1:MBEDTLS_ERR_ECP_BAD_INPUT_DATA | ||
|
||
ECDSA verify valid public key, valid/incorrect signature, 0 bytes of data | ||
ECDSA verify valid pub key, valid/incorrect sig, 0 bytes of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"ed3bace23c5e17652e174c835fb72bf53ee306b3406a26890221b4cef7500f88":"84eead3fb3cdbdac882412af64cc125b6784690bebf575f1c32162ab65080037":"":1:MBEDTLS_ERR_ECP_VERIFY_FAILED | ||
|
||
ECDSA verify valid public key, valid/incorrect signature, 1 byte of data | ||
ECDSA verify valid pub key, valid/incorrect sig, 1 byte of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"ed3bace23c5e17652e174c835fb72bf53ee306b3406a26890221b4cef7500f88":"84eead3fb3cdbdac882412af64cc125b6784690bebf575f1c32162ab65080037":"00":1:MBEDTLS_ERR_ECP_VERIFY_FAILED | ||
|
||
ECDSA verify valid public key, valid/incorrect signature, 32 bytes of data | ||
ECDSA verify valid pub key, valid/incorrect sig, 32 bytes of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"ed3bace23c5e17652e174c835fb72bf53ee306b3406a26890221b4cef7500f88":"84eead3fb3cdbdac882412af64cc125b6784690bebf575f1c32162ab65080037":"0000000000000000000000000000000000000000000000000000000000000000":1:MBEDTLS_ERR_ECP_VERIFY_FAILED | ||
|
||
ECDSA verify valid public key, correct signature, 0 bytes of data | ||
ECDSA verify valid public key, correct sig, 0 bytes of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"ed3bace23c5e17652e174c835fb72bf53ee306b3406a26890221b4cef7500f88":"c9cc1ba95156bc103055a5d7946f3a3ae7f0657d1e53f1d5c2c9782950aa69b":"":1:0 | ||
|
||
ECDSA verify valid public key, correct signature, 1 byte of data | ||
ECDSA verify valid pub key, correct sig, 1 byte of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"ed3bace23c5e17652e174c835fb72bf53ee306b3406a26890221b4cef7500f88":"c9cc1ba95156bc103055a5d7946f3a3ae7f0657d1e53f1d5c2c9782950aa69b":"00":1:0 | ||
|
||
ECDSA verify valid public key, correct signature, 32 bytes of data | ||
ECDSA verify valid pub key, correct sig, 32 bytes of data | ||
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED | ||
ecdsa_verify:MBEDTLS_ECP_DP_SECP256K1:"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798":"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8":"ed3bace23c5e17652e174c835fb72bf53ee306b3406a26890221b4cef7500f88":"c9cc1ba95156bc103055a5d7946f3a3ae7f0657d1e53f1d5c2c9782950aa69b":"0000000000000000000000000000000000000000000000000000000000000000":1:0 |