Lines Matching refs:signature
267 unique_ptr<uint8_t[], Malloc_Delete>* signature, in Keymaster0Sign() argument
278 signature->reset(signed_data); in Keymaster0Sign()
316 unique_ptr<uint8_t[], Malloc_Delete> signature; in RsaPrivateTransform() local
318 if (!Keymaster0Sign(&sign_params, *key_blob, in, len, &signature, &signature_length)) { in RsaPrivateTransform()
328 Eraser eraser(signature.get(), signature_length); in RsaPrivateTransform()
335 memcpy(out, signature.get() + signature_length - len, len); in RsaPrivateTransform()
342 memcpy(out + len - signature_length, signature.get(), signature_length); in RsaPrivateTransform()
344 memcpy(out, signature.get(), len); in RsaPrivateTransform()
365 unique_ptr<uint8_t[], Malloc_Delete> signature; in EcdsaSign() local
367 if (!Keymaster0Sign(&sign_params, *key_blob, digest, digest_len, &signature, in EcdsaSign()
373 Eraser eraser(signature.get(), signature_length); in EcdsaSign()
382 memcpy(sig, signature.get(), signature_length); in EcdsaSign()