Home | History | Annotate | Download | only in keymaster

Lines Matching refs:nonce

33                                              const Buffer& nonce, const Buffer& tag,
35 size_t size = 1 /* version byte */ + nonce.SerializedSize() +
46 buf = nonce.Serialize(buf, end);
60 AuthorizationSet* sw_enforced, Buffer* nonce,
66 if (!nonce->reserve(OCB_NONCE_LENGTH) || !tag->reserve(OCB_TAG_LENGTH))
69 if (!copy_from_buf(buf_ptr, end, nonce->peek_write(), OCB_NONCE_LENGTH) ||
77 if (!nonce->advance_write(OCB_NONCE_LENGTH) || !tag->advance_write(OCB_TAG_LENGTH))
85 AuthorizationSet* sw_enforced, Buffer* nonce,
99 !nonce->Deserialize(buf_ptr, end) || nonce->available_read() != OCB_NONCE_LENGTH ||
106 // or the nonce or tag length fields. So we try to parse it as that previous version.
117 // 0 key? The first 12 bytes of an unversioned key are the nonce, which, in the only
132 sw_enforced, nonce, tag);