Home
last modified time | relevance | path

Searched refs:TPM_ALG_SM2 (Results 1 – 10 of 10) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/X509/
DX509_spt.c242 case TPM_ALG_SM2: in X509AddSigningAlgorithm()
276 case TPM_ALG_SM2: in X509AddPublicKey()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DAlgorithmCap.c116 {TPM_ALG_SM2, TPMA_ALGORITHM_INITIALIZER(1, 0, 0, 0, 0, 1, 0, 1, 0)},
DTableMarshalData.c832 (UINT32)TPM_ALG_SM2, (UINT32)TPM_ALG_ECSCHNORR,
883 (UINT32)TPM_ALG_SM2, (UINT32)TPM_ALG_ECSCHNORR,
1024 (UINT32)TPM_ALG_SM2, (UINT32)TPM_ALG_ECSCHNORR,
DMarshal.c1668 case TPM_ALG_SM2: in TPMI_ALG_SIG_SCHEME_Unmarshal()
1714 case TPM_ALG_SM2: in TPMI_ECC_KEY_EXCHANGE_Unmarshal()
3662 case TPM_ALG_SM2: in TPMU_SIG_SCHEME_Unmarshal()
3699 case TPM_ALG_SM2: in TPMU_SIG_SCHEME_Marshal()
3931 case TPM_ALG_SM2: in TPMI_ALG_ASYM_SCHEME_Unmarshal()
3992 case TPM_ALG_SM2: in TPMU_ASYM_SCHEME_Unmarshal()
4041 case TPM_ALG_SM2: in TPMU_ASYM_SCHEME_Marshal()
4395 case TPM_ALG_SM2: in TPMI_ALG_ECC_SCHEME_Unmarshal()
4660 case TPM_ALG_SM2: in TPMU_SIGNATURE_Unmarshal()
4697 case TPM_ALG_SM2: in TPMU_SIGNATURE_Marshal()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DAlgorithmTests.c652 case TPM_ALG_SM2: in TestEccSignAndVerify()
737 || TEST_BIT(TPM_ALG_SM2, *toTest))) in TestEcc()
744 case TPM_ALG_SM2: in TestEcc()
DCryptEccSignature.c546 case TPM_ALG_SM2: in CryptEccSign()
786 case TPM_ALG_SM2: in CryptEccValidateSignature()
820 case TPM_ALG_SM2: in CryptEccValidateSignature()
DCryptEccKeyExchange.c254 case TPM_ALG_SM2: in CryptEcc2PhaseKeyExchange()
DCryptUtil.c1152 case TPM_ALG_SM2: in CryptGetSignHashAlg()
1242 case TPM_ALG_SM2: in CryptIsAsymSignScheme()
1294 case TPM_ALG_SM2: in CryptIsAsymDecryptScheme()
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h335 #define TPM_ALG_SM2 (TPM_ALG_ID)(ALG_SM2_VALUE) macro
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h93 #define TPM_ALG_SM2 (TPM_ALG_ID)(ALG_SM2_VALUE) macro