Searched refs:TAG_LENGTH (Results 1 – 3 of 3) sorted by relevance
79 private static final int TAG_LENGTH = 4; field in EventLog.Event142 if ((offset + TAG_LENGTH) >= mBuffer.limit()) { in getData()146 mBuffer.position(offset + TAG_LENGTH); // Just after the tag. in getData()166 if (payload.length > 65535 - TAG_LENGTH) { in withNewData()170 byte[] newBytes = new byte[headerLength + TAG_LENGTH + payload.length]; in withNewData()172 System.arraycopy(mBuffer.array(), 0, newBytes, 0, headerLength + TAG_LENGTH); in withNewData() local174 System.arraycopy(payload, 0, newBytes, headerLength + TAG_LENGTH, payload.length); in withNewData()177 result.mBuffer.putShort(LENGTH_OFFSET, (short) (payload.length + TAG_LENGTH)); in withNewData()
35 pub const TAG_LENGTH: usize = 16; const90 if tag.len() != TAG_LENGTH { in aes_gcm_decrypt()137 let mut tag: Vec<u8> = vec![0; TAG_LENGTH]; in aes_gcm_encrypt()
208 const GCM_TAG_LENGTH: usize = keystore2_crypto::TAG_LENGTH;