Home
last modified time | relevance | path

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

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp375 unsigned char* cipherText = nonce + kAesGcmIvSize; in decryptAes128Gcm() local
376 unsigned char* tag = cipherText + cipherTextSize; in decryptAes128Gcm()
417 if (EVP_DecryptUpdate(ctx.get(), (unsigned char*)plainText.data(), &numWritten, cipherText, in decryptAes128Gcm()
464 unsigned char* cipherText = noncePtr + kAesGcmIvSize; in encryptAes128Gcm() local
465 unsigned char* tag = cipherText + data.size(); in encryptAes128Gcm()
506 if (EVP_EncryptUpdate(ctx.get(), cipherText, &numWritten, (unsigned char*)data.data(), in encryptAes128Gcm()
518 if (EVP_EncryptFinal_ex(ctx.get(), cipherText + numWritten, &numWritten) != 1) { in encryptAes128Gcm()