Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_rsa_keypair.c37 FILE *fp = NULL; in CC_CommonGetKeyPair() local
44 fp = fopen (PemEncryptedFileName_ptr, "r"); in CC_CommonGetKeyPair()
45 if (fp == NULL) { in CC_CommonGetKeyPair()
51 if ((PEM_read_RSAPrivateKey (fp, pRsaKeyPair, NULL, Key_ptr)) == NULL) { in CC_CommonGetKeyPair()
54 fclose (fp); in CC_CommonGetKeyPair()
58 fclose (fp); in CC_CommonGetKeyPair()
74 FILE *fp = NULL; in CC_CommonGetPubKey() local
81 fp = fopen (PemEncryptedFileName_ptr, "r"); in CC_CommonGetPubKey()
82 if (fp == NULL) { in CC_CommonGetPubKey()
88 if ((PEM_read_RSA_PUBKEY(fp, pRsaKeyPair, NULL, NULL)) == NULL) { in CC_CommonGetPubKey()
[all …]
Dcommon_util_files.c336 FILE *fp = NULL; in CC_CommonGetPassphrase() local
352 fp = fopen (pPwdFileName, "r"); in CC_CommonGetPassphrase()
353 if (fp == NULL) { in CC_CommonGetPassphrase()
360 seek = fseek(fp, 0, SEEK_END); in CC_CommonGetPassphrase()
361 fsize = ftell(fp); in CC_CommonGetPassphrase()
362 fseek(fp, 0, SEEK_SET); in CC_CommonGetPassphrase()
380 tmpBuf[i] = (uint8_t)fgetc(fp); in CC_CommonGetPassphrase()
389 fclose(fp); in CC_CommonGetPassphrase()
Dcommon_crypto_x509.c547 FILE *fp = NULL; in CC_CommonX509BuildCertPkg() local
568 fp = fopen(outPkgFile, "w"); in CC_CommonX509BuildCertPkg()
569 if (NULL == fp) { in CC_CommonX509BuildCertPkg()
604 if (fp != NULL){ in CC_CommonX509BuildCertPkg()
605 fclose(fp); in CC_CommonX509BuildCertPkg()
637 FILE *fp = NULL; in CC_CommonX509BuildCertPkg() local
662 fp = fopen(outPkgFile, "w"); in CC_CommonX509BuildCertPkg()
663 if (NULL == fp) { in CC_CommonX509BuildCertPkg()
714 if (fp != NULL){ in CC_CommonX509BuildCertPkg()
715 fclose(fp); in CC_CommonX509BuildCertPkg()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/
Dmain.c809 FILE *fp = NULL; in SBU_x509_BuildCertPkg() local
837 fp = fopen(outPkgFile, "w"); in SBU_x509_BuildCertPkg()
838 if (NULL == fp) { in SBU_x509_BuildCertPkg()
884 if (fp != NULL){ in SBU_x509_BuildCertPkg()
885 fclose(fp); in SBU_x509_BuildCertPkg()
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/libs/core-lib/include/
Dcy_utils.h401 _Pragma(CY_COVERITY_PRAGMA_STR(coverity compliance fp MISRA MESSAGE))
407 _Pragma(CY_COVERITY_PRAGMA_STR(coverity compliance block (fp:COUNT MISRA MESSAGE)))
/trusted-firmware-m-3.4.0/
Dtoolchain_GNUARM.cmake112 string(APPEND CMAKE_SYSTEM_PROCESSOR "+nomve.fp")
129 string(APPEND CMAKE_SYSTEM_ARCH "+mve.fp")
146 string(APPEND CMAKE_SYSTEM_ARCH "+fp")
Dtoolchain_ARMCLANG.cmake102 # Modifiers are additive instead of subtractive (.fp Vs .no_fp)
/trusted-firmware-m-3.4.0/lib/ext/t_cose/test/
Dt_cose_test.c280 struct q_useful_buf_c fp = Q_USEFUL_BUF_FROM_BYTE_ARRAY_LITERAL(cwt_first_part_bytes); in short_circuit_make_cwt_test() local
282 if(q_useful_buf_compare(head, fp)) { in short_circuit_make_cwt_test()