Home
last modified time | relevance | path

Searched refs:prime (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/
Dcc_ffc_domain.c514 pPrimeP = pDomain->prime; in FfcFips186v4FindPrimeP()
687 pPrimeP = pDomain->prime; in FfcFips186v4CreateGenerator()
735 pDomain->prime[primeSizeBytes-1] ^= 1; /* temporary: P = p-1;*/ in FfcFips186v4CreateGenerator()
743 pDomain->prime[primeSizeBytes-1] ^= 1; /*reset: P = P+1*/ in FfcFips186v4CreateGenerator()
750 &pDomain->prime[0], /*prime P - modulus*/ in FfcFips186v4CreateGenerator()
1154 …CHECK_AND_SET_ERROR(FfcCmpBeBytes2LeWordsBigNum(pPrime, pDomain->prime, primeSizeBytes/CC_32BIT_WO… in CC_FfcValidateAndImportDomain()
1186 … CC_CommonConvertMsbLsbBytesToLswMswWords(pDomain->prime, primeSizeBytes, pPrime, primeSizeBytes); in CC_FfcValidateAndImportDomain()
1267 CHECK_ERROR(FfcCheckPtrAndSize(pPrime, pPrimeSize, pDomain->prime, primeSizeBytes)); in CC_FfcExportDomain()
1268 …CHECK_ERROR(CC_CommonConvertLswMswWordsToMsbLsbBytes(pPrime, primeSizeBytes, pDomain->prime, prime… in CC_FfcExportDomain()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/
Dcc_ffcdh.c917 pFfcDomain->prime, /*prime P*/ in FfcDhGenKeyPair()
1098 pPrime = &pDomain->prime[0]; in CC_FfcDhValidatePublKey()
1369 pPrime = &pDhCtx->ffcDomain.prime[0]; /* Prime p */ in CC_FfcDhValidateAndImportKeyPair()
1763 &pDhCtx->ffcDomain.prime[0], /*prime P - modulus*/ in FfcDhCalcSharedSecretVal()
1802 &pDhCtx->ffcDomain.prime[0], /*prime P - modulus*/ in FfcDhCalcSharedSecretVal()
2497 pDomain->prime[pDomain->modLenWords-1] ^= 1UL; /* temporary prime -= 1; */ in CC_FfcDhGetSharedSecretVal()
2499 …cmp2 = CC_CommonCmpLsWordsUnsignedCounters(pPublKey32, primeSizeWords, pDomain->prime, primeSizeWo… in CC_FfcDhGetSharedSecretVal()
2500 pDomain->prime[primeSizeWords-1] ^= 1UL; /* reset prime */ in CC_FfcDhGetSharedSecretVal()
2516 pDomain->prime/**pMod*/, primeSizeBytes*CC_BITS_IN_BYTE /*modSizeBits*/, in CC_FfcDhGetSharedSecretVal()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/
Dcc_ffc_domain.h153 uint32_t prime[CC_FFC_DOMAIN_MAX_MOD_SIZE_IN_WORDS]; /*!< prime modulus. */ member
Dcc_ffcdh.h452 …uint32_t prime[CC_FFCDH_FIPS_PRIME_SIZE_VALUE_IN_WORDS]; /*!< prime modulus - in KAT used 2048… member
/trusted-firmware-m-3.6.0/platform/ext/target/cypress/psoc64/libs/core-lib/
DEULA51 …g acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subc…