Home
last modified time | relevance | path

Searched refs:ivIn (Results 1 – 20 of 20) sorted by relevance

/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_EncryptDecrypt.c20 const TPM2B_IV *ivIn, in Tss2_Sys_EncryptDecrypt_Prepare() argument
51 if (!ivIn) { in Tss2_Sys_EncryptDecrypt_Prepare()
58 rval = Tss2_MU_TPM2B_IV_Marshal(ivIn, ctx->cmdBuffer, in Tss2_Sys_EncryptDecrypt_Prepare()
122 const TPM2B_IV *ivIn, in Tss2_Sys_EncryptDecrypt() argument
132 mode, ivIn, inData); in Tss2_Sys_EncryptDecrypt()
DTss2_Sys_EncryptDecrypt2.c21 const TPM2B_IV *ivIn) in Tss2_Sys_EncryptDecrypt2_Prepare() argument
70 if (!ivIn) { in Tss2_Sys_EncryptDecrypt2_Prepare()
77 rval = Tss2_MU_TPM2B_IV_Marshal (ivIn, in Tss2_Sys_EncryptDecrypt2_Prepare()
128 const TPM2B_IV *ivIn, in Tss2_Sys_EncryptDecrypt2() argument
141 ivIn); in Tss2_Sys_EncryptDecrypt2()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Symmetric/
DEncryptDecrypt_spt.c57 TPM2B_IV *ivIn, in EncryptDecryptShared() argument
119 if(((mode == TPM_ALG_ECB) && (ivIn->t.size != 0)) in EncryptDecryptShared()
120 || ((mode != TPM_ALG_ECB) && (ivIn->t.size != blockSize))) in EncryptDecryptShared()
132 out->ivOut = *ivIn; in EncryptDecryptShared()
DEncryptDecrypt.c62 &in->ivIn, &in->inData, out); in TPM2_EncryptDecrypt()
124 if(((mode == TPM_ALG_ECB) && (in->ivIn.t.size != 0)) in TPM2_EncryptDecrypt()
125 || ((mode != TPM_ALG_ECB) && (in->ivIn.t.size != blockSize))) in TPM2_EncryptDecrypt()
137 out->ivOut = in->ivIn; in TPM2_EncryptDecrypt()
DEncryptDecrypt2.c63 &in->ivIn, &in->inData, in TPM2_EncryptDecrypt2()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_EncryptDecrypt.c78 const TPM2B_IV *ivIn, in Esys_EncryptDecrypt() argument
86 shandle3, decrypt, mode, ivIn, inData); in Esys_EncryptDecrypt()
160 const TPM2B_IV *ivIn, in Esys_EncryptDecrypt_Async() argument
166 esysContext, keyHandle, decrypt, mode, ivIn, in Esys_EncryptDecrypt_Async()
193 mode, ivIn, inData); in Esys_EncryptDecrypt_Async()
DEsys_EncryptDecrypt2.c76 const TPM2B_IV *ivIn, in Esys_EncryptDecrypt2() argument
83 shandle3, inData, decrypt, mode, ivIn); in Esys_EncryptDecrypt2()
155 const TPM2B_IV *ivIn) in Esys_EncryptDecrypt2_Async() argument
161 ivIn); in Esys_EncryptDecrypt2_Async()
187 decrypt, mode, ivIn); in Esys_EncryptDecrypt2_Async()
/external/tpm2-tss/test/integration/
Desys-encrypt-decrypt.int.c236 TPM2B_IV ivIn = { in test_esys_encrypt_decrypt() local
253 &ivIn, in test_esys_encrypt_decrypt()
277 &ivIn, in test_esys_encrypt_decrypt()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DEncryptDecrypt_spt_fp.h58 TPM2B_IV *ivIn,
DEncryptDecrypt2_fp.h51 TPM2B_IV ivIn; member
DEncryptDecrypt_fp.h50 TPM2B_IV ivIn; member
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c910 TPM2B_IV ivIn; // input IV retrieved from input buffer in UnwrapOuter() local
936 result = TPM2B_IV_Unmarshal(&ivIn, &sensitiveData, &size); in UnwrapOuter()
941 if(ivIn.t.size != CryptGetSymmetricBlockSize(symAlg, keyBits)) in UnwrapOuter()
944 iv = &ivIn; in UnwrapOuter()
/external/tpm2-tss/include/tss2/
Dtss2_sys.h589 const TPM2B_IV *ivIn,
603 const TPM2B_IV *ivIn,
615 const TPM2B_IV *ivIn);
629 const TPM2B_IV *ivIn,
Dtss2_esys.h897 const TPM2B_IV *ivIn,
911 const TPM2B_IV *ivIn,
932 const TPM2B_IV *ivIn,
946 const TPM2B_IV *ivIn);
/external/tpm2-tss/test/unit/
Desys-tcti-rcs.c873 TPM2B_IV ivIn = DUMMY_2B_DATA16(.buffer); in test_EncryptDecrypt() local
882 decrypt, mode, &ivIn, &inData, &outData, &ivOut); in test_EncryptDecrypt()
899 TPM2B_IV ivIn = DUMMY_2B_DATA16(.buffer); in test_EncryptDecrypt2() local
907 &inData, decrypt, mode, &ivIn, &outData, &ivOut); in test_EncryptDecrypt2()
Desys-tpm-rcs.c853 TPM2B_IV ivIn = DUMMY_2B_DATA16(.buffer); in test_EncryptDecrypt() local
862 decrypt, mode, &ivIn, &inData, &outData, &ivOut); in test_EncryptDecrypt()
879 TPM2B_IV ivIn = DUMMY_2B_DATA16(.buffer); in test_EncryptDecrypt2() local
887 &inData, decrypt, mode, &ivIn, &outData, &ivOut); in test_EncryptDecrypt2()
Desys-resubmissions.c922 TPM2B_IV ivIn = DUMMY_2B_DATA16(.buffer); in test_EncryptDecrypt() local
931 decrypt, mode, &ivIn, &inData, &outData, &ivOut); in test_EncryptDecrypt()
950 TPM2B_IV ivIn = DUMMY_2B_DATA16(.buffer); in test_EncryptDecrypt2() local
958 &inData, decrypt, mode, &ivIn, &outData, &ivOut); in test_EncryptDecrypt2()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCommandDispatcher.h583 result = TPM2B_IV_Unmarshal(&in->ivIn, paramBuffer, paramBufferSize);
610 result = TPM2B_IV_Unmarshal(&in->ivIn, paramBuffer, paramBufferSize);
DCommandDispatchData.h1427 (UINT16)(offsetof(EncryptDecrypt_In, ivIn)),
1472 (UINT16)(offsetof(EncryptDecrypt2_In, ivIn)),
/external/tpm2-tss/doc/
Ddoxygen.dox289 …TR shandle3, TPMI_YES_NO decrypt, TPMI_ALG_SYM_MODE mode, const TPM2B_IV *ivIn, const TPM2B_MAX_BU…
290 …TR shandle3, TPMI_YES_NO decrypt, TPMI_ALG_SYM_MODE mode, const TPM2B_IV *ivIn, const TPM2B_MAX_BU…