HomeSort by relevance Sort by last modified time
    Searched refs:KeyBlob (Results 1 - 11 of 11) sorted by null

  /system/keymaster/include/keymaster/
key_blob.h 38 class KeyBlob : public Serializable {
44 * Create a KeyBlob containing the specified authorization data and key material. The copy of
51 * to contain a full Keymaster blob, i.e. what KeyBlob is designed to create and manage. In
55 * IMPORTANT: After constructing a KeyBlob, call error() to verify that the blob is usable.
57 KeyBlob(const AuthorizationSet& enforced, const AuthorizationSet& unenforced,
62 * Create a KeyBlob, reconstituting it from the encrypted material in \p encrypted_key,
63 * decrypted with key derived from \p master_key. The KeyBlob takes ownership of the \p
69 * IMPORTANT: After constructing a KeyBlob, call error() to verify that the blob is usable.
71 KeyBlob(const keymaster_key_blob_t& keymaster_blob, const AuthorizationSet& hidden,
75 * Create a KeyBlob, extracting the enforced and unenforced sets, but not decrypting the key, o
    [all...]
google_keymaster.h 27 class KeyBlob;
94 KeyBlob* LoadKeyBlob(const keymaster_key_blob_t& key, const AuthorizationSet& client_params,
112 KeyBlob* blob);
113 keymaster_error_t UnwrapKey(const KeyBlob* blob, uint8_t* key, size_t key_length);
  /system/keymaster/
key_blob.cpp 29 class KeyBlob::AeCtx {
43 const size_t KeyBlob::NONCE_LENGTH;
44 const size_t KeyBlob::TAG_LENGTH;
46 KeyBlob::KeyBlob(const AuthorizationSet& enforced, const AuthorizationSet& unenforced,
88 KeyBlob::KeyBlob(const keymaster_key_blob_t& key, const AuthorizationSet& hidden,
103 KeyBlob::KeyBlob(const uint8_t* key_blob, size_t blob_size)
115 size_t KeyBlob::SerializedSize() const
    [all...]
key.h 26 class KeyBlob;
31 static Key* CreateKey(const KeyBlob& blob, const Logger& logger, keymaster_error_t* error);
56 Key(const KeyBlob& blob, const Logger& logger);
key_blob_test.cpp 44 const uint8_t nonce[KeyBlob::NONCE_LENGTH]{12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
70 blob_.reset(new KeyBlob(enforced_, unenforced_, hidden_, key_, master_key_, nonce));
77 UniquePtr<KeyBlob> blob_;
95 KeyBlob deserialized(encrypted_blob, hidden_, master_key_);
106 serialized_blob[KeyBlob::NONCE_LENGTH]++;
110 KeyBlob deserialized(encrypted_blob, hidden_, master_key_);
129 KeyBlob deserialized(encrypted_blob, hidden_, master_key_);
142 auto tag_ptr = std::search(begin, end, blob_->tag(), blob_->tag() + KeyBlob::TAG_LENGTH);
144 EXPECT_EQ(end, std::search(tag_ptr + 1, end, blob_->tag(), blob_->tag() + KeyBlob::TAG_LENGTH));
149 KeyBlob deserialized(encrypted_blob, hidden_, master_key_)
    [all...]
asymmetric_key.h 32 AsymmetricKey(const KeyBlob& blob, const Logger& logger) : Key(blob, logger) {}
33 keymaster_error_t LoadKey(const KeyBlob& blob);
66 RsaKey(const KeyBlob& blob, const Logger& logger, keymaster_error_t* error);
92 DsaKey(const KeyBlob& blob, const Logger& logger, keymaster_error_t* error);
120 EcdsaKey(const KeyBlob& blob, const Logger& logger, keymaster_error_t* error);
google_keymaster.cpp 180 UniquePtr<KeyBlob> blob(
320 uint8_t nonce[KeyBlob::NONCE_LENGTH];
324 UniquePtr<KeyBlob> blob(
325 new KeyBlob(*enforced, *unenforced, hidden_auths, key_data, MasterKey(), nonce));
345 UniquePtr<KeyBlob> blob(LoadKeyBlob(key, client_params, error));
351 KeyBlob* GoogleKeymaster::LoadKeyBlob(const keymaster_key_blob_t& key,
356 UniquePtr<KeyBlob> blob(new KeyBlob(key, hidden, MasterKey()));
key.cpp 32 Key::Key(const KeyBlob& blob, const Logger& logger) : logger_(logger) {
38 Key* Key::CreateKey(const KeyBlob& blob, const Logger& logger, keymaster_error_t* error) {
asymmetric_key.cpp 38 keymaster_error_t AsymmetricKey::LoadKey(const KeyBlob& blob) {
221 RsaKey::RsaKey(const KeyBlob& blob, const Logger& logger, keymaster_error_t* error)
425 DsaKey::DsaKey(const KeyBlob& blob, const Logger& logger, keymaster_error_t* error)
593 EcdsaKey::EcdsaKey(const KeyBlob& blob, const Logger& logger, keymaster_error_t* error)
  /external/chromium_org/crypto/
hmac_win.cc 137 struct KeyBlob {
142 size_t key_blob_size = std::max(offsetof(KeyBlob, key_data) + key_length,
143 sizeof(KeyBlob));
145 KeyBlob* key_blob = reinterpret_cast<KeyBlob*>(&key_blob_storage[0]);
  /external/chromium_org/net/http/
des.cc 181 struct KeyBlob {
186 KeyBlob key_blob;

Completed in 100 milliseconds