HomeSort by relevance Sort by last modified time
    Searched refs:Eraser (Results 1 - 3 of 3) sorted by null

  /system/keymaster/include/keymaster/
android_keymaster_utils.h 138 * Eraser clears buffers. Construct it with a buffer or object and the destructor will ensure that
141 class Eraser {
144 template <typename T> explicit Eraser(T* t);
147 explicit Eraser(T& t) : buf_(reinterpret_cast<uint8_t*>(&t)), size_(sizeof(t)) {}
149 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {}
151 Eraser(void* buf, size_t size) : buf_(static_cast<uint8_t*>(buf)), size_(size) {}
152 ~Eraser() { memset_s(buf_, 0, size_); }
155 Eraser(const Eraser&);
156 void operator=(const Eraser&)
    [all...]
  /system/keymaster/
ocb_utils.cpp 84 Eraser hash_eraser(hash_buf.get(), SHA256_DIGEST_LENGTH);
88 Eraser derived_key_eraser(derived_key.get(), AES_BLOCK_SIZE);
94 Eraser sha256_ctx_eraser(sha256_ctx);
101 Eraser aes_key_eraser(AES_KEY);
keymaster0_engine.cpp 338 Eraser eraser(signature.get(), signature_length);
383 Eraser eraser(signature.get(), signature_length);

Completed in 741 milliseconds