Home
last modified time | relevance | path

Searched refs:CounterBuff_ptr (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dsw_hash_common.c43 void HASH_COMMON_IncMsbUnsignedCounter( uint32_t *CounterBuff_ptr , in HASH_COMMON_IncMsbUnsignedCounter() argument
59 CounterBuff_ptr[i] = CC_COMMON_REVERSE32( CounterBuff_ptr[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()
82 curretCounterWordVal = CounterBuff_ptr[i]; in HASH_COMMON_IncMsbUnsignedCounter()
85 CounterBuff_ptr[i]++; in HASH_COMMON_IncMsbUnsignedCounter()
89 if ((curretCounterWordVal < CounterBuff_ptr[i]) || (i == 0)) { in HASH_COMMON_IncMsbUnsignedCounter()
102 CounterBuff_ptr[i] = CC_COMMON_REVERSE32( CounterBuff_ptr[i] ); in HASH_COMMON_IncMsbUnsignedCounter()
128 uint32_t *CounterBuff_ptr , in HASH_COMMON_IncLsbUnsignedCounter() argument
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/common/
Dcc_common_math.c45 void CC_CommonIncMsbUnsignedCounter( uint32_t *CounterBuff_ptr , in CC_CommonIncMsbUnsignedCounter() argument
62 CounterBuff_ptr[i] = CC_COMMON_REVERSE32( CounterBuff_ptr[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()
85 curretCounterWordVal = CounterBuff_ptr[i]; in CC_CommonIncMsbUnsignedCounter()
88 CounterBuff_ptr[i]++; in CC_CommonIncMsbUnsignedCounter()
92 if ((curretCounterWordVal < CounterBuff_ptr[i]) || (i == 0)){ in CC_CommonIncMsbUnsignedCounter()
105 CounterBuff_ptr[i] = CC_COMMON_REVERSE32( CounterBuff_ptr[i] ); in CC_CommonIncMsbUnsignedCounter()
163 void CC_CommonDecrLsbUnsignedCounter( uint32_t *CounterBuff_ptr, in CC_CommonDecrLsbUnsignedCounter() argument
[all …]
Dcc_common_math.h214 void CC_CommonIncMsbUnsignedCounter( uint32_t *CounterBuff_ptr ,
238 uint32_t *CounterBuff_ptr ,
261 void CC_CommonDecrLsbUnsignedCounter( uint32_t *CounterBuff_ptr,
366 uint32_t CC_CommonGetBytesCounterEffectiveSizeInBits( const uint8_t *CounterBuff_ptr,
396 uint32_t CC_CommonGetWordsCounterEffectiveSizeInBits( const uint32_t *CounterBuff_ptr,