Searched refs:Eraser (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 164 class Eraser { 167 template <typename T> explicit Eraser(T* t); 170 explicit Eraser(T& t) : buf_(reinterpret_cast<uint8_t*>(&t)), size_(sizeof(t)) {} in Eraser() function 172 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser() function 174 Eraser(void* buf, size_t size) : buf_(static_cast<uint8_t*>(buf)), size_(size) {} in Eraser() function 175 ~Eraser() { memset_s(buf_, 0, size_); } in ~Eraser() 178 Eraser(const Eraser&); 179 void operator=(const Eraser&);
|
/system/keymaster/key_blob_utils/ |
D | ocb_utils.cpp | 84 Eraser hash_eraser(hash_buf.get(), SHA256_DIGEST_LENGTH); in InitializeKeyWrappingContext() 88 Eraser derived_key_eraser(derived_key.get(), AES_BLOCK_SIZE); in InitializeKeyWrappingContext() 94 Eraser sha256_ctx_eraser(sha256_ctx); in InitializeKeyWrappingContext() 101 Eraser aes_key_eraser(AES_KEY); in InitializeKeyWrappingContext()
|
/system/core/trusty/keymaster/ipc/ |
D | trusty_keymaster_ipc.cpp | 154 keymaster::Eraser send_buf_eraser(send_buf, TRUSTY_KEYMASTER_SEND_BUF_SIZE); in trusty_keymaster_send() 159 keymaster::Eraser recv_buf_eraser(recv_buf, TRUSTY_KEYMASTER_RECV_BUF_SIZE); in trusty_keymaster_send()
|
/system/keymaster/legacy_support/ |
D | keymaster0_engine.cpp | 320 Eraser eraser(signature.get(), signature_length); in RsaPrivateTransform() 365 Eraser eraser(signature.get(), signature_length); in EcdsaSign()
|