Home
last modified time | relevance | path

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

/external/tpm2/
DEncryptDecrypt.c64 if( (in->mode == TPM_ALG_ECB && in->ivIn.t.size != 0) in TPM2_EncryptDecrypt()
65 || (in->mode != TPM_ALG_ECB && in->ivIn.t.size != blockSize)) in TPM2_EncryptDecrypt()
70 if( (in->mode == TPM_ALG_CBC || in->mode == TPM_ALG_ECB) in TPM2_EncryptDecrypt()
DAlgorithmCap.c108 #ifdef TPM_ALG_ECB
109 {TPM_ALG_ECB, {0, 1, 0, 0, 0, 0, 1, 0, 0}},
DCryptUtil.c2187 if(mode != TPM_ALG_ECB) in CryptSymmetricEncrypt()
2190 pAssert(mode == TPM_ALG_ECB || iv->t.size == 16); in CryptSymmetricEncrypt()
2215 case TPM_ALG_ECB: in CryptSymmetricEncrypt()
2246 case TPM_ALG_ECB: in CryptSymmetricEncrypt()
2307 pAssert(mode == TPM_ALG_ECB || ivIn->t.size == 16); in CryptSymmetricDecrypt()
2334 case TPM_ALG_ECB: in CryptSymmetricDecrypt()
2364 case TPM_ALG_ECB: in CryptSymmetricDecrypt()
DImplementation.h444 #define TPM_ALG_ECB (TPM_ALG_ID)(0x0044) macro
Dtpm_generated.c774 #ifdef TPM_ALG_ECB in TPM_ALG_ID_Unmarshal()
775 if (*target == TPM_ALG_ECB) { in TPM_ALG_ID_Unmarshal()
2041 #ifdef TPM_ALG_ECB in TPMI_ALG_SYM_MODE_Unmarshal()
2042 case TPM_ALG_ECB: in TPMI_ALG_SYM_MODE_Unmarshal()