|
Bouncy Castle Cryptography Library 1.86 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.crypto.engines.AEADBaseEngine.DataLimitCounter
Enforces the AEAD confidentiality / data limit (q) of draft-irtf-cfrg-aead-limits sec. 5/6: it
bounds the total bytes processed under one key (nonce + AAD + message), throwing once 2^n is
exceeded. Reset only on key change.
TODO: currently wired only by AsconAEAD128 (NIST SP 800-232); the other AEADBaseEngine
subclasses do not bound per-key data volume.
| Constructor Summary | |
protected |
AEADBaseEngine.DataLimitCounter()
|
| Method Summary | |
void |
increment()
|
void |
increment(int n)
|
void |
init(int n)
|
void |
reset()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected AEADBaseEngine.DataLimitCounter()
| Method Detail |
public void init(int n)
public void increment()
public void increment(int n)
public void reset()
|
Bouncy Castle Cryptography Library 1.86 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||