Searched refs:Eraser (Results 1 – 2 of 2) sorted by relevance
132 class Eraser {135 template <typename T> explicit Eraser(T* t);138 explicit Eraser(T& t) in Eraser() function141 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser() function143 Eraser(void* buf, size_t size) : buf_(static_cast<uint8_t*>(buf)), size_(size) {} in Eraser() function144 ~Eraser() { memset_s(buf_, 0, size_); } in ~Eraser()147 Eraser(const Eraser&);148 void operator=(const Eraser&);
202 Eraser hash_eraser(hash_buf.get(), SHA256_DIGEST_LENGTH); in InitializeKeyWrappingContext()204 Eraser derived_key_eraser(derived_key.get(), AES_BLOCK_SIZE); in InitializeKeyWrappingContext()211 Eraser sha256_ctx_eraser(sha256_ctx); in InitializeKeyWrappingContext()220 Eraser aes_key_eraser(AES_KEY); in InitializeKeyWrappingContext()