Home
last modified time | relevance | path

Searched refs:derivedKeySize (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/shared/include/cc_util/
Dmbedtls_cc_util_key_derivation.h116 size_t derivedKeySize
133 …mac(keyType, pUserKey, pLabel, labelSize, pContextData, contextSize, pDerivedKey, derivedKeySize) \ argument
134 …_HASH_OperationModeLast, pLabel, labelSize, pContextData, contextSize, pDerivedKey, derivedKeySize)
152 …e, pUserKey, hashMode, pLabel, labelSize, pContextData, contextSize, pDerivedKey, derivedKeySize) \ argument
153 …UTIL_PRF_HMAC, hashMode, pLabel, labelSize, pContextData, contextSize, pDerivedKey, derivedKeySize)
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/utils/
Dmbedtls_cc_util_key_derivation.c36 size_t derivedKeySize) in mbedtls_util_key_derivation() argument
64 origDerivedKeySize = derivedKeySize; in mbedtls_util_key_derivation()
89 if (derivedKeySize > CC_UTIL_MAX_DERIVED_KEY_SIZE_IN_BYTES) in mbedtls_util_key_derivation()
121 numIteration = (derivedKeySize + prfUpperLimit - 1) / prfUpperLimit; in mbedtls_util_key_derivation()
122 length = derivedKeySize*8; in mbedtls_util_key_derivation()
172 if (derivedKeySize > prfUpperLimit) { in mbedtls_util_key_derivation()
174 derivedKeySize -= prfUpperLimit; in mbedtls_util_key_derivation()
176 bytesToCopy = derivedKeySize; in mbedtls_util_key_derivation()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/
Dcc_util_cmac.c34 size_t derivedKeySize) in UtilCmacBuildDataForDerivation() argument
41 if (derivedKeySize > CC_UTIL_MAX_DERIVED_KEY_SIZE_IN_BYTES) { in UtilCmacBuildDataForDerivation()
45 if (derivedKeySize * CC_BITS_IN_BYTE > 0xFF) { in UtilCmacBuildDataForDerivation()
81 length = derivedKeySize * CC_BITS_IN_BYTE; in UtilCmacBuildDataForDerivation()
Dcc_util_cmac.h21 size_t derivedKeySize);
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/
Dbsv_crypto_api.h76 …size_t derivedKeySize /*!< [in] Size of the derived keying material in Bytes. Limited to…