View Issue Details

IDProjectCategoryView StatusLast Update
000289710000-006: MappingsSpecpublic2020-04-21 15:09
ReporterEtienne Rossignon Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.02 
Summary0002897: MaxBodySize formula revisited
Description

Release 1.02 part 6 page 40

The text says:


<blockquote>
The formula to calculate the amount of padding depends on the amount of data that needs to be sent (called BytesToWrite). The sender shall first calculate the maximum amount of space available in the MessageChunk (called MaxBodySize) using the following formula:


MaxBodySize = PlainTextBlockSize * Floor((MessageChunkSize –

HeaderSize – SignatureSize - 1)/CipherTextBlockSize) –

SequenceHeaderSize;

</blockquote>

In fact, this maxBodySize might be underestimated , a better formula would be :

    this.maxBlock     =  Math.floor( ( this.chunkSize - this.headerSize ) / this.cipherBlockSize);
    this.maxBodySize  = this.plainBlockSize * this.maxBlock - this.sequenceHeaderSize - this.signatureLength - 1 ;

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Randy Armstrong

2015-01-15 17:15

administrator   ~0005743

Fixed in DRAFT 8

Randy Armstrong

2015-02-17 16:24

administrator   ~0005803

Decided that we need to investigate the ramifications in stack code before we change the specification.

Randy Armstrong

2017-01-17 06:02

administrator   ~0007744

Not convinced the new formula is correct since it the signature is encrypted.

Randy Armstrong

2017-01-17 16:49

administrator   ~0007753

I am concerned that the new formula assumes the signature size is always a multiple of the cipher text block length.

Given the fact that nothing is broken I think we should leave the formula as is. Note that the consequence are only some extra chunks for some messages.

Jim Luth

2017-01-17 16:50

administrator   ~0007754

agreed to no fix in telecon.

Randy Armstrong

2017-11-21 08:16

administrator   ~0008723

Received confirmation that the new formula works.

Jim Luth

2017-11-21 16:51

administrator   ~0008727

Needs Errata for 1.03

Randy Armstrong

2018-06-19 15:07

administrator   ~0009180

Create errata.

Randy Armstrong

2019-03-01 22:03

administrator   ~0009997

Errata already published. Issue can be closed.

Randy Armstrong

2020-04-21 15:09

administrator   ~0011950

Closed Apr 21th WG Calls.

Issue History

Date Modified Username Field Change
2014-11-20 07:49 Etienne Rossignon New Issue
2015-01-15 17:16 Randy Armstrong Note Added: 0005743
2015-01-15 17:16 Randy Armstrong Status new => resolved
2015-01-15 17:16 Randy Armstrong Resolution open => fixed
2015-01-15 17:16 Randy Armstrong Assigned To => Randy Armstrong
2015-02-17 16:24 Randy Armstrong Note Added: 0005803
2015-02-17 16:24 Randy Armstrong Status resolved => feedback
2015-02-17 16:24 Randy Armstrong Resolution fixed => reopened
2015-07-09 20:01 Jim Luth Target Version => 1.04
2017-01-17 06:02 Randy Armstrong Note Added: 0007744
2017-01-17 06:02 Randy Armstrong Status feedback => resolved
2017-01-17 06:02 Randy Armstrong Resolution reopened => won't fix
2017-01-17 16:49 Randy Armstrong Status resolved => feedback
2017-01-17 16:49 Randy Armstrong Resolution won't fix => reopened
2017-01-17 16:49 Randy Armstrong Note Added: 0007753
2017-01-17 16:49 Randy Armstrong Status feedback => resolved
2017-01-17 16:49 Randy Armstrong Resolution reopened => won't fix
2017-01-17 16:50 Jim Luth Note Added: 0007754
2017-01-17 16:50 Jim Luth Status resolved => closed
2017-11-21 08:16 Randy Armstrong Note Added: 0008723
2017-11-21 08:16 Randy Armstrong Status closed => resolved
2017-11-21 08:16 Randy Armstrong Resolution won't fix => fixed
2017-11-21 16:51 Jim Luth Note Added: 0008727
2018-06-19 15:07 Randy Armstrong Note Added: 0009180
2018-06-19 15:07 Randy Armstrong Status resolved => assigned
2019-03-01 22:03 Randy Armstrong Status assigned => resolved
2019-03-01 22:03 Randy Armstrong Fixed in Version => 1.05
2019-03-01 22:03 Randy Armstrong Note Added: 0009997
2020-04-21 15:09 Randy Armstrong Status resolved => closed
2020-04-21 15:09 Randy Armstrong Note Added: 0011950