Home
last modified time | relevance | path

Searched refs:msgSize (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_edw/
Dcc_ec_edw.c38 size_t msgSize, /*!< [in] Message size in bytes: must be less, than in CC_EcEdwSign() argument
52 ((pMsg == NULL)^(msgSize == 0)) || in CC_EcEdwSign()
59 if(msgSize >= CC_HASH_UPDATE_DATA_MAX_SIZE_IN_BYTES) { in CC_EcEdwSign()
75 err = EcEdwSign(pSign, pMsg, msgSize, in CC_EcEdwSign()
109 …size_t msgSize, /*!< [in] Pointer to the message size in bytes. Must be less … in CC_EcEdwVerify() argument
121 ((pMsg == NULL)^(msgSize == 0)) || pTempBuff == NULL) { in CC_EcEdwVerify()
129 if(msgSize > CC_HASH_UPDATE_DATA_MAX_SIZE_IN_BYTES) { in CC_EcEdwVerify()
140 err = EcEdwSignVerify (pSign, pMsg, msgSize, in CC_EcEdwVerify()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dec_edw.c326 … size_t msgSize, /*!< [in] - the message size in bytes: it must be less, than in EcEdwSign() argument
385 if (msgSize == 0) { in EcEdwSign()
389 if (msgSize <= CC_HASH_SHA512_BLOCK_SIZE_IN_BYTES - edwSizeBytes) { in EcEdwSign()
390 CC_PalMemCopy((uint8_t*)pEphPriv + edwSizeBytes, pMsg, msgSize); in EcEdwSign()
391 sizeToHash = edwSizeBytes + msgSize; in EcEdwSign()
396 msgSize1 = msgSize - (sizeToHash - edwSizeBytes); in EcEdwSign()
481 if (msgSize == 0) { in EcEdwSign()
485 if (msgSize <= CC_HASH_SHA512_BLOCK_SIZE_IN_BYTES - 2*edwSizeBytes) { in EcEdwSign()
486 CC_PalMemCopy((uint8_t*)pSign + 2*edwSizeBytes, pMsg, msgSize); in EcEdwSign()
487 sizeToHash = 2*edwSizeBytes + msgSize; in EcEdwSign()
[all …]
Dec_edw.h128 … size_t msgSize, /*!< [in] - the message size in bytes: it must be less, than
149 … size_t msgSize, /*!< [in] - the message size in bytes: it must be not
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dcc_ec_edw_api.h84 … size_t msgSize, /*!< [in] Message size in bytes: must be less, than
109 …size_t msgSize, /*!< [in] Pointer to the message size in bytes. Must be less …