Home
last modified time | relevance | path

Searched refs:key_serial_t (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/
H A Dkey_control_mock.h31 virtual long KeyCtrlSearch(key_serial_t, const char *, const char *, key_serial_t) = 0;
32 virtual key_serial_t KeyCtrlAddKey(const char *, const char *, const key_serial_t) = 0;
34 struct fscrypt_key *, const key_serial_t) = 0;
36 struct EncryptionKeySdp *, const key_serial_t) = 0;
37 virtual long KeyCtrlUnlink(key_serial_t key, key_serial_t keyring) = 0;
38 virtual key_serial_t KeyCtrlAddAppAsdpKey(const char *type,
49 MOCK_METHOD4(KeyCtrlSearch, long(key_serial_t, const char *, const char *, key_serial_t));
50 MOCK_METHOD3(KeyCtrlAddKey, key_serial_t(const char *, const char *, const key_serial_t));
52 struct fscrypt_key *, const key_serial_t));
54 struct EncryptionKeySdp *, const key_serial_t));
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/libfscrypt/
H A Dkey_control.h85 typedef int key_serial_t; typedef
90 key_serial_t KeyCtrlGetKeyringId(key_serial_t id, int create);
91 key_serial_t KeyCtrlAddKey(const char *type, const char *description,
92 const key_serial_t ringId);
93 key_serial_t KeyCtrlAddKeyEx(const char *type, const char *description,
94 struct fscrypt_key *fsKey, const key_serial_t ringId);
95 key_serial_t KeyCtrlAddKeySdp(const char *type, const char *description,
97 key_serial_t KeyCtrlAddAppAsdpKey(const char *type,
100 const key_serial_t ringId);
102 key_serial_t destRingId);
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/
H A Dkey_control_mock.cpp31 long KeyCtrlSearch(key_serial_t ringId, const char *type, const char *description, in KeyCtrlSearch()
32 key_serial_t destRingId) in KeyCtrlSearch()
41 key_serial_t KeyCtrlAddKey(const char *type, const char *description, in KeyCtrlAddKey()
42 const key_serial_t ringId) in KeyCtrlAddKey()
51 key_serial_t KeyCtrlAddKeyEx(const char *type, const char *description, in KeyCtrlAddKeyEx()
52 struct fscrypt_key *fsKey, const key_serial_t ringId) in KeyCtrlAddKeyEx()
61 key_serial_t KeyCtrlAddKeySdp(const char *type, const char *description, in KeyCtrlAddKeySdp()
62 struct EncryptionKeySdp *fsKey, const key_serial_t ringId) in KeyCtrlAddKeySdp()
71 long KeyCtrlUnlink(key_serial_t key, key_serial_t keyring) in KeyCtrlUnlink()
80 key_serial_t KeyCtrlAddAppAsdpKey(const char *type, in KeyCtrlAddAppAsdpKey()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dkey_control.c34 key_serial_t KeyCtrlGetKeyringId(key_serial_t id, int create) in KeyCtrlGetKeyringId()
39 key_serial_t KeyCtrlAddKey(const char *type, const char *description, in KeyCtrlAddKey()
40 const key_serial_t ringId) in KeyCtrlAddKey()
45 key_serial_t KeyCtrlAddKeyEx(const char *type, const char *description, in KeyCtrlAddKeyEx()
46 struct fscrypt_key *fsKey, const key_serial_t ringId) in KeyCtrlAddKeyEx()
53 key_serial_t KeyCtrlAddKeySdp(const char *type, const char *description, in KeyCtrlAddKeySdp()
61 key_serial_t KeyCtrlAddAppAsdpKey(const char *type, in KeyCtrlAddAppAsdpKey()
64 const key_serial_t ringId) in KeyCtrlAddAppAsdpKey()
71 long KeyCtrlSearch(key_serial_t ringId, const char *type, const char *description, in KeyCtrlSearch()
72 key_serial_t destRingId) in KeyCtrlSearch()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1.cpp111 key_serial_t krid = KeyCtrlSearch(KEY_SPEC_SESSION_KEYRING, "keyring", "fscrypt", 0); in InstallKeyForAppKeyToKeyring()
122 key_serial_t ks = in InstallKeyForAppKeyToKeyring()
151 key_serial_t krid = KeyCtrlSearch(KEY_SPEC_SESSION_KEYRING, "keyring", "fscrypt", 0); in UninstallKeyForAppKeyToKeyring()
158 key_serial_t ks = KeyCtrlSearch(krid, "logon", keyref.c_str(), 0); in UninstallKeyForAppKeyToKeyring()
352 key_serial_t krid = KeyCtrlSearch(KEY_SPEC_SESSION_KEYRING, "keyring", "fscrypt", 0); in InstallKeyToKeyring()
363 key_serial_t ks = in InstallKeyToKeyring()
394 key_serial_t krid = KeyCtrlSearch(KEY_SPEC_SESSION_KEYRING, "keyring", "fscrypt", 0); in InstallEceSeceKeyToKeyring()
405 key_serial_t ks = in InstallEceSeceKeyToKeyring()
491 key_serial_t krid = KeyCtrlSearch(KEY_SPEC_SESSION_KEYRING, "keyring", "fscrypt", 0); in UninstallKeyToKeyring()
498 key_serial_t ks = KeyCtrlSearch(krid, "logon", keyref.c_str(), 0); in UninstallKeyToKeyring()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_blob.h46 using key_serial_t = int; variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dcrypto_key_test.cpp1398 key_serial_t id = 1;