Searched refs:sign_params (Results 1 – 2 of 2) sorted by relevance
/system/keymaster/legacy_support/ |
D | keymaster0_engine.cpp | 307 keymaster_rsa_sign_params_t sign_params = {DIGEST_NONE, PADDING_NONE}; in RsaPrivateTransform() local 310 if (!Keymaster0Sign(&sign_params, *key_blob, in, len, &signature, &signature_length)) { in RsaPrivateTransform() 356 keymaster_ec_sign_params_t sign_params = {DIGEST_NONE}; in EcdsaSign() local 359 if (!Keymaster0Sign(&sign_params, *key_blob, digest, digest_len, &signature, in EcdsaSign()
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 407 AuthorizationSetBuilder sign_params; in SignAndVerify() local 408 sign_params.Padding(PaddingMode::RSA_PKCS1_1_5_SIGN); in SignAndVerify() 409 sign_params.Digest(Digest::SHA_2_256); in SignAndVerify() 413 keystore->beginOperation(KeyPurpose::SIGN, name, sign_params, &output_params, &handle); in SignAndVerify() 432 keystore->beginOperation(KeyPurpose::VERIFY, name, sign_params, &output_params, &handle); in SignAndVerify()
|