Home
last modified time | relevance | path

Searched refs:TPM_ALG_SM4 (Results 1 – 7 of 7) sorted by relevance

/external/tpm2/
Dstubs_sym.c17 #ifdef TPM_ALG_SM4 // Both AES and SM4 use the same block size in _cpri__GetSymmetricBlockSize()
18 case TPM_ALG_SM4: in _cpri__GetSymmetricBlockSize()
DAlgorithmCap.c56 #ifdef TPM_ALG_SM4
57 {TPM_ALG_SM4, {0, 1, 0, 0, 0, 0, 0, 0, 0}},
DCpriSym.c53 #ifdef TPM_ALG_SM4 // Both AES and SM4 use the same block size in _cpri__GetSymmetricBlockSize()
54 case TPM_ALG_SM4: in _cpri__GetSymmetricBlockSize()
482 #ifdef TPM_ALG_SM4
DCryptUtil.c2225 #ifdef TPM_ALG_SM4 in CryptSymmetricEncrypt()
2226 case TPM_ALG_SM4: in CryptSymmetricEncrypt()
2288 #if defined TPM_ALG_AES && defined TPM_ALG_SM4 in CryptSymmetricDecrypt()
2291 #ifdef TPM_ALG_SM4 in CryptSymmetricDecrypt()
2292 algorithm == TPM_ALG_SM4 in CryptSymmetricDecrypt()
2344 #ifdef TPM_ALG_SM4 in CryptSymmetricDecrypt()
2345 case TPM_ALG_SM4 : in CryptSymmetricDecrypt()
Dtpm_generated.c669 #ifdef TPM_ALG_SM4 in TPM_ALG_ID_Unmarshal()
670 if (*target == TPM_ALG_SM4) { in TPM_ALG_ID_Unmarshal()
1955 #ifdef TPM_ALG_SM4 in TPMU_SYM_KEY_BITS_Marshal()
1956 case TPM_ALG_SM4: in TPMU_SYM_KEY_BITS_Marshal()
1987 #ifdef TPM_ALG_SM4 in TPMU_SYM_KEY_BITS_Unmarshal()
1988 case TPM_ALG_SM4: in TPMU_SYM_KEY_BITS_Unmarshal()
2063 #ifdef TPM_ALG_SM4 in TPMU_SYM_MODE_Marshal()
2064 case TPM_ALG_SM4: in TPMU_SYM_MODE_Marshal()
2094 #ifdef TPM_ALG_SM4 in TPMU_SYM_MODE_Unmarshal()
2095 case TPM_ALG_SM4: in TPMU_SYM_MODE_Unmarshal()
[all …]
Dtpm_types.h981 #ifdef TPM_ALG_SM4
998 #ifdef TPM_ALG_SM4
DImplementation.h359 #define TPM_ALG_SM4 (TPM_ALG_ID)(0x0013) macro