Searched defs:key_blob_length (Results 1 - 3 of 3) sorted by relevance

/system/security/keystore/
H A Dkeyblob_utils.cpp49 uint8_t* add_softkey_header(uint8_t* key_blob, size_t key_blob_length) { argument
50 if (key_blob_length < sizeof(SOFT_KEY_MAGIC)) {
59 bool is_softkey(const uint8_t* key_blob, const size_t key_blob_length) { argument
60 if (key_blob_length < sizeof(SOFT_KEY_MAGIC)) {
/system/keymaster/
H A Dandroid_keymaster_test_utils.h376 uint8_t** key_blob, size_t* key_blob_length) {
379 key_blob_length);
381 munge_blob(*key_blob, *key_blob_length);
387 size_t* key_blob_length) {
390 device(dev)->import_keypair(device(dev), key, key_length, key_blob, key_blob_length);
392 munge_blob(*key_blob, *key_blob_length);
397 const uint8_t* key_blob, const size_t key_blob_length,
400 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length));
401 return device(dev)->get_keypair_public(device(dev), dup_blob.get(), key_blob_length,
406 const size_t key_blob_length) {
374 counting_generate_keypair(const struct keymaster0_device* dev, const keymaster_keypair_t key_type, const void* key_params, uint8_t** key_blob, size_t* key_blob_length) argument
385 counting_import_keypair(const struct keymaster0_device* dev, const uint8_t* key, const size_t key_length, uint8_t** key_blob, size_t* key_blob_length) argument
396 counting_get_keypair_public(const struct keymaster0_device* dev, const uint8_t* key_blob, const size_t key_blob_length, uint8_t** x509_data, size_t* x509_data_length) argument
405 counting_delete_keypair(const struct keymaster0_device* dev, const uint8_t* key_blob, const size_t key_blob_length) argument
422 counting_sign_data(const struct keymaster0_device* dev, const void* signing_params, const uint8_t* key_blob, const size_t key_blob_length, const uint8_t* data, const size_t data_length, uint8_t** signed_data, size_t* signed_data_length) argument
432 counting_verify_data(const struct keymaster0_device* dev, const void* signing_params, const uint8_t* key_blob, const size_t key_blob_length, const uint8_t* signed_data, const size_t signed_data_length, const uint8_t* signature, const size_t signature_length) argument
[all...]
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp405 size_t* key_blob_length) {
409 } else if (key_blob == NULL || key_blob_length == NULL) {
427 if (wrap_key(pkey.get(), EVP_PKEY_type(pkey->type), key_blob, key_blob_length)) {
436 const size_t key_blob_length,
444 Unique_EVP_PKEY pkey(unwrap_key(key_blob, key_blob_length));
401 openssl_import_keypair(const keymaster0_device_t*, const uint8_t* key, const size_t key_length, uint8_t** key_blob, size_t* key_blob_length) argument
434 openssl_get_keypair_public(const keymaster0_device_t*, const uint8_t* key_blob, const size_t key_blob_length, uint8_t** x509_data, size_t* x509_data_length) argument

Completed in 1428 milliseconds