Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 20 of 20) sorted by relevance

/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
Dcy_crypto_core_sha_v2.c189 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha1_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
203 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha256_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
214 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha256_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
228 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha512_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
239 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha512_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
250 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha512_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
261 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha512_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
274 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha3_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
282 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha3_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
290 … hashState->hash = (uint8_t*)((cy_stc_crypto_v2_sha3_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V2_Sha_Init()
[all …]
Dcy_crypto_core_sha_v1.c88 (uint32_t)hashState->hash, /* Initial hash */ in Cy_Crypto_Core_V1_Sha_ProcessBlock()
90 (uint32_t)hashState->hash); /* Digest */ in Cy_Crypto_Core_V1_Sha_ProcessBlock()
202 … hashState->hash = (uint8_t*)((cy_stc_crypto_v1_sha1_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V1_Sha_Init()
218 … hashState->hash = (uint8_t*)((cy_stc_crypto_v1_sha256_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V1_Sha_Init()
232 … hashState->hash = (uint8_t*)((cy_stc_crypto_v1_sha256_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V1_Sha_Init()
249 … hashState->hash = (uint8_t*)((cy_stc_crypto_v1_sha512_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V1_Sha_Init()
263 … hashState->hash = (uint8_t*)((cy_stc_crypto_v1_sha512_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V1_Sha_Init()
277 … hashState->hash = (uint8_t*)((cy_stc_crypto_v1_sha512_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V1_Sha_Init()
291 … hashState->hash = (uint8_t*)((cy_stc_crypto_v1_sha512_buffers_t*)shaBuffers)->hash; in Cy_Crypto_Core_V1_Sha_Init()
339 …Cy_Crypto_Core_V1_MemCpy(base, (void*)hashState->hash, (void const*)hashState->initialHash, (uint1… in Cy_Crypto_Core_V1_Sha_Start()
[all …]
Dcy_crypto_core_ecc_ecdsa.c74 cy_en_crypto_status_t Cy_Crypto_Core_ECC_SignHash(CRYPTO_Type *base, const uint8_t *hash, uint32_t … in Cy_Crypto_Core_ECC_SignHash() argument
100 if ((hash != NULL) && (0u != hashlen) && (sig != NULL) && (key != NULL) && (messageKey != NULL)) in Cy_Crypto_Core_ECC_SignHash()
104 hashPtrRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(hash); in Cy_Crypto_Core_ECC_SignHash()
119 SCB_CleanDCache_by_Addr((volatile void *)hash,(int32_t)hashlen); in Cy_Crypto_Core_ECC_SignHash()
340 const uint8_t *sig, const uint8_t *hash, uint32_t hashlen, in Cy_Crypto_Core_ECC_VerifyHash() argument
356 if ((sig != NULL) && (hash != NULL) && (0u != hashlen) && (stat != NULL) && (key != NULL)) in Cy_Crypto_Core_ECC_VerifyHash()
360 hashPtrRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(hash); in Cy_Crypto_Core_ECC_VerifyHash()
385 SCB_CleanDCache_by_Addr((volatile void *)hash,(int32_t)hashlen); in Cy_Crypto_Core_ECC_VerifyHash()
Dcy_cryptolite_ecdsa.c666 cy_stc_cryptolite_context_ecdsa_t *cfContext, const uint8_t *hash, uint32_t hashlen, uint8_t *sig, in Cy_Cryptolite_ECC_SignHash() argument
673 …if ((base != NULL) && (sig != NULL) && (hash != NULL) && (0u != hashlen) && (key != NULL) && (mess… in Cy_Cryptolite_ECC_SignHash()
743 …Cy_Cryptolite_Setnumber(p_u1, (uint8_t *)(&hash[hashlen - CY_CRYPTOLITE_BYTE_SIZE_OF_BITS(bitsize)… in Cy_Cryptolite_ECC_SignHash()
747 Cy_Cryptolite_Setnumber(p_u1, (uint8_t *)hash, hashlen); in Cy_Cryptolite_ECC_SignHash()
814 … const uint8_t *sig, uint32_t siglen, const uint8_t *hash, uint32_t hashlen, in Cy_Cryptolite_ECC_VerifyHash() argument
824 …if ((sig != NULL) && (hash != NULL) && (0u != hashlen) && (stat != NULL) && (key != NULL) && (cfCo… in Cy_Cryptolite_ECC_VerifyHash()
878 …Cy_Cryptolite_Setnumber(p_u1, (uint8_t *)(&hash[hashlen - CY_CRYPTOLITE_BYTE_SIZE_OF_BITS(bitsize)… in Cy_Cryptolite_ECC_VerifyHash()
882 Cy_Cryptolite_Setnumber(p_u1, (uint8_t *)hash, hashlen); in Cy_Cryptolite_ECC_VerifyHash()
Dcy_cryptolite_sha256.c184 cfContext->message_process_struct.data1 = (uint32_t)cfContext->hash; in Cy_Cryptolite_Sha256_Init()
229 cfContext->hash[i] = sha256InitHash[i]; in Cy_Cryptolite_Sha256_Start()
426 hashptr = (uint8_t*)cfContext->hash; in Cy_Cryptolite_Sha256_Finish()
481 cfContext->hash[idx] = 0U; in Cy_Cryptolite_Sha256_Free()
Dcy_crypto.c1168 cfContext->hash = digest; in Cy_Crypto_Rsa_Verify()
1190 cy_en_crypto_status_t Cy_Crypto_ECDSA_SignHash(const uint8_t *hash, in Cy_Crypto_ECDSA_SignHash() argument
1205 cfContext->src0 = hash; in Cy_Crypto_ECDSA_SignHash()
1214 SCB_CleanDCache_by_Addr((volatile void *)hash,(int32_t)hashlen); in Cy_Crypto_ECDSA_SignHash()
1225 const uint8_t *hash, in Cy_Crypto_ECDSA_VerifyHash() argument
1239 cfContext->src0 = hash; in Cy_Crypto_ECDSA_VerifyHash()
1248 SCB_CleanDCache_by_Addr((volatile void *)hash,(int32_t)hashlen); in Cy_Crypto_ECDSA_VerifyHash()
Dcy_crypto_core_ecc_eddsa.c1354 cy_en_crypto_status_t Cy_Crypto_Core_ED25519_Sign(CRYPTO_Type *base, const uint8_t *hash, uint32_t … in Cy_Crypto_Core_ED25519_Sign() argument
1368 if ( hash == NULL && 0u != hashlen ) in Cy_Crypto_Core_ED25519_Sign()
1400 hashPtrRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(hash); in Cy_Crypto_Core_ED25519_Sign()
1417 SCB_CleanDCache_by_Addr((volatile void *)hash,(int32_t)hashlen); in Cy_Crypto_Core_ED25519_Sign()
2068 …_Crypto_Core_ED25519_Verify(CRYPTO_Type *base, uint8_t *sig, const uint8_t *hash, uint32_t hashlen, in Cy_Crypto_Core_ED25519_Verify() argument
2097 if ((hash == NULL) && (0u != hashlen)) in Cy_Crypto_Core_ED25519_Verify()
2107 hashPtrRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(hash); in Cy_Crypto_Core_ED25519_Verify()
2125 SCB_CleanDCache_by_Addr((volatile void *)hash,(int32_t)hashlen); in Cy_Crypto_Core_ED25519_Verify()
Dcy_flash.c1796 uint8_t hash = 0U; in Cy_Flash_GetHash() local
1803 cHashSum = (((uint32_t) hash << 1U) + cData); in Cy_Flash_GetHash()
1810hash = ( (cHigherPart + cLowerPart) >= HASH_CALC_DIVISOR ) ? (cHigherPart + cLowerPart - HASH_CAL… in Cy_Flash_GetHash()
1813 return hash; in Cy_Flash_GetHash()
Dcy_crypto_server.c713 … cfContext->verResult, cfContext->digestType, (uint8_t const *)cfContext->hash, in Cy_Crypto_Server_Process()
/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_crypto_core_sha_v2.h51 uint32_t hash[CY_CRYPTO_SHA1_HASH_SIZE / 4u]; member
68 uint32_t hash[CY_CRYPTO_SHA256_HASH_SIZE / 4u]; member
82 uint32_t hash[CY_CRYPTO_SHA512_HASH_SIZE / 4u]; member
90 uint8_t hash[CY_CRYPTO_SHA3_STATE_SIZE]; member
106 uint32_t hash[CY_CRYPTO_SHA_MAX_HASH_SIZE / 4u];
Dcy_crypto_core_sha_v1.h51 uint32_t hash[CY_CRYPTO_SHA1_HASH_SIZE / 4u]; member
65 uint32_t hash[CY_CRYPTO_SHA256_HASH_SIZE / 4u]; member
79 uint32_t hash[CY_CRYPTO_SHA512_HASH_SIZE / 4u]; member
92 uint32_t hash[CY_CRYPTO_SHA_MAX_HASH_SIZE / 4u]; member
Dcy_crypto_core_ecc.h138 const uint8_t *hash,
148 const uint8_t *hash,
156 const uint8_t *hash,
183 const uint8_t *hash,
Dcy_cryptolite_ecdsa.h283 cy_stc_cryptolite_context_ecdsa_t *cfContext, const uint8_t *hash, uint32_t hashlen, uint8_t *sig,
325 … const uint8_t *sig, uint32_t siglen, const uint8_t *hash, uint32_t hashlen,
Dcy_crypto.h2080 cy_en_crypto_status_t Cy_Crypto_ECDSA_SignHash(const uint8_t *hash,
2118 const uint8_t *hash,
Dcy_cryptolite_sha256.h75 uint32_t hash[CY_CRYPTOLITE_SHA256_HASH_SIZE / 4u]; member
Dcy_crypto_common.h943 uint8_t *hash; member
1508 uint32_t const *hash; member
/hal_infineon-latest/btstack/wiced_include/
Dwiced_bt_gatt.h1172 …t wiced_bt_gatt_db_init (const uint8_t *p_gatt_db, uint16_t gatt_db_size, wiced_bt_db_hash_t hash);
1194 uint16_t gatt_db_size, wiced_bt_db_hash_t hash);
1208 wiced_bt_db_hash_t hash);
/hal_infineon-latest/XMCLib/drivers/src/
Dxmc_eth_mac.c380 void XMC_ETH_MAC_SetAddressHashFilter(XMC_ETH_MAC_t *const eth_mac, const uint64_t hash) in XMC_ETH_MAC_SetAddressHashFilter() argument
382 eth_mac->regs->HASH_TABLE_HIGH = (uint32_t)(hash >> 32); in XMC_ETH_MAC_SetAddressHashFilter()
383 eth_mac->regs->HASH_TABLE_LOW = (uint32_t)hash; in XMC_ETH_MAC_SetAddressHashFilter()
/hal_infineon-latest/btstack/
DRELEASE.md191 … OTFK (On-The-Fly_Key hash generation for the database. This reduces the intermediate memory requi…
/hal_infineon-latest/XMCLib/drivers/inc/
Dxmc_eth_mac.h689 void XMC_ETH_MAC_SetAddressHashFilter(XMC_ETH_MAC_t *const eth_mac, const uint64_t hash);