Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_verify.c75 CCRsaHashOpMode_t rsaHashMode, in CC_RsaVerifyInit() argument
120 if (rsaHashMode >= CC_RSA_HASH_NumOfModes){ in CC_RsaVerifyInit()
139 if (PKCS1_ver == CC_PKCS1_VER21 && rsaHashMode == CC_RSA_HASH_MD5_mode){ in CC_RsaVerifyInit()
171 ccmWorkingContext_ptr->RsaHashOperationMode = rsaHashMode; in CC_RsaVerifyInit()
173 if (RsaSupportedHashModes_t[rsaHashMode] == CC_FALSE){ in CC_RsaVerifyInit()
178 ccmWorkingContext_ptr->HashOperationMode = RsaHashInfo_t[rsaHashMode].hashMode; in CC_RsaVerifyInit()
179 ccmWorkingContext_ptr->HASH_Result_Size = RsaHashInfo_t[rsaHashMode].hashResultSize; in CC_RsaVerifyInit()
187 if ( (rsaHashMode == CC_RSA_HASH_MD5_mode ) || in CC_RsaVerifyInit()
188 (rsaHashMode == CC_RSA_HASH_SHA1_mode ) || in CC_RsaVerifyInit()
189 (rsaHashMode == CC_RSA_HASH_SHA224_mode ) || in CC_RsaVerifyInit()
[all …]
Dcc_rsa_sign.c75 CCRsaHashOpMode_t rsaHashMode, in CC_RsaSignInit() argument
115 if (rsaHashMode >= CC_RSA_HASH_NumOfModes){ in CC_RsaSignInit()
139 if (PKCS1_ver == CC_PKCS1_VER21 && rsaHashMode == CC_RSA_HASH_MD5_mode){ in CC_RsaSignInit()
161 ccmWorkingContext_ptr->RsaHashOperationMode = rsaHashMode; in CC_RsaSignInit()
163 if (RsaSupportedHashModes_t[rsaHashMode] == CC_FALSE){ in CC_RsaSignInit()
168 ccmWorkingContext_ptr->HashOperationMode = RsaHashInfo_t[rsaHashMode].hashMode; in CC_RsaSignInit()
169 ccmWorkingContext_ptr->HASH_Result_Size = RsaHashInfo_t[rsaHashMode].hashResultSize; in CC_RsaSignInit()
178 if ( (rsaHashMode == CC_RSA_HASH_MD5_mode ) || in CC_RsaSignInit()
179 (rsaHashMode == CC_RSA_HASH_SHA1_mode ) || in CC_RsaSignInit()
180 (rsaHashMode == CC_RSA_HASH_SHA224_mode ) || in CC_RsaSignInit()
[all …]
Dcc_rsa_local.h299 …CCRsaHashOpMode_t rsaHashMode, /*!< [in] The enumerator value, defining the hash func…
364 …CCRsaHashOpMode_t rsaHashMode, /*!< [in] The hash function to be used. Currently avai…
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/
Dcc_rsa_schemes.h186 …CCRsaHashOpMode_t rsaHashMode, /*!< [in] One of the supported SHA-x HASH modes, as…
387 …CCRsaHashOpMode_t rsaHashMode, /*!< [in] One of the supported SHA-x HASH modes, as …