|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.jcajce.provider.mceliece.McElieceCCA2Primitives
Core operations for the CCA-secure variants of McEliece.
Method Summary | |
static GF2Vector[] |
decryptionPrimitive(BCMcElieceCCA2PrivateKey privKey,
GF2Vector c)
The McEliece decryption primitive. |
static GF2Vector[] |
decryptionPrimitive(McElieceCCA2PrivateKeyParameters privKey,
GF2Vector c)
|
static GF2Vector |
encryptionPrimitive(BCMcElieceCCA2PublicKey pubKey,
GF2Vector m,
GF2Vector z)
The McEliece encryption primitive. |
static GF2Vector |
encryptionPrimitive(McElieceCCA2PublicKeyParameters pubKey,
GF2Vector m,
GF2Vector z)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static GF2Vector encryptionPrimitive(BCMcElieceCCA2PublicKey pubKey, GF2Vector m, GF2Vector z)
pubKey
- the public keym
- the message vectorz
- the error vector
public static GF2Vector encryptionPrimitive(McElieceCCA2PublicKeyParameters pubKey, GF2Vector m, GF2Vector z)
public static GF2Vector[] decryptionPrimitive(BCMcElieceCCA2PrivateKey privKey, GF2Vector c)
privKey
- the private keyc
- the ciphertext vector c = m*G + z
public static GF2Vector[] decryptionPrimitive(McElieceCCA2PrivateKeyParameters privKey, GF2Vector c)
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |