Home
last modified time | relevance | path

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

/system/core/adb/pairing_auth/
Daes_128_gcm.cpp48 std::optional<size_t> Aes128Gcm::Encrypt(const uint8_t* in, size_t in_len, uint8_t* out, in Encrypt() argument
54 in, in_len, nullptr, 0)) { in Encrypt()
55 LOG(ERROR) << "Failed to encrypt (in_len=" << in_len << ", out_len=" << out_len in Encrypt()
56 << ", out_len_needed=" << EncryptedSize(in_len) << ")"; in Encrypt()
64 std::optional<size_t> Aes128Gcm::Decrypt(const uint8_t* in, size_t in_len, uint8_t* out, in Decrypt() argument
70 in, in_len, nullptr, 0)) { in Decrypt()
71 LOG(ERROR) << "Failed to decrypt (in_len=" << in_len << ", out_len=" << out_len in Decrypt()
72 << ", out_len_needed=" << DecryptedSize(in_len) << ")"; in Decrypt()
/system/core/adb/pairing_auth/include/adb/pairing/
Daes_128_gcm.h40 std::optional<size_t> Encrypt(const uint8_t* in, size_t in_len, uint8_t* out, size_t out_len);
48 std::optional<size_t> Decrypt(const uint8_t* in, size_t in_len, uint8_t* out, size_t out_len);
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_engine.h104 const uint8_t* in, size_t in_len, int padding);
106 const uint8_t* in, size_t in_len, int padding);
/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp285 const uint8_t* in, size_t in_len, int padding) { in rsa_sign_raw() argument
296 keymaster_blob_t input = {in, in_len}; in rsa_sign_raw()
310 const uint8_t* in, size_t in_len, int padding) { in rsa_decrypt() argument
321 keymaster_blob_t input = {in, in_len}; in rsa_decrypt()