/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/ |
D | cc_rsa_schemes.h | 107 …CCRsaUserPrivKey_t *UserPrivKey_ptr, /*!< [in] Pointer to the private-key data structure of t… 156 #define CC_RsaOaepDecrypt(UserPrivKey_ptr,PrimeData_ptr,HashMode,L,Llen,MGF,Data_ptr,DataSize,Outpu… argument 157 …CC_RsaSchemesDecrypt(UserPrivKey_ptr,PrimeData_ptr,HashMode,L,Llen,MGF,Data_ptr,DataSize,Output_pt… 164 #define CC_RsaPkcs1V15Decrypt(UserPrivKey_ptr,PrimeData_ptr,DataIn_ptr,DataInSize,Output_ptr,Output… argument 165 …CC_RsaSchemesDecrypt(UserPrivKey_ptr,PrimeData_ptr,CC_RSA_HASH_NO_HASH_mode,NULL,0,CC_PKCS1_NO_MGF… 182 …CCRsaUserPrivKey_t *UserPrivKey_ptr, /*!< [in] Pointer to the private-key data structure… 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… 229 #define CC_RsaPkcs1V15Sha1Sign(rndContext_ptr, UserContext_ptr,UserPrivKey_ptr,DataIn_ptr,Output_pt… argument 230 …CC_RsaSign(rndContext_ptr, (UserContext_ptr),(UserPrivKey_ptr),(CC_RSA_After_SHA1_mode),(CC_PKCS1_… [all …]
|
D | cc_rsa_build.h | 57 … CCRsaUserPrivKey_t *UserPrivKey_ptr, /*!< [out] Pointer to the public key structure.*/ 75 … CCRsaUserPrivKey_t *UserPrivKey_ptr, /*!< [out] Pointer to the public key structure. */ 124 CEXPORT_C CCError_t CC_RsaGetPrivKey(CCRsaUserPrivKey_t *UserPrivKey_ptr /*!< [in] A pointer… 148 CEXPORT_C CCError_t CC_RsaGetPrivKeyCRT(CCRsaUserPrivKey_t *UserPrivKey_ptr /*!< [in] A pointer to …
|
D | cc_ecpki_dh.h | 49 … CCEcpkiUserPrivKey_t *UserPrivKey_ptr, /*!< [in] Pointer to a user private key. */
|
D | cc_rsa_prim.h | 71 … CCRsaUserPrivKey_t *UserPrivKey_ptr, /*!< [in] Pointer to the private-key data structure.
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/ |
D | ccsw_rsa_kg.c | 95 CCSwRsaUserPrivKey_t *UserPrivKey_ptr, in CC_SwRsaKgGenerateKeyPair() argument 133 if (UserPrivKey_ptr == NULL) in CC_SwRsaKgGenerateKeyPair() 157 PrivKey_ptr = ( SwRsaPrivKey_t *)UserPrivKey_ptr->PrivateKeyDbBuff; in CC_SwRsaKgGenerateKeyPair() 159 CC_PalMemSet( UserPrivKey_ptr, 0, sizeof(CCSwRsaUserPrivKey_t) ); in CC_SwRsaKgGenerateKeyPair() 262 UserPrivKey_ptr->valid_tag = CC_RSA_PRIV_KEY_VALIDATION_TAG; in CC_SwRsaKgGenerateKeyPair() 314 CCSwRsaUserPrivKey_t *UserPrivKey_ptr, in CC_SwRsaKgGenerateKeyPairCRT() argument 343 if (UserPrivKey_ptr == NULL) in CC_SwRsaKgGenerateKeyPairCRT() 366 PrivKey_ptr = ( SwRsaPrivKey_t *)UserPrivKey_ptr->PrivateKeyDbBuff; in CC_SwRsaKgGenerateKeyPairCRT() 372 CC_PalMemSet( UserPrivKey_ptr , 0 , sizeof(CCSwRsaUserPrivKey_t) ); in CC_SwRsaKgGenerateKeyPairCRT() 484 UserPrivKey_ptr->valid_tag = CC_RSA_PRIV_KEY_VALIDATION_TAG; in CC_SwRsaKgGenerateKeyPairCRT() [all …]
|
D | ccsw_rsa_kg.h | 54 CCSwRsaUserPrivKey_t *UserPrivKey_ptr, 93 CCSwRsaUserPrivKey_t *UserPrivKey_ptr,
|
D | cc_rsa_prim.c | 212 CCRsaUserPrivKey_t *UserPrivKey_ptr, in CC_RsaPrimDecrypt() argument 240 if (UserPrivKey_ptr == NULL) in CC_RsaPrimDecrypt() 248 if (UserPrivKey_ptr->valid_tag != CC_RSA_PRIV_KEY_VALIDATION_TAG) in CC_RsaPrimDecrypt() 261 PrivKey_ptr = (CCRsaPrivKey_t*)UserPrivKey_ptr->PrivateKeyDbBuff; in CC_RsaPrimDecrypt()
|
D | cc_rsa_build.c | 225 CEXPORT_C CCError_t CC_RsaPrivKeyBuild(CCRsaUserPrivKey_t *UserPrivKey_ptr, in CC_RsaPrivKeyBuild() argument 260 if (UserPrivKey_ptr == NULL) in CC_RsaPrivKeyBuild() 287 PrivKey_ptr = (CCRsaPrivKey_t *)UserPrivKey_ptr->PrivateKeyDbBuff; in CC_RsaPrivKeyBuild() 409 UserPrivKey_ptr->valid_tag = CC_RSA_PRIV_KEY_VALIDATION_TAG; in CC_RsaPrivKeyBuild() 418 CC_PalMemSetZero(UserPrivKey_ptr, sizeof(CCRsaUserPrivKey_t)); in CC_RsaPrivKeyBuild() 448 CCRsaUserPrivKey_t *UserPrivKey_ptr, in CC_RsaPrivKeyCrtBuild() argument 490 if (UserPrivKey_ptr == NULL) in CC_RsaPrivKeyCrtBuild() 555 PrivKey_ptr = (CCRsaPrivKey_t*)UserPrivKey_ptr->PrivateKeyDbBuff; in CC_RsaPrivKeyCrtBuild() 689 UserPrivKey_ptr->valid_tag = CC_RSA_PRIV_KEY_VALIDATION_TAG; in CC_RsaPrivKeyCrtBuild() 698 CC_PalMemSetZero(UserPrivKey_ptr, sizeof(CCRsaUserPrivKey_t)); in CC_RsaPrivKeyCrtBuild()
|
D | cc_rsa_sign.c | 74 CCRsaUserPrivKey_t *UserPrivKey_ptr, in CC_RsaSignInit() argument 109 if (UserPrivKey_ptr == NULL){ in CC_RsaSignInit() 132 if (UserPrivKey_ptr->valid_tag != CC_RSA_PRIV_KEY_VALIDATION_TAG){ in CC_RsaSignInit() 146 PrivKey_ptr = (CCRsaPrivKey_t *)UserPrivKey_ptr->PrivateKeyDbBuff; in CC_RsaSignInit() 253 (uint8_t*)UserPrivKey_ptr, sizeof(CCRsaUserPrivKey_t)); in CC_RsaSignInit() 622 CCRsaUserPrivKey_t *UserPrivKey_ptr, in CC_RsaSign() argument 647 UserPrivKey_ptr, in CC_RsaSign()
|
D | cc_rsa_schemes.c | 341 CCRsaUserPrivKey_t *UserPrivKey_ptr, in CC_RsaSchemesDecrypt() argument 381 if (UserPrivKey_ptr == NULL) in CC_RsaSchemesDecrypt() 416 PrivKey_ptr = (CCRsaPrivKey_t *)UserPrivKey_ptr->PrivateKeyDbBuff; in CC_RsaSchemesDecrypt() 417 if (UserPrivKey_ptr->valid_tag != CC_RSA_PRIV_KEY_VALIDATION_TAG) in CC_RsaSchemesDecrypt() 489 Error = CC_RsaPrimDecrypt(UserPrivKey_ptr, in CC_RsaSchemesDecrypt()
|
D | cc_rsa_local.h | 296 …CCRsaUserPrivKey_t *UserPrivKey_ptr, /*!< [in] A pointer to the private key data structur…
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/ |
D | cc_ecdh.c | 36 CCEcpkiUserPrivKey_t *UserPrivKey_ptr, /*in*/ in CC_EcdhSvdpDh() argument 56 if (UserPrivKey_ptr == NULL) in CC_EcdhSvdpDh() 60 if (UserPrivKey_ptr->valid_tag != CC_ECPKI_PRIV_KEY_VALIDATION_TAG) in CC_EcdhSvdpDh() 88 PrivKey_ptr = (CCEcpkiPrivKey_t*)&UserPrivKey_ptr->PrivKeyDbBuff; in CC_EcdhSvdpDh()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | rsa_alt.c | 1086 OUT CCRsaUserPrivKey_t *UserPrivKey_ptr in build_cc_priv_non_crt_key() argument 1135 PrivKey_ptr = (CCRsaPrivKey_t *)UserPrivKey_ptr->PrivateKeyDbBuff; in build_cc_priv_non_crt_key() 1232 UserPrivKey_ptr->valid_tag = CC_RSA_PRIV_KEY_VALIDATION_TAG; in build_cc_priv_non_crt_key() 1239 CC_PalMemSetZero(UserPrivKey_ptr, sizeof(CCRsaUserPrivKey_t)); in build_cc_priv_non_crt_key() 1249 OUT CCRsaUserPrivKey_t *UserPrivKey_ptr in build_cc_priv_crt_key() argument 1337 PrivKey_ptr = (CCRsaPrivKey_t *)UserPrivKey_ptr->PrivateKeyDbBuff; in build_cc_priv_crt_key() 1453 UserPrivKey_ptr->valid_tag = CC_RSA_PRIV_KEY_VALIDATION_TAG; in build_cc_priv_crt_key() 1460 CC_PalMemSetZero(UserPrivKey_ptr, sizeof(CCRsaUserPrivKey_t)); in build_cc_priv_crt_key() 1680 CCRsaUserPrivKey_t * UserPrivKey_ptr = NULL; in mbedtls_rsa_private() local 1709 UserPrivKey_ptr = (CCRsaUserPrivKey_t *)mbedtls_calloc(1, sizeof(CCRsaUserPrivKey_t)); in mbedtls_rsa_private() [all …]
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
D | cc3xx_internal_rsa_util.h | 87 CCRsaUserPrivKey_t *UserPrivKey_ptr);
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_rsa_util.c | 201 CCRsaUserPrivKey_t *UserPrivKey_ptr) in cc3xx_rsa_psa_priv_to_cc_priv() argument 338 cc_err = CC_RsaPrivKeyCrtBuild(UserPrivKey_ptr, p_ptr, p_len, q_ptr, q_len, in cc3xx_rsa_psa_priv_to_cc_priv()
|