Home | History | Annotate | Download | only in keymaster

Lines Matching full:const

42     Keymaster0Engine(const keymaster0_device_t* keymaster0_device);
45 bool supports_ec() const { return supports_ec_; }
48 KeymasterKeyBlob* key_material) const;
49 bool GenerateEcKey(uint32_t key_size, KeymasterKeyBlob* key_material) const;
51 bool ImportKey(keymaster_key_format_t key_format, const KeymasterKeyBlob& to_import,
52 KeymasterKeyBlob* imported_key_material) const;
53 bool DeleteKey(const KeymasterKeyBlob& blob) const;
54 bool DeleteAllKeys() const;
56 RSA* BlobToRsaKey(const KeymasterKeyBlob& blob) const;
57 EC_KEY* BlobToEcKey(const KeymasterKeyBlob& blob) const;
59 const keymaster_key_blob_t* RsaKeyToBlob(const RSA* rsa) const;
60 const keymaster_key_blob_t* EcKeyToBlob(const EC_KEY* rsa) const;
62 const keymaster0_device_t* device() { return keymaster0_device_; }
64 EVP_PKEY* GetKeymaster0PublicKey(const KeymasterKeyBlob& blob) const;
67 Keymaster0Engine(const Keymaster0Engine&); // Uncopyable
68 void operator=(const Keymaster0Engine&); // Unassignable
70 static int keyblob_dup(CRYPTO_EX_DATA* to, const CRYPTO_EX_DATA* from, void** from_d, int index,
74 static int rsa_private_transform(RSA* rsa, uint8_t* out, const uint8_t* in, size_t len);
75 static int ecdsa_sign(const uint8_t* digest, size_t digest_len, uint8_t* sig,
82 bool Keymaster0Sign(const void* signing_params, const keymaster_key_blob_t& key_blob,
83 const uint8_t* data, const size_t data_length,
85 size_t* signature_length) const;
87 int RsaPrivateTransform(RSA* rsa, uint8_t* out, const uint8_t* in, size_t len) const;
88 int EcdsaSign(const uint8_t* digest, size_t digest_len, uint8_t* sig, unsigned int* sig_len,
89 EC_KEY* ec_key) const;
91 const keymaster0_device_t* keymaster0_device_;
92 ENGINE* const engine_;