Skip to content

Commit

Permalink
Apply review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yift-r3 committed Dec 19, 2023
1 parent aca97a4 commit aac95df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AuthenticatedEncryptionSession(override val sessionId: String,
private val outboundNonce: ByteArray,
private val inboundSecretKey: SecretKey,
private val inboundNonce: ByteArray,
val maxMessageSize: Int): Session, SerialisableSessionData {
val maxMessageSize: Int): Session {

private val provider = BouncyCastleProvider.PROVIDER_NAME
private val encryptionCipher = Cipher.getInstance(CIPHER_ALGO, provider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import kotlin.concurrent.withLock
class AuthenticatedSession(override val sessionId: String,
private val outboundSecretKey: SecretKey,
private val inboundSecretKey: SecretKey,
val maxMessageSize: Int): Session, SerialisableSessionData {
val maxMessageSize: Int): Session {

private val provider = BouncyCastleProvider.PROVIDER_NAME
private val generationHMac = Mac.getInstance(HMAC_ALGO, provider).apply {
Expand Down

0 comments on commit aac95df

Please sign in to comment.