/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_sha.c | 74 RUNIT_ASSERT(memcmp(sha1sum, DIGEST, 20) == 0); in runIt_sha1Test() 82 RUNIT_ASSERT(memcmp(sha1sum, DIGEST, 20) == 0); in runIt_sha1Test() 130 RUNIT_ASSERT(memcmp(sha224sum, DIGEST, 28) == 0); in runIt_sha224Test() 138 RUNIT_ASSERT(memcmp(sha224sum, DIGEST, 28) == 0); in runIt_sha224Test() 185 RUNIT_ASSERT(memcmp(sha256sum, DIGEST, 32) == 0); in runIt_sha256Test() 192 RUNIT_ASSERT(memcmp(sha256sum, DIGEST, 32) == 0); in runIt_sha256Test() 239 RUNIT_ASSERT(memcmp(sha512sum, DIGEST, 48) == 0); in runIt_sha384Test() 246 RUNIT_ASSERT(memcmp(sha512sum, DIGEST, 48) == 0); in runIt_sha384Test() 293 RUNIT_ASSERT(memcmp(sha512sum, DIGEST, 64) == 0); in runIt_sha512Test() 300 RUNIT_ASSERT(memcmp(sha512sum, DIGEST, 64) == 0); in runIt_sha512Test()
|
D | run_integration_ccm.c | 81 RUNIT_ASSERT(memcmp(buf, RES, sizeof(MSG) + TAG_LEN) == 0); in runIt_ccmStarEncOnly() 89 RUNIT_ASSERT(memcmp(buf, MSG, sizeof(MSG)) == 0); in runIt_ccmStarEncOnly() 141 RUNIT_ASSERT(memcmp(buf, RES, sizeof(MSG) + TAG_LEN) == 0); in runIt_ccmStar() 149 RUNIT_ASSERT(memcmp(buf, MSG, sizeof(MSG)) == 0); in runIt_ccmStar() 194 RUNIT_ASSERT(memcmp(buf, RES, sizeof(MSG) + TAG_LEN) == 0); in runIt_ccm() 202 RUNIT_ASSERT(memcmp(buf, MSG, sizeof(MSG)) == 0); in runIt_ccm()
|
D | run_integration_aes.c | 96 RUNIT_ASSERT(memcmp(buf, CYPHER, AES_BLOCK_SIZE) == 0); in runIt_aesOfbTest() 115 RUNIT_ASSERT(memcmp(buf, PLAIN, AES_BLOCK_SIZE) == 0); in runIt_aesOfbTest() 229 RUNIT_ASSERT(memcmp(buf, CYPHER, AES_BLOCK_SIZE) == 0); in runIt_aesCtrTest() 252 RUNIT_ASSERT(memcmp(buf, PLAIN, AES_BLOCK_SIZE) == 0); in runIt_aesCtrTest() 306 RUNIT_ASSERT(memcmp(buf, CYPHER, AES_BLOCK_SIZE) == 0); in runIt_aesCbcTest() 326 RUNIT_ASSERT(memcmp(buf, PLAIN, AES_BLOCK_SIZE) == 0); in runIt_aesCbcTest() 372 RUNIT_ASSERT(memcmp(buf, CYPHER, AES_BLOCK_SIZE) == 0); in runIt_aesEcbTest() 390 RUNIT_ASSERT(memcmp(buf, PLAIN, AES_BLOCK_SIZE) == 0); in runIt_aesEcbTest()
|
D | run_integration_chacha.c | 82 RUNIT_ASSERT(memcmp(pDataOut, pExpectedDataOut, sizeof(pDataIn)) == 0); in runIt_Chacha() 111 RUNIT_ASSERT(memcmp(pDataOut, pExpectedDataOut, sizeof(pDataIn)) == 0); in runIt_Chacha() 173 RUNIT_ASSERT(memcmp(pCcDataOutBuff, pExpectedDataOut, sizeof(pExpectedDataOut)) == 0); in runIt_ChachaPolyEncrypt() 174 RUNIT_ASSERT(memcmp(pMacBuffRaw, pExpectedMac, sizeof(pExpectedMac)) == 0); in runIt_ChachaPolyEncrypt() 240 RUNIT_ASSERT(memcmp(pCcDataOutBuff, pExpectedDataOut, sizeof(pExpectedDataOut)) == 0); in runIt_ChachaPolyDecrypt() 290 RUNIT_ASSERT(memcmp(pMacBuff, EXPECTED_MAC, sizeof(EXPECTED_MAC)) == 0); in runIt_Poly()
|
D | run_integration_key_derivation.c | 113 RUNIT_ASSERT(memcmp(pDataOut, userKeyDataOut, dataOutLength) == 0); in runIt_hmacKeyDerivTest() 171 RUNIT_ASSERT(memcmp(pDataOut, userKeyDataOut, dataOutLength) == 0); in runIt_cmacKeyDerivTest() 250 RUNIT_ASSERT(memcmp(pDataOut, pDataOutRef, dataOutLength) != 0); in runIt_cmacRootKeyDerivTest() 252 RUNIT_ASSERT(memcmp(pDataOut, pDataOutRef, dataOutLength) == 0); in runIt_cmacRootKeyDerivTest() 256 RUNIT_ASSERT(memcmp(pDataOut, userKeyDataOut, dataOutLength) == 0); in runIt_cmacRootKeyDerivTest() 307 RUNIT_ASSERT(memcmp(pOKMDataBuff, hkdf_ExpectOKM, hkdf_LSize) == 0); in runIt_hkdfKeyDerivTest()
|
D | run_integration_gcm.c | 180 RUNIT_ASSERT(memcmp(pBuf, ct, pt_len) == 0); in runIt_gcm() 181 RUNIT_ASSERT(memcmp(pTagBuf, tag, tag_len) == 0); in runIt_gcm() 208 RUNIT_ASSERT(memcmp(pBuf, pt, pt_len) == 0); in runIt_gcm() 233 RUNIT_ASSERT(memcmp(pBuf, pt, pt_len) == 0); in runIt_gcm()
|
D | run_integration_mac.c | 83 RUNIT_ASSERT(memcmp(hmacOutBuff, hmacTest_ExpOutData, hmacTest_ExpOutDataSize) == 0); in runIt_hmac() 103 RUNIT_ASSERT(memcmp(hmacOutBuff, hmacTest_ExpOutData, hmacTest_ExpOutDataSize) == 0); in runIt_hmac() 256 RUNIT_ASSERT(memcmp(output, expected_result, block_size) == 0); in runIt_cmac() 268 RUNIT_ASSERT(memcmp(output, expected_result, block_size) == 0); in runIt_cmac()
|
D | run_integration_dhm.c | 116 RUNIT_ASSERT(memcmp(pSecSrv, pSecCli, sec_srv_len) == 0); in runIt_dhm() 126 RUNIT_ASSERT(memcmp(pSecSrv, pSecCli, sec_srv_len) == 0); in runIt_dhm() 147 RUNIT_ASSERT(memcmp(pSecSrv, pSecCli, sec_srv_len) == 0); in runIt_dhm()
|
D | run_integration_asset_prov.c | 159 RUNIT_ASSERT(memcmp(pBuf, EXP_ASSET_BIN, assetLen) == 0); in runIt_assetProv() 206 RUNIT_ASSERT(memcmp(pBuf, EXP_ASSET_BIN, assetLen) == 0); in runIt_assetProv()
|
D | run_integration_drbg.c | 179 RUNIT_ASSERT(memcmp( buf, result_pr, MBEDTLS_CTR_DRBG_BLOCKSIZE) == 0); in runIt_ctrDrbgVectorTest() 193 RUNIT_ASSERT(memcmp(buf, result_nopr, 16) == 0); in runIt_ctrDrbgVectorTest()
|
D | run_integration_ecies.c | 150 RUNIT_ASSERT(memcmp(pSenderSecret, pRecieverSecret, SECRET_KEY_LEN_BYTES) == 0); in runIt_eciesRandom() 285 RUNIT_ASSERT(memcmp(pRecieverSecret, pSenderSecret, SECRET_KEY_LEN_BYTES) == 0); in runIt_eciesVector()
|
D | run_integration_ext_dma.c | 120 RUNIT_ASSERT(memcmp(outputBuffer, CYPHER, sizeInWords * sizeof(uint32_t)) == 0); in runIt_extDma()
|
D | run_integration_rsa.c | 654 RUNIT_ASSERT(memcmp(pRsaDecrypted, pRsaPlaintext, len) == 0); in runIt_rsaPkcsV21TestGeneral()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/fip_parser/ |
D | fip_parser.c | 46 if (!memcmp(iter, &uuid_null, sizeof(uuid_t))) { in parse_fip_and_extract_tfa_info() 50 if (!memcmp(iter, &tfa_uuid, sizeof(uuid_t))) { in parse_fip_and_extract_tfa_info()
|
/trusted-firmware-m-3.4.0/secure_fw/partitions/lib/runtime/ |
D | crt_memcmp.c | 11 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() function
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/pal/freertos/ |
D | cc_pal_mem.c | 81 return memcmp(aTarget, aSource, aSize); in CC_PalMemCmpPlat()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/pal/linux/ |
D | cc_pal_mem.c | 80 return memcmp(aTarget, aSource, aSize); in CC_PalMemCmpPlat()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/pal/no_os/ |
D | cc_pal_mem.c | 82 return memcmp(aTarget, aSource, aSize); in CC_PalMemCmpPlat()
|
/trusted-firmware-m-3.4.0/platform/ext/accelerator/cc312/cc312-rom/ |
D | cc3xx_otp.c | 47 if (memcmp(((uint8_t*)&word) + start_offset, buf + in_done, copy_size)) { in cc3xx_otp_write()
|
/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/flash_fs/ |
D | its_flash_fs.c | 232 if (memcmp(fid, tmp_metadata.id, ITS_FILE_ID_SIZE)) { in its_flash_fs_file_get_info() 610 if (memcmp(fid, tmp_metadata.id, ITS_FILE_ID_SIZE)) { in its_flash_fs_file_read()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/fw_update_agent/ |
D | uefi_fmp.c | 140 if ((memcmp(guid, &fmp_info[i].ImageDescriptor.ImageTypeId, in fmp_set_image_info()
|
D | fwu_agent.c | 397 if ((memcmp(guid, &full_capsule_image_guid, sizeof(struct efi_guid))) == 0) { in get_image_info_in_bank()
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/CMSIS_Driver/ |
D | low_level_flash.c | 508 if ((err == HAL_OK) && memcmp(dest, data, cnt)) in Flash_ProgramData()
|
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/ |
D | tfm_secure_partition_runtime_library.rst | 66 The comparison API ('memcmp' e.g.), they should not return immediately when the 95 - 'memcmp()'
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/ |
D | stackinfo | 1023 memcmp 88 8
|