@@ -857,10 +857,10 @@ declare function sha3_256(data: BytesLike): StaticArray<byte, 32>;
857857declare function ecdsa_verify (
858858 curve : 'Secp256k1' | 'Secp256r1' ,
859859 data : StaticArray < byte , 32 > ,
860- sSignatureComponent : uint < 512 > ,
861- rSignatureComponent : uint < 512 > ,
862- xPubkeyComponent : uint < 512 > ,
863- yPubkeyComponent : uint < 512 >
860+ sSignatureComponent : uint < 256 > ,
861+ rSignatureComponent : uint < 256 > ,
862+ xPubkeyComponent : uint < 256 > ,
863+ yPubkeyComponent : uint < 256 >
864864) : boolean ;
865865
866866/**
@@ -873,7 +873,7 @@ declare function ecdsa_verify(
873873declare function ecdsa_pk_decompress (
874874 curve : 'Secp256k1' | 'Secp256r1' ,
875875 pubKey : StaticArray < byte , 33 >
876- ) : [ uint < 512 > , uint < 512 > ] ;
876+ ) : [ uint < 256 > , uint < 256 > ] ;
877877
878878/**
879879 *
@@ -889,9 +889,9 @@ declare function ecdsa_pk_recover(
889889 curve : 'Secp256k1' | 'Secp256r1' ,
890890 data : StaticArray < byte , 32 > ,
891891 recoveryID : uint64 ,
892- sSignatureComponent : uint < 512 > ,
893- rSignatureComponent : uint < 512 >
894- ) : [ uint < 512 > , uint < 512 > ] ;
892+ sSignatureComponent : uint < 256 > ,
893+ rSignatureComponent : uint < 256 >
894+ ) : [ uint < 256 > , uint < 256 > ] ;
895895
896896/**
897897 * Returns zero bytes of the given size.
0 commit comments