Skip to content

Commit 8ee1fbf

Browse files
committed
add native implementation
1 parent c171b30 commit 8ee1fbf

File tree

1 file changed

+5
-1
lines changed
  • runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/hashing

1 file changed

+5
-1
lines changed

runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/hashing/EcdsaNative.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ package aws.smithy.kotlin.runtime.hashing
77
/**
88
* ECDSA on the SECP256R1 curve.
99
*/
10-
public actual fun ecdsaSecp256r1(key: ByteArray, message: ByteArray): ByteArray = error("This function should not be invoked on Native, which uses the CrtAwsSigner.")
10+
public actual fun ecdsaSecp256r1(
11+
key: ByteArray,
12+
message: ByteArray,
13+
signatureType: EcdsaSignatureType,
14+
): ByteArray = error("This function should not be invoked on Native, which uses the CrtAwsSigner.")

0 commit comments

Comments
 (0)