Home
last modified time | relevance | path

Searched defs:signature (Results 1 – 25 of 68) sorted by relevance

123

/packages/modules/Virtualization/libs/bssl/tests/
Deckey_test.rs90 let signature = ec_key.ecdsa_sign_der(&digest)?; in ecdsa_p256_signing_and_verification_succeed() localVariable
105 let signature = ec_key.ecdsa_sign_der(&digest)?; in ecdsa_p384_signing_and_verification_succeed() localVariable
116 let signature = ec_key1.ecdsa_sign_der(&digest)?; in verifying_ecdsa_p256_signed_with_a_different_key_fails() localVariable
137 let signature = ec_key.ecdsa_sign_der(&digest1)?; in verifying_ecdsa_p256_signed_with_a_different_message_fails() localVariable
152 let signature = ec_key.ecdsa_sign_cose(&digest)?; in ecdsa_cose_signing_and_verification_succeed() localVariable
164 let signature = ec_key.ecdsa_sign_cose(&digest)?; in verifying_ecdsa_cose_signed_with_a_different_message_fails() localVariable
178 let signature = ec_key.ecdsa_sign_cose(&digest)?; in verifying_ecdsa_cose_signed_as_der_fails() localVariable
/packages/modules/Virtualization/compos/compos_key_helper/
Dcompos_key_test.cpp58 auto signature = sign(key_pair.private_key, data.data(), data.size()); in TEST_F() local
66 auto signature = sign(key_pair.private_key, data.data(), data.size()); in TEST_F() local
76 auto signature = sign(key_pair.private_key, data.data(), data.size()); in TEST_F() local
87 auto signature = sign(key_pair.private_key, data.data(), data.size()); in TEST_F() local
Dcompos_key.cpp45 bool verify(const PublicKey& public_key, const Signature& signature, const uint8_t* data, in verify()
Dcompos_key_main.cpp85 auto signature = in sign_input() local
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java49 final byte[] signature; field in ApkArchive.Dump
51 Dump(byte[] cd, byte[] signature) { in Dump()
107 int signature = buffer.getInt(); // Read 4 bytes. in findEndOfCDRecord() local
169 ByteBuffer signature = mChannel.map(FileChannel.MapMode.READ_ONLY, signatureOffset, in getSignatureLocation() local
/packages/modules/Wifi/service/java/com/android/server/wifi/
DRunnerHandler.java106 String signature = getSignature(new Throwable("RunnerHandler:").getStackTrace(), in sendMessageAtTime() local
116 final String signature = bundle.getString(KEY_SIGNATURE); in dispatchMessage() local
154 String signature = getSignature(new Throwable("RunnerHandler:").getStackTrace(), in postToFront() local
/packages/modules/Virtualization/libs/bssl/src/
Dec_key.rs174 let signature = ec_cose_signature_to_der(signature)?; in ecdsa_verify_cose() localVariable
185 let mut signature = vec![0u8; self.ecdsa_size()?]; in ecdsa_sign_der() localVariable
212 let signature = self.ecdsa_sign_der(digest)?; in ecdsa_sign_cose() localVariable
368 let signature = unsafe { ECDSA_SIG_new() }; in new() localVariable
370 let signature = in new() localVariable
429 let signature = unsafe { ECDSA_SIG_from_bytes(signature.as_ptr(), signature.len()) }; in new_from_der() localVariable
431 let signature = NonNull::new(signature) in new_from_der() localVariable
/packages/modules/Virtualization/authfs/src/fsverity/metadata/
Dmetadata.rs45 pub signature: Option<Vec<u8>>, field
122 let signature = match header.signature_type { in parse_fsverity_metadata() localVariable
/packages/modules/Virtualization/compos/verify/
Dverify.rs108 let signature = artifacts_dir.join("compos.info.signature"); in try_main() localVariable
111 let signature = read_small_file(&signature).context("Failed to read compos.info signature")?; in try_main() localVariable
/packages/modules/Virtualization/compos/verify/native/
Dverify_native.cpp23 bool verify(Slice<const uint8_t> public_key, Slice<const uint8_t> signature, in verify()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DSignatureVerifier.java30 boolean verify(byte[] publicKey, byte[] data, byte[] signature); in verify()
DECDSASignatureVerifier.java75 public boolean verify(byte[] publicKey, byte[] data, byte[] signature) { in verify()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DSignedContextualAds.java90 @NonNull byte[] signature) { in SignedContextualAds()
247 public SignedContextualAds.Builder setSignature(@NonNull byte[] signature) { in setSignature()
/packages/modules/Bluetooth/system/gd/crypto_toolbox/
Dcrypto_toolbox.h81 bluetooth::hci::Octet16 signature = aes_cmac(key, message, length); in aes_cmac() local
/packages/modules/adb/fastdeploy/proto/
DApkEntry.proto12 bytes signature = 3; field
/packages/modules/Virtualization/service_vm/test_apk/src/native/
Dmain.rs117 let signature = res.sign(message).with_log().or_service_specific_exception(-1)?; in signWithAttestationKey() localVariable
215 let signature = self.sign(message)?; in log() localVariable
296 let mut signature = vec![0u8; size]; in sign_with_attested_key() localVariable
/packages/modules/Virtualization/service_vm/demo_apk/src/
Dmain.rs82 let signature = res.sign(message)?; in try_main() localVariable
205 let mut signature = vec![0u8; size]; in sign_with_attested_key() localVariable
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/glide/
DPickerPreloadModelProvider.java96 final ObjectKey signature = loadable.getLoadableSignature(/* prefix= */ mMediaStoreVersion); in getPreloadRequestBuilder() local
/packages/modules/Virtualization/libs/dice/sample_inputs/tests/
Dapi_test.rs140 let signature = sign(MESSAGE, private_key.as_array()).unwrap(); in cdi_leaf_priv_corresponds_to_leaf_public_key_in_dice_chain() localVariable
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/
DECDSASignatureVerifierTest.java67 Signature signature = Signature.getInstance(ECDSA_WITH_SHA256_SIGNING_ALGORITHM); in setup() local
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/tests/
Dconversions.rs53 fn signature(&self) -> dbus::Signature<'static> { in signature() method
82 fn signature() -> dbus::Signature<'static> { in signature() method
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DOperationManager.cpp64 void OperationManager::addSignature(const std::string& name, const OperationSignature& signature) { in addSignature()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth.h174 const char* signature; member
/packages/modules/Virtualization/libs/dice/open_dice/tests/
Dapi_test.rs101 let mut signature = sign(b"MyMessage", priv_key.as_array()).unwrap(); in hash_derive_sign_verify() localVariable
/packages/modules/Virtualization/libs/dice/open_dice/src/
Dops.rs110 let mut signature = [0u8; SIGNATURE_SIZE]; localVariable

123