Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 7 of 7) sorted by relevance

/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
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()
727 Cy_Cryptolite_Setnumber(sig, (uint8_t *)p_r, bytesize); in Cy_Cryptolite_ECC_SignHash()
731 Cy_Cryptolite_Setnumber(sig, (uint8_t *)publicKey.pubkey.x, bytesize); in Cy_Cryptolite_ECC_SignHash()
767 Cy_Cryptolite_Setnumber(&sig[bytesize], (uint8_t *)p_s, bytesize); 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()
858 Cy_Cryptolite_Setnumber(p_r, (uint8_t *)sig, bytesize); in Cy_Cryptolite_ECC_VerifyHash()
859 Cy_Cryptolite_Setnumber(p_s, (uint8_t *)&sig[VU_BITS_TO_BYTES(bitsize)], bytesize); in Cy_Cryptolite_ECC_VerifyHash()
Dcy_crypto_core_ecc_ecdsa.c74 …Cy_Crypto_Core_ECC_SignHash(CRYPTO_Type *base, const uint8_t *hash, uint32_t hashlen, uint8_t *sig, 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()
105 sigPtrRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(sig); in Cy_Crypto_Core_ECC_SignHash()
299 SCB_InvalidateDCache_by_Addr(sig, (int32_t)(bytesize*2U)); 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()
361 sigPtrRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(sig); in Cy_Crypto_Core_ECC_VerifyHash()
389 SCB_CleanDCache_by_Addr((volatile void *)sig,(int32_t)(2u*bytesize)); in Cy_Crypto_Core_ECC_VerifyHash()
Dcy_crypto_core_ecc_eddsa.c1354 …Cy_Crypto_Core_ED25519_Sign(CRYPTO_Type *base, const uint8_t *hash, uint32_t hashlen, uint8_t *sig, in Cy_Crypto_Core_ED25519_Sign() argument
1396 if ((sig != NULL) && (key != NULL) && (sigType < CY_CRYPTO_EDDSA_NONE)) in Cy_Crypto_Core_ED25519_Sign()
1401 sigPtrRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(sig); in Cy_Crypto_Core_ED25519_Sign()
1647 SCB_InvalidateDCache_by_Addr(sig, (int32_t)(bytesize*2U)); in Cy_Crypto_Core_ED25519_Sign()
2068 cy_en_crypto_status_t Cy_Crypto_Core_ED25519_Verify(CRYPTO_Type *base, uint8_t *sig, const uint8_t … in Cy_Crypto_Core_ED25519_Verify() argument
2102 if ((sig != NULL) && (stat != NULL) && (sigType < CY_CRYPTO_EDDSA_NONE)) in Cy_Crypto_Core_ED25519_Verify()
2108 sigPtrRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(sig); in Cy_Crypto_Core_ED25519_Verify()
2129 SCB_CleanDCache_by_Addr((volatile void *)sig,(int32_t)(2u*bytesize)); in Cy_Crypto_Core_ED25519_Verify()
Dcy_crypto.c1192 uint8_t *sig, in Cy_Crypto_ECDSA_SignHash() argument
1206 cfContext->dst0 = sig; in Cy_Crypto_ECDSA_SignHash()
1224 cy_en_crypto_status_t Cy_Crypto_ECDSA_VerifyHash(const uint8_t *sig, in Cy_Crypto_ECDSA_VerifyHash() argument
1240 cfContext->src1 = sig; in Cy_Crypto_ECDSA_VerifyHash()
/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_crypto_core_ecc.h140 uint8_t *sig,
147 const uint8_t *sig,
158 uint8_t *sig,const cy_stc_crypto_ecc_key *key,
182 uint8_t *sig,
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.h2082 uint8_t *sig,
2117 cy_en_crypto_status_t Cy_Crypto_ECDSA_VerifyHash(const uint8_t *sig,