Lines Matching refs:UniquePtr
43 typedef UniquePtr<BIGNUM, BIGNUM_Delete> Unique_BIGNUM;
48 typedef UniquePtr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY;
53 typedef UniquePtr<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_Delete> Unique_PKCS8_PRIV_KEY_INFO;
58 typedef UniquePtr<DSA, DSA_Delete> Unique_DSA;
63 typedef UniquePtr<EC_KEY, EC_KEY_Delete> Unique_EC_KEY;
68 typedef UniquePtr<EC_GROUP, EC_GROUP_Delete> Unique_EC_GROUP;
73 typedef UniquePtr<RSA, RSA_Delete> Unique_RSA;
79 typedef UniquePtr<keymaster0_device_t> Unique_keymaster_device_t;
88 inline void release_because_ownership_transferred(UniquePtr<T, Delete_T>& p) { in release_because_ownership_transferred()
127 UniquePtr<unsigned char, Malloc_Free> derData( in wrap_key()
449 UniquePtr<uint8_t, Malloc_Free> key(static_cast<uint8_t*>(malloc(len))); in openssl_get_keypair_public()
482 UniquePtr<uint8_t, Malloc_Free> signedDataPtr(reinterpret_cast<uint8_t*>(malloc(dsaSize))); in sign_dsa()
514 UniquePtr<uint8_t, Malloc_Free> signedDataPtr(reinterpret_cast<uint8_t*>(malloc(ecdsaSize))); in sign_ec()
548 UniquePtr<uint8_t, Malloc_Free> signedDataPtr(reinterpret_cast<uint8_t*>(malloc(dataLength))); in sign_rsa()
670 UniquePtr<uint8_t[]> dataPtr(new uint8_t[signedDataLength]); in verify_rsa()