Home
last modified time | relevance | path

Searched refs:hashFunc (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_oaep.c52 CCPkcs1HashFunc_t hashFunc, /* PKCS1 hash mode enum */ in RsaPssOaepEncode() argument
109 switch (hashFunc) { in RsaPssOaepEncode()
181 md_info = mbedtls_md_info_from_string( HashAlgMode2mbedtlsString[hashFunc] ); in RsaPssOaepEncode()
190 Error=CC_Hash( hashFunc, in RsaPssOaepEncode()
201 md_info = mbedtls_md_info_from_string( HashAlgMode2mbedtlsString[hashFunc] ); in RsaPssOaepEncode()
213 hashFunc); in RsaPssOaepEncode()
276hashFunc, /*hashMode*/ in RsaPssOaepEncode()
318 hashFunc, in RsaPssOaepEncode()
372 CCPkcs1HashFunc_t hashFunc, in RsaPssOaepDecode() argument
401 switch (hashFunc) { in RsaPssOaepDecode()
[all …]
Dcc_rsa_schemes.c85 CCRsaHashOpMode_t hashFunc, in CC_RsaSchemesEncrypt() argument
125 if (hashFunc >= CC_RSA_HASH_NumOfModes) in CC_RsaSchemesEncrypt()
211 switch (hashFunc) { in CC_RsaSchemesEncrypt()
343 CCRsaHashOpMode_t hashFunc, in CC_RsaSchemesDecrypt() argument
388 if (hashFunc >= CC_RSA_HASH_NumOfModes) in CC_RsaSchemesDecrypt()
447 switch (hashFunc) { in CC_RsaSchemesDecrypt()
Dcc_rsa_local.h147 CCPkcs1HashFunc_t hashFunc,
158 CCPkcs1HashFunc_t hashFunc, /* PKCS1 hash mode enum */
175 CCError_t RsaPssOaepDecode(CCPkcs1HashFunc_t hashFunc,
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/
Dcc_rsa_schemes.h49 …CCRsaHashOpMode_t hashFunc, /*!< [in] The HASH function to be used. One of the suppor…
110 …CCRsaHashOpMode_t hashFunc, /*!< [in] The HASH function to be used. One of the suppo…
218 #define CC_RsaPkcs1V15Sign(rndContext_ptr, UserContext_ptr,UserPrivKey_ptr,hashFunc,DataIn_ptr,Data… argument
219 …CC_RsaSign(rndContext_ptr, (UserContext_ptr),(UserPrivKey_ptr),(hashFunc),(CC_PKCS1_NO_MGF),0,(Dat…
297 #define CC_RsaPssSign(rndContext_ptr, UserContext_ptr,UserPrivKey_ptr,hashFunc,MGF,SaltLen,DataIn_p… argument
298 …CC_RsaSign(rndContext_ptr, UserContext_ptr,UserPrivKey_ptr,hashFunc,MGF,SaltLen,DataIn_ptr,DataInS…
412 #define CC_RsaPkcs1V15Verify(UserContext_ptr,UserPubKey_ptr,hashFunc,DataIn_ptr,DataInSize,Sig_ptr)\ argument
413 …CC_RsaVerify(UserContext_ptr,UserPubKey_ptr,hashFunc,CC_PKCS1_NO_MGF,0,DataIn_ptr,DataInSize,Sig_p…
469 #define CC_RsaPssVerify(UserContext_ptr,UserPubKey_ptr,hashFunc,MGF,SaltLen,DataIn_ptr,DataInSize,S… argument
470 …CC_RsaVerify(UserContext_ptr,UserPubKey_ptr,hashFunc,MGF,SaltLen,DataIn_ptr,DataInSize,Sig_ptr,CC_…