Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeyblob_utils.cpp49 uint8_t* add_softkey_header(uint8_t* key_blob, size_t key_blob_length) { in add_softkey_header() argument
50 if (key_blob_length < sizeof(SOFT_KEY_MAGIC)) { in add_softkey_header()
59 bool is_softkey(const uint8_t* key_blob, const size_t key_blob_length) { in is_softkey() argument
60 if (key_blob_length < sizeof(SOFT_KEY_MAGIC)) { in is_softkey()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.h410 uint8_t** key_blob, size_t* key_blob_length) { in counting_generate_keypair()
413 key_blob_length); in counting_generate_keypair()
415 munge_blob(*key_blob, *key_blob_length); in counting_generate_keypair()
421 size_t* key_blob_length) { in counting_import_keypair()
424 device(dev)->import_keypair(device(dev), key, key_length, key_blob, key_blob_length); in counting_import_keypair()
426 munge_blob(*key_blob, *key_blob_length); in counting_import_keypair()
431 const uint8_t* key_blob, const size_t key_blob_length, in counting_get_keypair_public()
434 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length)); in counting_get_keypair_public()
435 return device(dev)->get_keypair_public(device(dev), dup_blob.get(), key_blob_length, in counting_get_keypair_public()
440 const size_t key_blob_length) { in counting_delete_keypair()
[all …]