Home
last modified time | relevance | path

Searched refs:TPM_ALG_SM4 (Results 1 – 11 of 11) 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.c2213 #ifdef TPM_ALG_SM4 in CryptSymmetricEncrypt()
2214 case TPM_ALG_SM4: in CryptSymmetricEncrypt()
2276 #if defined TPM_ALG_AES && defined TPM_ALG_SM4 in CryptSymmetricDecrypt()
2279 #ifdef TPM_ALG_SM4 in CryptSymmetricDecrypt()
2280 algorithm == TPM_ALG_SM4 in CryptSymmetricDecrypt()
2332 #ifdef TPM_ALG_SM4 in CryptSymmetricDecrypt()
2333 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.h347 #define TPM_ALG_SM4 (TPM_ALG_ID)(0x0013) macro
Dpart4.txt15536 52 #ifdef TPM_ALG_SM4
15537 53 {TPM_ALG_SM4, {0, 1, 0, 0, 0, 0, 0, 0, 0}},
21957 1754 #ifdef TPM_ALG_SM4
21958 1755 case TPM_ALG_SM4:
22031 1816 #if defined TPM_ALG_AES && defined TPM_ALG_SM4
22034 1819 #ifdef TPM_ALG_SM4
22035 1820 algorithm == TPM_ALG_SM4
22089 1874 #ifdef TPM_ALG_SM4
22095 1875 case TPM_ALG_SM4 :
22122 1902 #endif //TPM_ALG_SM4
[all …]
/external/tpm2/generator/
Dstructures.txt85 _NAME TPM_ALG_SM4
789 _NAME TPM_ALG_SM4
796 _NAME TPM_ALG_SM4
Draw_structures.txt2884 TPM_ALG_SM4
9993 TPM_ALG_SM4
10025 TPM_ALG_SM4
12491 TPM_ALG_SM4
12551 TPM_ALG_SM4
12618 TPM_ALG_SM4
Draw_structures_fixed.txt2875 TPM_ALG_SM4
10006 TPM_ALG_SM4
10038 TPM_ALG_SM4
12516 TPM_ALG_SM4
12561 TPM_ALG_SM4
12617 TPM_ALG_SM4