/system/vold/ |
KeyBuffer.cpp | 17 #include "KeyBuffer.h" 25 KeyBuffer operator+(KeyBuffer&& lhs, const KeyBuffer& rhs) { 30 KeyBuffer operator+(KeyBuffer&& lhs, const char* rhs) {
|
KeyBuffer.h | 53 using KeyBuffer = std::vector<char, ZeroingAllocator>; 56 KeyBuffer operator+(KeyBuffer&& lhs, const KeyBuffer& rhs); 57 KeyBuffer operator+(KeyBuffer&& lhs, const char* rhs);
|
KeyUtil.h | 20 #include "KeyBuffer.h" 29 bool randomKey(KeyBuffer* key); 30 bool installKey(const KeyBuffer& key, std::string* raw_ref); 36 const std::string& tmp_path, KeyBuffer* key);
|
KeyStorage.h | 20 #include "KeyBuffer.h" 54 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key); 61 const KeyAuthentication& auth, const KeyBuffer& key); 64 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key);
|
KeyUtil.cpp | 49 bool randomKey(KeyBuffer* key) { 50 *key = KeyBuffer(EXT4_AES_256_XTS_KEY_SIZE); 78 static bool fillKey(const KeyBuffer& key, ext4_encryption_key* ext4_key) { 119 bool installKey(const KeyBuffer& key, std::string* raw_ref) { 121 KeyBuffer ext4KeyBuffer(sizeof(ext4_encryption_key)); 167 KeyBuffer key; 189 const std::string& tmp_path, KeyBuffer* key) {
|
MetadataCrypt.cpp | 17 #include "KeyBuffer.h" 50 using android::vold::KeyBuffer; 75 static bool read_key(struct fstab_rec const* data_rec, bool create_if_absent, KeyBuffer* key) { 92 static KeyBuffer default_key_params(const std::string& real_blkdev, const KeyBuffer& key) { 93 KeyBuffer hex_key; 96 return KeyBuffer(); 98 auto res = KeyBuffer() + "AES-256-XTS " + hex_key + " " + real_blkdev.c_str() + " 0"; 140 const std::string& target_type, const KeyBuffer& crypt_params, 218 KeyBuffer key [all...] |
KeyStorage.cpp | 237 const KeyBuffer& message, std::string* ciphertext) { 265 const std::string& ciphertext, KeyBuffer* message) { 341 static bool encryptWithoutKeymaster(const std::string& preKey, const KeyBuffer& plaintext, 392 KeyBuffer* plaintext) { 412 *plaintext = KeyBuffer(ciphertext.size() - GCM_NONCE_BYTES - GCM_MAC_BYTES); 447 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key) { 487 const KeyAuthentication& auth, const KeyBuffer& key) { 505 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key) {
|
Utils.h | 20 #include "KeyBuffer.h" 89 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex);
|
Ext4Crypt.cpp | 64 using android::vold::KeyBuffer; 94 std::map<userid_t, KeyBuffer> s_ce_keys; 184 KeyBuffer *ce_key) { 202 KeyBuffer ce_key; 233 KeyBuffer de_key, ce_key; 320 KeyBuffer key; [all...] |
Utils.cpp | 461 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex) {
|
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
RsaVerify.c | 103 UINT8 *KeyBuffer;
138 KeyBuffer = AllocatePool (KeySize);
139 Status = RsaGetKey (Rsa, RsaKeyN, KeyBuffer, &KeySize);
145 if (CompareMem (KeyBuffer, RsaN, KeySize) != 0) {
150 FreePool (KeyBuffer);
168 KeyBuffer = AllocatePool (KeySize);
169 Status = RsaGetKey (Rsa, RsaKeyE, KeyBuffer, &KeySize);
175 if (CompareMem (KeyBuffer, RsaE, KeySize) != 0) {
180 FreePool (KeyBuffer);
231 KeyBuffer = AllocatePool (KeySize); [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
Sa.c | [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
SecureBootConfigImpl.c | 537 UINT8 *KeyBuffer;
542 KeyBuffer = NULL;
575 KeyBuffer = AllocateZeroPool (KeyLenInBytes);
576 if (KeyBuffer == NULL) {
583 KeyBuffer,
586 CopyMem(KeyBlob + sizeof(CPL_KEY_INFO), KeyBuffer, KeyLenInBytes);
674 if (KeyBuffer != NULL) {
675 FreePool (KeyBuffer);
[all...] |
/external/clang/lib/Basic/ |
VirtualFileSystem.cpp | [all...] |