Home
last modified time | relevance | path

Searched refs:hashOpMode (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_schemes.c109 CCHashOperationMode_t hashOpMode; in CC_RsaSchemesEncrypt() local
217 hashOpMode = CC_HASH_SHA1_mode;/*changing the hash mode to CC definition*/ in CC_RsaSchemesEncrypt()
221 hashOpMode = CC_HASH_SHA224_mode;/*changing the hash mode to CC definition*/ in CC_RsaSchemesEncrypt()
225 hashOpMode = CC_HASH_SHA256_mode;/*changing the hash mode to CC definition*/ in CC_RsaSchemesEncrypt()
229 hashOpMode = CC_HASH_SHA384_mode;/*changing the hash mode to CC definition*/ in CC_RsaSchemesEncrypt()
233 hashOpMode = CC_HASH_SHA512_mode;/*changing the hash mode to CC definition*/ in CC_RsaSchemesEncrypt()
251 hashOpMode, /*! hash operation mode enum */ in CC_RsaSchemesEncrypt()
363 CCHashOperationMode_t hashOpMode = CC_HASH_NumOfModes; in CC_RsaSchemesDecrypt() local
375 hashOpMode = CC_HASH_SHA1_mode; in CC_RsaSchemesDecrypt()
452 hashOpMode = CC_HASH_SHA1_mode;/*changing the hash mode to CC definition*/ in CC_RsaSchemesDecrypt()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/accelerator/cc312/psa-adac/
Dadac_crypto_cc312_pk.c51 CCRsaHashOpMode_t hashOpMode = in psa_adac_verify_signature() local
64 error = CC_RsaPssVerify(&rsaPubUserContext, &pubKey, hashOpMode, in psa_adac_verify_signature()
82 CCEcpkiHashOpMode_t hashOpMode = in psa_adac_verify_signature() local
125 &pubKey, hashOpMode))) { in psa_adac_verify_signature()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_asymmetric_encryption.c51 CCRsaHashOpMode_t hashOpMode = CC_RSA_HASH_OpModeLast; in cc3xx_internal_rsa_encrypt() local
62 status = cc3xx_psa_hash_mode_to_cc_hash_mode(alg, true, &hashOpMode); in cc3xx_internal_rsa_encrypt()
94 hashOpMode, in cc3xx_internal_rsa_encrypt()
150 CCRsaHashOpMode_t hashOpMode = CC_RSA_HASH_OpModeLast; in cc3xx_internal_rsa_decrypt() local
156 status = cc3xx_psa_hash_mode_to_cc_hash_mode(alg, true, &hashOpMode); in cc3xx_internal_rsa_decrypt()
180 hashOpMode, in cc3xx_internal_rsa_decrypt()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c972 OUT CCRsaHashOpMode_t * hashOpMode, in convert_mbedtls_md_type_to_cc_rsa_hash_opmode() argument
981 *hashOpMode = CC_RSA_HASH_SHA1_mode;/*changing the hash mode to CC definition*/ in convert_mbedtls_md_type_to_cc_rsa_hash_opmode()
985 *hashOpMode = CC_RSA_HASH_SHA224_mode; in convert_mbedtls_md_type_to_cc_rsa_hash_opmode()
989 *hashOpMode = CC_RSA_HASH_SHA256_mode; in convert_mbedtls_md_type_to_cc_rsa_hash_opmode()
993 *hashOpMode = CC_RSA_HASH_SHA384_mode; in convert_mbedtls_md_type_to_cc_rsa_hash_opmode()
997 *hashOpMode = CC_RSA_HASH_SHA512_mode; in convert_mbedtls_md_type_to_cc_rsa_hash_opmode()
1005 *hashOpMode += CC_RSA_After_MD5_mode; in convert_mbedtls_md_type_to_cc_rsa_hash_opmode()
1772 CCRsaHashOpMode_t hashOpMode = CC_RSA_HASH_OpModeLast; in mbedtls_rsa_rsaes_oaep_encrypt() local
1809 &hashOpMode, in mbedtls_rsa_rsaes_oaep_encrypt()
1850 hashOpMode, in mbedtls_rsa_rsaes_oaep_encrypt()
[all …]