HomeSort by relevance Sort by last modified time
    Searched defs:NONCE_LENGTH (Results 1 - 2 of 2) sorted by null

  /system/keymaster/
key_blob.cpp 43 const size_t KeyBlob::NONCE_LENGTH;
48 const keymaster_key_blob_t& master_key, const uint8_t nonce[NONCE_LENGTH])
49 : error_(KM_ERROR_OK), nonce_(new uint8_t[NONCE_LENGTH]), tag_(new uint8_t[TAG_LENGTH]),
83 memcpy(nonce_.get(), nonce, NONCE_LENGTH);
90 : nonce_(new uint8_t[NONCE_LENGTH]), tag_(new uint8_t[TAG_LENGTH]), hidden_(hidden) {
104 : nonce_(new uint8_t[NONCE_LENGTH]), tag_(new uint8_t[TAG_LENGTH]) {
116 return NONCE_LENGTH + sizeof(uint32_t) + key_material_length() + TAG_LENGTH +
122 buf = append_to_buf(buf, end, nonce(), NONCE_LENGTH);
133 if (!copy_from_buf(buf_ptr, end, nonce_.get(), NONCE_LENGTH) ||
229 if (ae_init(ctx->get(), derived_key.get(), AES_BLOCK_SIZE, NONCE_LENGTH, TAG_LENGTH) =
    [all...]
  /system/keymaster/include/keymaster/
key_blob.h 40 static const size_t NONCE_LENGTH = 12;
59 const keymaster_key_blob_t& master_key, const uint8_t nonce[NONCE_LENGTH]);
86 memset_s(nonce_.get(), 0, NONCE_LENGTH);

Completed in 54 milliseconds