Searched refs:actualPlainLen (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_mbedtls.c | 202 int actualPlainLen = inLen - GCM_ADDED_LEN; in MbedAesGcmDecrypt() local 204 cryptPara->aad, cryptPara->aadLen, inBuf + actualPlainLen, GCM_TAG_LENGTH, inBuf, outBuf); in MbedAesGcmDecrypt() 212 return actualPlainLen; in MbedAesGcmDecrypt() 227 uint32_t actualPlainLen = inLen - GCM_ADDED_LEN; in MbedChaChaDecrypt() local 229 cryptPara->aad, cryptPara->aadLen, inBuf, outBuf, inBuf + actualPlainLen); in MbedChaChaDecrypt() 237 return actualPlainLen; in MbedChaChaDecrypt()
|
/foundation/communication/dsoftbus/adapter/common/mbedtls/ |
H A D | softbus_adapter_crypto.c | 139 int32_t actualPlainLen = (int32_t)(cipherTextSize - OVERHEAD_LEN); in MbedAesGcmDecrypt() local 141 cipherText + actualPlainLen + GCM_IV_LEN, TAG_LEN, cipherText + GCM_IV_LEN, plain); in MbedAesGcmDecrypt() 149 return actualPlainLen; in MbedAesGcmDecrypt()
|
Completed in 2 milliseconds