/device/google/cuttlefish/host/commands/secure_env/ |
D | tpm_keymaster_enforcement.cpp | 49 !memcmp(a.data, b.data, a.data_length)); in operator ==() 54 return a.seed == b.seed && !memcmp(a.nonce, b.nonce, sizeof(a.nonce)); in operator ==() 64 auto res = memcmp(a.seed.data, b.seed.data, a.seed.data_length); in operator ()() 69 return memcmp(a.nonce, b.nonce, sizeof(a.nonce)) < 0; in operator ()() 172 return memcmp(token.hmac, comparison_token.hmac, sizeof(token.hmac)) == 0; in ValidateTokenSignature()
|
D | encrypted_serializable_test.cpp | 52 ASSERT_EQ(0, memcmp(input_data, output.begin(), sizeof(input_data))); in TEST()
|
D | hmac_serializable.cpp | 121 if (memcmp(signature.get(), hmac_check->buffer, digest_size_) != 0) { in Deserialize()
|
D | soft_gatekeeper.h | 148 return memcmp(computed.digest, fast_hash.digest, SHA256_DIGEST_LENGTH) == 0; in VerifyFast()
|
D | tpm_attestation_record.cpp | 62 if (memcmp(blob.data, id.data(), id.size())) { in matchAttestationId()
|
/device/google/contexthub/firmware/os/core/ |
D | bl.c | 173 return !memcmp(dst, src, length); in blProgramFlash() 347 if (memcmp(hdr->magic, mOsUpdateMagic, sizeof(hdr->magic)) != 0) in blVerifyOsImage() 365 if (memcmp(rsaKey, osSigPubkey, RSA_BYTES) == 0) in blVerifyOsImage() 405 if (memcmp(expectedHash, ourHash, SHA2_HASH_SIZE) != 0) { in blVerifyOsImage()
|
D | appSec.c | 400 if (memcmp(state->lastHash, result, SHA2_HASH_SIZE)) in appSecDoSomeProcessing() 437 bool verified = memcmp(hash, state->dataBytes, SHA2_BLOCK_SIZE) == 0; in appSecVerifyEncryptedData()
|
D | seos.c | 1416 if (task->app && !memcmp(&task->app->hdr.appId, appId, sizeof(*appId))) { in osTidById()
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | ChecksumCalculator.cpp | 116 isValid = 0 == memcmp(&val, expectedChecksum, sizeof(val)) && in validate() 117 0 == memcmp(&m_numRead, in validate()
|
/device/generic/goldfish/camera/ |
D | qemu_channel.cpp | 92 if (!memcmp(reply.data(), "ok", 2)) { in qemuRunQuery() 94 } else if (!memcmp(reply.data(), "ko", 2)) { in qemuRunQuery()
|
D | CameraProvider.cpp | 47 if (memcmp(str.data(), kCameraIdPrefix, sizeof(kCameraIdPrefix) - 1) != 0) { in parseLogicalCameraId()
|
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | cortexm4.mk | 43 $(LIB_PATH)/libc/memcmp.c \ 50 $(LIB_PATH)/libc/memcmp.c \
|
/device/google/contexthub/util/nanoapp_sign/ |
D | nanoapp_sign.c | 177 if (memcmp(rsaResult, refHash, SHA2_HASH_SIZE)) { in validateSignature() 270 if (memcmp(masterPubKey, rsa->modulus, RSA_BYTES) == 0) { in handleVerify() 300 if (memcmp(masterPubKey, sigPack + RSA_BYTES, RSA_BYTES) == 0) { in handleVerify()
|
/device/google/contexthub/firmware/lib/libc/ |
D | memcmp.c | 42 memcmp(const void *s1, const void *s2, size_t n) in memcmp() function
|
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | kernel_module_parser.cc | 32 return memcmp(buf.data(), SIGNATURE_FOOTER.data(), SIGNATURE_FOOTER.size()) == in IsKernelModuleSigned()
|
D | boot_image_utils.cc | 120 return memcmp(buf.data(), CPIO_MAGIC.data(), CPIO_MAGIC.size()) == 0; in IsCpioArchive()
|
D | vendor_dlkm_utils.cc | 544 if (memcmp(buf1.data(), buf2.data(), bytes_to_read)) { in FileEquals()
|
/device/google/tangorpro/cast_auth/mediadrm/ |
D | DrmFactory.cpp | 24 return !memcmp(uuid, kCastKeyUUID.data(), 16); in isCastKeyUUID()
|
/device/google/contexthub/firmware/lib/ |
D | lib.mk | 56 SRCS += $(LIBC_PATH)/memcmp.c
|
/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 224 bool verify = memcmp(fileHash, calcHash, SHA2_HASH_SIZE) == 0; in handleDecrypt()
|
/device/linaro/dragonboard/shared/utils/tqftpserv/ |
D | tqftpserv.c | 580 if (!memcmp(&client->sq, &sq, sizeof(sq))) in main()
|
/device/google/sunfish/gpt-utils/ |
D | gpt-utils.cpp | 441 if (memcmp(gpt_header, GPT_SIGNATURE, sizeof(GPT_SIGNATURE))) in gpt_get_state()
|
/device/google/coral/gpt-utils/ |
D | gpt-utils.cpp | 441 if (memcmp(gpt_header, GPT_SIGNATURE, sizeof(GPT_SIGNATURE))) in gpt_get_state()
|
/device/google/redbull/gpt-utils/ |
D | gpt-utils.cpp | 441 if (memcmp(gpt_header, GPT_SIGNATURE, sizeof(GPT_SIGNATURE))) in gpt_get_state()
|
/device/google/cuttlefish/common/libs/fs/ |
D | shared_fd.cpp | 1007 if (memcmp(&terminal_settings, &raw_settings, sizeof(terminal_settings))) { in SetTerminalRaw()
|