Lines Matching refs:keyBlob
109 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) { in wrap_key() argument
157 *keyBlob = derData.release(); in wrap_key()
162 static EVP_PKEY* unwrap_key(const uint8_t* keyBlob, const size_t keyBlobLength) { in unwrap_key() argument
165 const uint8_t* p = keyBlob; in unwrap_key()
166 const uint8_t* const end = keyBlob + keyBlobLength; in unwrap_key()
168 if (keyBlob == NULL) { in unwrap_key()
367 uint8_t** keyBlob, size_t* keyBlobLength) { in openssl_generate_keypair() argument
394 if (wrap_key(pkey.get(), EVP_PKEY_type(pkey->type), keyBlob, keyBlobLength)) { in openssl_generate_keypair()
573 const keymaster0_device_t*, const void* params, const uint8_t* keyBlob, in openssl_sign_data() argument
584 Unique_EVP_PKEY pkey(unwrap_key(keyBlob, keyBlobLength)); in openssl_sign_data()
697 const keymaster0_device_t*, const void* params, const uint8_t* keyBlob, in openssl_verify_data() argument
705 Unique_EVP_PKEY pkey(unwrap_key(keyBlob, keyBlobLength)); in openssl_verify_data()