Home
last modified time | relevance | path

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

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp440 unsigned char* cipherText = nonce + kAesGcmIvSize; in decryptAes128Gcm() local
441 unsigned char* tag = cipherText + cipherTextSize; in decryptAes128Gcm()
482 if (EVP_DecryptUpdate(ctx.get(), (unsigned char*)plainText.data(), &numWritten, cipherText, in decryptAes128Gcm()
529 unsigned char* cipherText = noncePtr + kAesGcmIvSize; in encryptAes128Gcm() local
530 unsigned char* tag = cipherText + data.size(); in encryptAes128Gcm()
571 if (EVP_EncryptUpdate(ctx.get(), cipherText, &numWritten, (unsigned char*)data.data(), in encryptAes128Gcm()
583 if (EVP_EncryptFinal_ex(ctx.get(), cipherText + numWritten, &numWritten) != 1) { in encryptAes128Gcm()