/system/keymaster/include/keymaster/key_blob_utils/ |
integrity_assured_key_blob.h | 24 class AuthorizationSet; 30 const AuthorizationSet& hidden, 31 const AuthorizationSet& hw_enforced, 32 const AuthorizationSet& sw_enforced, 36 const AuthorizationSet& hidden, 38 AuthorizationSet* hw_enforced, 39 AuthorizationSet* sw_enforced); 43 AuthorizationSet* hw_enforced, 44 AuthorizationSet* sw_enforced);
|
ocb_utils.h | 28 class AuthorizationSet; 35 keymaster_error_t OcbEncryptKey(const AuthorizationSet& hw_enforced, 36 const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, 41 keymaster_error_t OcbDecryptKey(const AuthorizationSet& hw_enforced, 42 const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden,
|
software_keyblobs.h | 29 class AuthorizationSet; 34 keymaster_error_t BuildHiddenAuthorizations(const AuthorizationSet& input_set, 35 AuthorizationSet* hidden, 39 AuthorizationSet* hw_enforced, 40 AuthorizationSet* sw_enforced); 44 AuthorizationSet* hw_enforced, 45 AuthorizationSet* sw_enforced); 48 const AuthorizationSet& hidden, 50 AuthorizationSet* hw_enforced, 51 AuthorizationSet* sw_enforced) [all...] |
auth_encrypted_key_blob.h | 24 class AuthorizationSet; 30 const AuthorizationSet& hw_enforced, 31 const AuthorizationSet& sw_enforced, 37 AuthorizationSet* hw_enforced, 38 AuthorizationSet* sw_enforced, Buffer* nonce,
|
/system/keymaster/include/keymaster/ |
key_factory.h | 40 virtual keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 41 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 42 AuthorizationSet* sw_enforced) const = 0; 44 virtual keymaster_error_t ImportKey(const AuthorizationSet& key_description, 48 AuthorizationSet* hw_enforced, 49 AuthorizationSet* sw_enforced) const = 0; 52 const AuthorizationSet& additional_params, 53 AuthorizationSet&& hw_enforced, 54 AuthorizationSet&& sw_enforced,
|
soft_key_factory.h | 37 virtual keymaster_error_t CreateKeyBlob(const AuthorizationSet& key_description, 40 KeymasterKeyBlob* blob, AuthorizationSet* hw_enforced, 41 AuthorizationSet* sw_enforced) const = 0;
|
asymmetric_key_factory.h | 31 const AuthorizationSet& additional_params, 32 AuthorizationSet&& hw_enforced, 33 AuthorizationSet&& sw_enforced, 36 virtual keymaster_error_t CreateEmptyKey(AuthorizationSet&& hw_enforced, 37 AuthorizationSet&& sw_enforced,
|
key.h | 45 const AuthorizationSet& hw_enforced() const { return hw_enforced_; } 46 const AuthorizationSet& sw_enforced() const { return sw_enforced_; } 47 AuthorizationSet& hw_enforced() { return hw_enforced_; } 48 AuthorizationSet& sw_enforced() { return sw_enforced_; } 56 AuthorizationSet&& hw_enforced_move() { return move(hw_enforced_); } 57 AuthorizationSet&& sw_enforced_move() { return move(sw_enforced_); } 64 Key(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, 70 AuthorizationSet hw_enforced_; 71 AuthorizationSet sw_enforced_ [all...] |
operation.h | 31 class AuthorizationSet; 55 virtual OperationPtr CreateOperation(Key&& key, const AuthorizationSet& begin_params, 80 bool GetAndValidatePadding(const AuthorizationSet& begin_params, const Key& key, 82 bool GetAndValidateDigest(const AuthorizationSet& begin_params, const Key& key, 91 explicit Operation(keymaster_purpose_t purpose, AuthorizationSet&& hw_enforced, 92 AuthorizationSet&& sw_enforced) 107 virtual keymaster_error_t Begin(const AuthorizationSet& input_params, 108 AuthorizationSet* output_params) = 0; 109 virtual keymaster_error_t Update(const AuthorizationSet& input_params, const Buffer& input, 110 AuthorizationSet* output_params, Buffer* output [all...] |
/system/keymaster/include/keymaster/km_openssl/ |
ec_key_factory.h | 37 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 38 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 39 AuthorizationSet* sw_enforced) const override; 40 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 43 KeymasterKeyBlob* output_key_blob, AuthorizationSet* hw_enforced, 44 AuthorizationSet* sw_enforced) const override; 46 keymaster_error_t CreateEmptyKey(AuthorizationSet&& hw_enforced, 47 AuthorizationSet&& sw_enforced, 50 keymaster_error_t UpdateImportKeyDescription(const AuthorizationSet& key_description, 53 AuthorizationSet* updated_description [all...] |
rsa_key_factory.h | 34 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 35 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 36 AuthorizationSet* sw_enforced) const override; 37 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 40 KeymasterKeyBlob* output_key_blob, AuthorizationSet* hw_enforced, 41 AuthorizationSet* sw_enforced) const override; 43 keymaster_error_t CreateEmptyKey(AuthorizationSet&& hw_enforced, 44 AuthorizationSet&& sw_enforced, 53 keymaster_error_t UpdateImportKeyDescription(const AuthorizationSet& key_description, 56 AuthorizationSet* updated_description [all...] |
ecdsa_operation.h | 32 EcdsaOperation(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, 55 EcdsaSignOperation(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, 58 keymaster_error_t Begin(const AuthorizationSet& input_params, 59 AuthorizationSet* output_params) override; 60 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 61 AuthorizationSet* output_params, Buffer* output, 63 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& input, 64 const Buffer& signature, AuthorizationSet* output_params [all...] |
aes_key.h | 38 const AuthorizationSet& additional_params, 39 AuthorizationSet&& hw_enforced, 40 AuthorizationSet&& sw_enforced, 50 const AuthorizationSet& key_description) const override; 55 AesKey(KeymasterKeyBlob&& key_material, AuthorizationSet&& hw_enforced, 56 AuthorizationSet&& sw_enforced,
|
hmac_key.h | 35 const AuthorizationSet& additional_params, 36 AuthorizationSet&& hw_enforced, 37 AuthorizationSet&& sw_enforced, 48 const AuthorizationSet& key_description) const override; 53 HmacKey(KeymasterKeyBlob&& key_material, AuthorizationSet&& hw_enforced, 54 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory)
|
triple_des_key.h | 35 const AuthorizationSet& additional_params, 36 AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, 49 const AuthorizationSet& key_description) const override; 54 TripleDesKey(KeymasterKeyBlob&& key_material, AuthorizationSet&& hw_enforced, 55 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory)
|
symmetric_key.h | 37 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 38 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 39 AuthorizationSet* sw_enforced) const override; 40 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 43 KeymasterKeyBlob* output_key_blob, AuthorizationSet* hw_enforced, 44 AuthorizationSet* sw_enforced) const override; 60 validate_algorithm_specific_new_key_params(const AuthorizationSet& key_description) const = 0; 79 SymmetricKey(KeymasterKeyBlob&& key_material, AuthorizationSet&& hw_enforced, 80 AuthorizationSet&& sw_enforced,
|
rsa_operation.h | 36 RsaOperation(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, 43 keymaster_error_t Begin(const AuthorizationSet& input_params, 44 AuthorizationSet* output_params) override; 45 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 46 AuthorizationSet* output_params, Buffer* output, 76 RsaDigestingOperation(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, 92 RsaSignOperation(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced [all...] |
/system/keymaster/include/keymaster/legacy_support/ |
ec_keymaster0_key.h | 40 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 41 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 42 AuthorizationSet* sw_enforced) const override; 44 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 47 KeymasterKeyBlob* output_key_blob, AuthorizationSet* hw_enforced, 48 AuthorizationSet* sw_enforced) const override; 51 const AuthorizationSet& additional_params, 52 AuthorizationSet&& hw_enforced, 53 AuthorizationSet&& sw_enforced, 62 EcKeymaster0Key(EC_KEY* ec_key, AuthorizationSet&& hw_enforced [all...] |
ec_keymaster1_key.h | 44 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 45 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 46 AuthorizationSet* sw_enforced) const override; 48 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 51 KeymasterKeyBlob* output_key_blob, AuthorizationSet* hw_enforced, 52 AuthorizationSet* sw_enforced) const override; 55 const AuthorizationSet& additional_params, 56 AuthorizationSet&& hw_enforced, 57 AuthorizationSet&& sw_enforced, 71 EcdsaKeymaster1Key(EC_KEY* ecdsa_key, AuthorizationSet&& hw_enforced [all...] |
rsa_keymaster0_key.h | 40 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 41 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 42 AuthorizationSet* sw_enforced) const override; 44 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 47 KeymasterKeyBlob* output_key_blob, AuthorizationSet* hw_enforced, 48 AuthorizationSet* sw_enforced) const override; 51 const AuthorizationSet& additional_params, 52 AuthorizationSet&& hw_enforced, 53 AuthorizationSet&& sw_enforced, 62 RsaKeymaster0Key(RSA* rsa_key, AuthorizationSet&& hw_enforced [all...] |
rsa_keymaster1_key.h | 45 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 46 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 47 AuthorizationSet* sw_enforced) const override; 49 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 52 KeymasterKeyBlob* output_key_blob, AuthorizationSet* hw_enforced, 53 AuthorizationSet* sw_enforced) const override; 56 const AuthorizationSet& additional_params, 57 AuthorizationSet&& hw_enforced, 58 AuthorizationSet&& sw_enforced, 74 RsaKeymaster1Key(RSA* rsa_key, AuthorizationSet&& hw_enforced [all...] |
keymaster_passthrough_key.h | 43 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, 44 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, 45 AuthorizationSet* sw_enforced) const override { 49 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 52 KeymasterKeyBlob* output_key_blob, AuthorizationSet* hw_enforced, 53 AuthorizationSet* sw_enforced) const override { 59 const AuthorizationSet& additional_params, 60 AuthorizationSet&& hw_enforced, 61 AuthorizationSet&& sw_enforced, 78 KeymasterPassthroughKey(KeymasterKeyBlob&& key_material, AuthorizationSet&& hw_enforced [all...] |
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
attestation_record.h | 27 class AuthorizationSet; 51 AuthorizationSet* software_enforced, 52 AuthorizationSet* tee_enforced, //
|
/system/security/keystore/include/keystore/ |
keystore_client.h | 34 // - encourage the use of keystore::AuthorizationSet[Builder] 80 const keystore::AuthorizationSet& input_parameters, 83 keystore::AuthorizationSet* output_parameters, 97 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters, 98 int32_t flags, keystore::AuthorizationSet* hardware_enforced_characteristics, 99 keystore::AuthorizationSet* software_enforced_characteristics) = 0; 106 keystore::AuthorizationSet* hardware_enforced_characteristics, 107 keystore::AuthorizationSet* software_enforced_characteristics) = 0; 115 importKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters, 117 keystore::AuthorizationSet* hardware_enforced_characteristics [all...] |
keystore_client_mock.h | 40 const keymaster::AuthorizationSet& input_parameters, 42 keymaster::AuthorizationSet* output_parameters, std::string* output_data)); 46 const keymaster::AuthorizationSet& key_parameters, 47 keymaster::AuthorizationSet* hardware_enforced_characteristics, 48 keymaster::AuthorizationSet* software_enforced_characteristics)); 51 keymaster::AuthorizationSet* hardware_enforced_characteristics, 52 keymaster::AuthorizationSet* software_enforced_characteristics)); 55 const keymaster::AuthorizationSet& key_parameters, 57 keymaster::AuthorizationSet* hardware_enforced_characteristics, 58 keymaster::AuthorizationSet* software_enforced_characteristics)) [all...] |