Searched refs:KeyData (Results 1 – 6 of 6) sorted by relevance
62 key.KeyData.Data = const_cast<uint8*>(&input.front()); in CreateFromPrivateKeyInfo()63 key.KeyData.Length = input.size(); in CreateFromPrivateKeyInfo()109 private_key_data.assign(key.KeyData.Data, in CreateFromPrivateKeyInfo()110 key.KeyData.Data + key.KeyData.Length); in CreateFromPrivateKeyInfo()121 public_key->KeyData.Data = reinterpret_cast<uint8*>(CSSMMalloc(size)); in CreateFromPrivateKeyInfo()122 if (!public_key->KeyData.Data) { in CreateFromPrivateKeyInfo()126 memcpy(public_key->KeyData.Data, &public_key_data.front(), size); in CreateFromPrivateKeyInfo()127 public_key->KeyData.Length = size; in CreateFromPrivateKeyInfo()169 if (key_.KeyData.Data) { in ~RSAPrivateKey()172 if (public_key_.KeyData.Data) { in ~RSAPrivateKey()[all …]
35 public_key_.KeyData.Data = const_cast<uint8*>(&public_key_info_[0]); in VerifyInit()36 public_key_.KeyData.Length = public_key_info_.size(); in VerifyInit()
127 DCHECK_EQ(cssm_key.KeyData.Length, key_size_in_bits / 8); in DeriveKeyFromPassword()128 derived_key = new SymmetricKey(cssm_key.KeyData.Data, key_size_in_bits); in DeriveKeyFromPassword()
63 class RegistryKeyBackup::KeyData { class in RegistryKeyBackup65 KeyData();66 ~KeyData();84 std::map<std::wstring, KeyData> subkeys_;106 RegistryKeyBackup::KeyData::KeyData() { in KeyData() function in RegistryKeyBackup::KeyData109 RegistryKeyBackup::KeyData::~KeyData() { in ~KeyData()112 bool RegistryKeyBackup::KeyData::Initialize(const RegKey& key) { in Initialize()114 std::map<std::wstring, KeyData> subkeys; in Initialize()188 subkeys.insert(std::make_pair(&name_buffer[0], KeyData())); in Initialize()207 for (std::map<std::wstring, KeyData>::iterator it = subkeys.begin(); in Initialize()[all …]
41 class KeyData;44 scoped_ptr<KeyData> key_data_;
209 static StringMapEntry &GetStringMapEntryFromKeyData(const char *KeyData) { in GetStringMapEntryFromKeyData() argument210 char *Ptr = const_cast<char*>(KeyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()