Searched refs:BITS_PER_BYTE (Results 1 – 10 of 10) sorted by relevance
44 private static final int BITS_PER_BYTE = 8; field in RecoverableKeyStoreSecondaryKeyManager110 byte[] id = new byte[BACKUP_KEY_SUFFIX_LENGTH_BITS / BITS_PER_BYTE]; in generateId()
36 private static final int BITS_PER_BYTE = 8; field in KeyWrapUtils37 private static final int GCM_TAG_LENGTH_BITS = GCM_TAG_LENGTH_BYTES * BITS_PER_BYTE;
75 private static final int BITS_PER_BYTE = 8; field in BackupFileDecryptorTask77 private static final int BYTES_PER_LONG = 64 / BITS_PER_BYTE;232 GCM_TAG_LENGTH_BYTES * BITS_PER_BYTE, in decryptChunk()291 GCM_TAG_LENGTH_BYTES * BITS_PER_BYTE, in decryptChunkOrdering()
64 private static final int BITS_PER_BYTE = 8; field in EncryptedBackupTask219 new GCMParameterSpec(GCM_TAG_LENGTH_BYTES * BITS_PER_BYTE, nonce)); in encryptChunkOrdering()
49 private static final int BITS_PER_BYTE = 8; field in RecoverableKeyStoreSecondaryKeyManagerTest50 private static final int BACKUP_KEY_SUFFIX_LENGTH_BYTES = 128 / BITS_PER_BYTE;
40 private static final int BITS_PER_BYTE = 8; field in KeyWrapUtilsTest78 assertThat(wrappedKey.key).hasLength(KEY_SIZE_BITS / BITS_PER_BYTE + GCM_TAG_LENGTH_BYTES); in wrap_addsTagOfAppropriateLength()
55 private static final int BITS_PER_BYTE = 8; field in WrappedKeyTest56 private static final int GCM_TAG_LENGTH_BITS = GCM_TAG_LENGTH_BYTES * BITS_PER_BYTE;
48 private static final int BITS_PER_BYTE = 8; field in BackupStreamEncrypterTest58 private static final int MESSAGE_DIGEST_SIZE_IN_BYTES = 256 / BITS_PER_BYTE;
97 private static final int BITS_PER_BYTE = 8; field in BackupFileDecryptorTaskTest98 private static final int CHECKSUM_LENGTH_BYTES = 256 / BITS_PER_BYTE;554 new GCMParameterSpec(GCM_TAG_LENGTH_BYTES * BITS_PER_BYTE, nonce)); in encrypt()
83 private static final int BITS_PER_BYTE = 8; field in EncryptedBackupTaskTest360 GCM_TAG_LENGTH_BYTES * BITS_PER_BYTE, in decryptChunkOrdering()