Home
last modified time | relevance | path

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

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp374 unsigned char* cipherText = nonce + kAesGcmIvSize; in decryptAes128Gcm() local
375 unsigned char* tag = cipherText + cipherTextSize; in decryptAes128Gcm()
416 if (EVP_DecryptUpdate(ctx.get(), (unsigned char*)plainText.data(), &numWritten, cipherText, in decryptAes128Gcm()
463 unsigned char* cipherText = noncePtr + kAesGcmIvSize; in encryptAes128Gcm() local
464 unsigned char* tag = cipherText + data.size(); in encryptAes128Gcm()
505 if (EVP_EncryptUpdate(ctx.get(), cipherText, &numWritten, (unsigned char*)data.data(), in encryptAes128Gcm()
517 if (EVP_EncryptFinal_ex(ctx.get(), cipherText + numWritten, &numWritten) != 1) { in encryptAes128Gcm()