|
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.DecryptionFailureCounter
Enforces the AEAD integrity limit (v) of draft-irtf-cfrg-aead-limits sec. 5/6: it bounds the
number of failed decryptions (forgery attempts) permitted under one key, with the bound derived
from the authentication-tag length (a shorter tag lowers the limit). Reset only on key change.
TODO: currently wired only by AsconAEAD128 (NIST SP 800-232); the other AEADBaseEngine
subclasses neither count nor bound forgery attempts.
| Constructor Summary | |
protected |
AEADBaseEngine.DecryptionFailureCounter()
|
| Method Summary | |
boolean |
increment()
|
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.DecryptionFailureCounter()
| Method Detail |
public void init(int n)
public boolean increment()
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 | |||||||||