Home
last modified time | relevance | path

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

/system/keymaster/tests/
Dkey_blob_test.cpp73 keymaster_error_t Encrypt(AuthEncryptedBlobFormat format) { in Encrypt() function in keymaster::test::KeyBlobTest
128 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
157 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
167 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
182 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
197 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
213 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
227 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
247 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
267 ASSERT_EQ(KM_ERROR_OK, Encrypt(GetParam())); in TEST_P()
[all …]
Decies_kem_test.cpp58 ASSERT_TRUE(kem->Encrypt(peer_public_value, &output_clear_key, &output_encrypted_key)); in TEST()
/system/keymaster/include/keymaster/km_openssl/
Dkem.h40 virtual bool Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key,
42 virtual bool Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len,
Decies_kem.h42 bool Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key,
44 bool Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len,
/system/keymaster/km_openssl/
Decies_kem.cpp75 bool EciesKem::Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key, in Encrypt() function in keymaster::EciesKem
77 return Encrypt(peer_public_value.peek_read(), peer_public_value.available_read(), in Encrypt()
82 bool EciesKem::Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len, in Encrypt() function in keymaster::EciesKem
/system/keymint/boringssl/src/
Daes.rs23 crypto::SymmetricOperation::Encrypt => openssl::symm::Mode::Encrypt, in begin()
82 crypto::SymmetricOperation::Encrypt => openssl::symm::Mode::Encrypt, in begin_aead()
105 crypto::SymmetricOperation::Encrypt => Box::new({ in begin_aead()
Ddes.rs19 crypto::SymmetricOperation::Encrypt => openssl::symm::Mode::Encrypt, in begin()
/system/keymint/common/src/tag/
Dtests.rs66 KeyPurpose::Encrypt, in test_check_begin_params_fail()
/system/keymint/ta/src/
Doperation.rs236 KeyPurpose::Encrypt => crypto::SymmetricOperation::Encrypt, in begin_operation()
294 KeyPurpose::Encrypt => crypto::SymmetricOperation::Encrypt, in begin_operation()
Dtests.rs96 assert!(purpose_values.contains(&KeyPurpose::Encrypt)); in test_secure_key_wrapper()
Dcert.rs195 KeyPurpose::Decrypt | KeyPurpose::Encrypt => { in key_usage_extension_bits()
/system/keymint/common/src/
Dtag.rs457 KeyPurpose::Verify | KeyPurpose::Encrypt => {} // public key operations in check_rsa_params()
938 (Algorithm::Aes, KeyPurpose::Encrypt) in check_begin_params()
940 | (Algorithm::TripleDes, KeyPurpose::Encrypt) in check_begin_params()
972 } else if nonce.is_some() && purpose == KeyPurpose::Encrypt { in check_begin_params()
1051 purpose == KeyPurpose::Encrypt in for_encryption()
Dkeyblob.rs372 crypto::SymmetricOperation::Encrypt, in encrypt()
Dcrypto.rs421 Encrypt, enumerator
/system/keymint/tests/src/
Dlib.rs414 SymmetricOperation::Encrypt, in test_aes_gcm()
494 .begin(des_key.clone().into(), des::Mode::EcbNoPadding, SymmetricOperation::Encrypt) in test_des()
/system/security/keystore/
Dkeystore_cli_v2.cpp946 int Encrypt(const std::string& key_name, const std::string& input_filename, in Encrypt() function
1127 return Encrypt(command_line->GetSwitchValueASCII("name"), in main()
/system/keymint/wire/src/
Dkeymint.rs952 Encrypt = 0, enumerator