Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dsw_hash_common.c45 uint32_t CounterSize ) in HASH_COMMON_IncMsbUnsignedCounter() argument
58 for (i = 0 ; i < CounterSize ; i++) in HASH_COMMON_IncMsbUnsignedCounter()
65 curretCounterWordVal = CounterBuff_ptr[CounterSize-1]; in HASH_COMMON_IncMsbUnsignedCounter()
71 CounterBuff_ptr[CounterSize-1] += Val; in HASH_COMMON_IncMsbUnsignedCounter()
77 if (curretCounterWordVal > CounterBuff_ptr[CounterSize-1]) { in HASH_COMMON_IncMsbUnsignedCounter()
79 i = CounterSize - 2; in HASH_COMMON_IncMsbUnsignedCounter()
101 for (i = 0 ; i < CounterSize ; i++) in HASH_COMMON_IncMsbUnsignedCounter()
130 uint32_t CounterSize ) in HASH_COMMON_IncLsbUnsignedCounter() argument
163 for (i = 1 ; i < CounterSize ; i++) { in HASH_COMMON_IncLsbUnsignedCounter()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/common/
Dcc_common_math.c47 uint32_t CounterSize ) in CC_CommonIncMsbUnsignedCounter() argument
61 for (i = 0 ; i < CounterSize ; i++) in CC_CommonIncMsbUnsignedCounter()
68 curretCounterWordVal = CounterBuff_ptr[CounterSize-1]; in CC_CommonIncMsbUnsignedCounter()
74 CounterBuff_ptr[CounterSize-1] += Val; in CC_CommonIncMsbUnsignedCounter()
80 if (curretCounterWordVal > CounterBuff_ptr[CounterSize-1]) { in CC_CommonIncMsbUnsignedCounter()
82 i = CounterSize - 2; in CC_CommonIncMsbUnsignedCounter()
104 for (i = 0 ; i < CounterSize ; i++) in CC_CommonIncMsbUnsignedCounter()
592 uint32_t CounterSize ) in CC_CommonGetBytesCounterEffectiveSizeInBits() argument
608 while (CounterSize != 0) { in CC_CommonGetBytesCounterEffectiveSizeInBits()
609 if (CounterBuff_ptr[CounterSize - 1] == 0) in CC_CommonGetBytesCounterEffectiveSizeInBits()
[all …]
Dcc_common_math.h216 uint32_t CounterSize);
240 uint32_t CounterSize);
367 uint32_t CounterSize );
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/
Dcc_ffcdh.c167 if (CounterSize == 0) in FfcDhGetBeCounterEffectiveSizeInBits()