Searched refs:ciphertext (Results 1 – 4 of 4) sorted by relevance
/trusty/user/base/lib/apploader_package/ |
D | cose.cpp | 710 unsigned char* ciphertext = (unsigned char*)encryptedData.data(); in encryptAesGcm() local 711 unsigned char* tag = ciphertext + data.size(); in encryptAesGcm() 771 if (EVP_EncryptUpdate(ctx.get(), ciphertext, &numWritten, data.data(), in encryptAesGcm() 787 if (EVP_EncryptFinal_ex(ctx.get(), ciphertext + numWritten, &numWritten) != in encryptAesGcm() 845 std::optional<std::vector<uint8_t>> ciphertext = in coseEncryptAesGcm() local 847 if (!ciphertext) { in coseEncryptAesGcm() 856 enc.encodeBstr(ciphertext.value()); in coseEncryptAesGcm() 961 unsigned char* ciphertext = encryptedData; in decryptAesGcmInPlace() local 962 unsigned char* tag = ciphertext + ciphertextSize; in decryptAesGcmInPlace() 1021 if (EVP_DecryptUpdate(ctx.get(), plaintext, &numWritten, ciphertext, in decryptAesGcmInPlace()
|
/trusty/user/app/keymint/keys/ |
D | legacy.rs | 184 let mut raw_key_material = op.update(&encrypted_keyblob.ciphertext)?; in convert_key() 187 if raw_key_material.len() != encrypted_keyblob.ciphertext.len() { in convert_key() 192 encrypted_keyblob.ciphertext.len() in convert_key()
|
/trusty/user/base/app/hwaes-unittest/ |
D | hwaes-test.c | 77 struct hwcrypt_arg_in ciphertext; member 232 TV_DATA(name_, ciphertext), \ 257 args->text_in = vector->ciphertext; in parse_vector() 721 rc = memcmp(_state->shm_base, vector->ciphertext.data_ptr, in TEST_F() 722 vector->ciphertext.len); in TEST_F() 726 rc = memcmp((uint8_t*)_state->shm_base + vector->ciphertext.len, in TEST_F()
|
/trusty/user/app/sample/hwcryptohal/server/ |
D | service_encryption_key.rs | 127 let mut pt_data = op.update(&context.ciphertext.unwrap_or_default())?; in decrypt_content_service_encryption_key()
|