diff --git a/swift-secure-enclave-tool-v2.swift b/swift-secure-enclave-tool-v2.swift index 3e60a0a..b26691d 100644 --- a/swift-secure-enclave-tool-v2.swift +++ b/swift-secure-enclave-tool-v2.swift @@ -558,7 +558,7 @@ if (command == "help" || command == "-h" || command == "--help") { print("generate_p256_ecdh_keypair --control-flag <> - generate Secure Enclave P256 EC DH key pair") print("recover_p256_ecsign_public_key --private-key <> - recover Secure Enclave P256 EC sign key pair") print("recover_p256_ecdh_public_key --private-key <> - recover Secure Enclave P256 EC DH key pair") - print("compute_p256_ecsign --private-key <> --message-base64 <> [--message-type] - compure Secure Enclave P256 EC sign") + print("compute_p256_ecsign --private-key <> --message-base64 <> [--message-type <>] - compure Secure Enclave P256 EC sign") print("compute_p256_ecdh --private-key <> --ephemera-public-key <> - compure Secure Enclave P256 EC DH") print("external_spec - external specification") print("external_public_key --parameter <> - external public key") @@ -568,6 +568,7 @@ if (command == "help" || command == "-h" || command == "--help") { print("> --control-flag - none, userPresence, devicePasscode, biometryAny, biometryCurrentSet") print("> --private-key - private key representation (dataRepresentationBase64)") print("> --message-base64 - content in base64") + print("> --message-type - sha256 or raw(default)") print("> --ephemera-public-key - public key der in base64") exit(0) }