Lines Matching refs:req_dlen
972 size_t req_dlen; in TEE_CipherUpdate() local
1004 req_dlen = ((operation->buffer_offs + srcLen) / in TEE_CipherUpdate()
1007 req_dlen = srcLen; in TEE_CipherUpdate()
1010 if (req_dlen > operation->block_size * 2) in TEE_CipherUpdate()
1011 req_dlen -= operation->block_size * 2; in TEE_CipherUpdate()
1013 req_dlen = 0; in TEE_CipherUpdate()
1020 if (*destLen < req_dlen) { in TEE_CipherUpdate()
1021 *destLen = req_dlen; in TEE_CipherUpdate()
1057 size_t req_dlen = 0; in TEE_CipherDoFinal() local
1106 req_dlen = operation->buffer_offs + srcLen; in TEE_CipherDoFinal()
1108 req_dlen = srcLen; in TEE_CipherDoFinal()
1112 if (tmp_dlen < req_dlen) { in TEE_CipherDoFinal()
1114 *destLen = req_dlen; in TEE_CipherDoFinal()
1379 size_t req_dlen = 0; in TEE_AEUpdate() local
1410 req_dlen = ROUNDDOWN(operation->buffer_offs + srcLen, in TEE_AEUpdate()
1413 req_dlen = srcLen; in TEE_AEUpdate()
1417 if (dl < req_dlen) { in TEE_AEUpdate()
1418 *destLen = req_dlen; in TEE_AEUpdate()
1460 size_t req_dlen; in TEE_AEEncryptFinal() local
1490 req_dlen = operation->buffer_offs + srcLen; in TEE_AEEncryptFinal()
1491 if (*destLen < req_dlen) { in TEE_AEEncryptFinal()
1492 *destLen = req_dlen; in TEE_AEEncryptFinal()
1553 size_t req_dlen; in TEE_AEDecryptFinal() local
1576 req_dlen = operation->buffer_offs + srcLen; in TEE_AEDecryptFinal()
1577 if (*destLen < req_dlen) { in TEE_AEDecryptFinal()
1578 *destLen = req_dlen; in TEE_AEDecryptFinal()