Lines Matching defs:m_key
63 memset(m_key, 0, sizeof(m_key));
69 memcpy(m_key, &key, sizeof(m_key));
75 memcpy(m_key, key, sizeof(m_key));
87 memcpy(m_key, other.m_key, sizeof(m_key));
95 memset(m_key, 0, sizeof(m_key));
102 rng.generateBlock(m_key, sizeof(m_key));
108 _readFromStream(stream, S/8, reinterpret_cast<uint8_t*>(&m_key));
114 _writeToStream(stream, S/8, reinterpret_cast<uint8_t*>(&m_key));
119 inline const key_t & getKey() const { return m_key; }
120 inline void getKey(key_t * key) const { memcpy(key, m_key, sizeof(m_key)); }
122 inline void setKey(const key_t & key) { memcpy(m_key, &key, sizeof(m_key)); }
123 inline void setKey(const key_t * key) { memcpy(m_key, key, sizeof(m_key)); }
124 inline void setKey(const AESKey<S> & key) { memcpy(m_key, key.m_key, sizeof(m_key)); }
133 operator const key_t & () const { return m_key; }
134 operator const key_t * () const { return m_key; }
138 key_t m_key; //!< The key value.