Class Ed448

java.lang.Object
org.bouncycastle.math.ec.rfc8032.Ed448

public abstract class Ed448 extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.crypto.internal.Xof
     
    protected abstract org.bouncycastle.crypto.internal.Xof
     
    static void
    generatePrivateKey(SecureRandom random, byte[] k)
     
    void
    generatePublicKey(byte[] sk, int skOff, byte[] pk, int pkOff)
     
    static void
     
    static void
    scalarMultBaseXY(X448.Friend friend, byte[] k, int kOff, int[] x, int[] y)
    NOTE: Only for use by X448
    void
    sign(byte[] sk, int skOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
     
    void
    sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
     
    void
    signPrehash(byte[] sk, int skOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff)
     
    void
    signPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff)
     
    void
    signPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, org.bouncycastle.crypto.internal.Xof ph, byte[] sig, int sigOff)
     
    void
    signPrehash(byte[] sk, int skOff, byte[] ctx, org.bouncycastle.crypto.internal.Xof ph, byte[] sig, int sigOff)
     
    static boolean
    validatePublicKeyFull(byte[] pk, int pkOff)
     
    static boolean
    validatePublicKeyPartial(byte[] pk, int pkOff)
     
    boolean
    verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen)
     
    boolean
    verifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff)
     
    boolean
    verifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, org.bouncycastle.crypto.internal.Xof ph)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Ed448

      public Ed448()
  • Method Details

    • createPrehash

      public org.bouncycastle.crypto.internal.Xof createPrehash()
    • generatePrivateKey

      public static void generatePrivateKey(SecureRandom random, byte[] k)
    • generatePublicKey

      public void generatePublicKey(byte[] sk, int skOff, byte[] pk, int pkOff)
    • precompute

      public static void precompute()
    • scalarMultBaseXY

      public static void scalarMultBaseXY(X448.Friend friend, byte[] k, int kOff, int[] x, int[] y)
      NOTE: Only for use by X448
    • sign

      public void sign(byte[] sk, int skOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
    • sign

      public void sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
    • signPrehash

      public void signPrehash(byte[] sk, int skOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff)
    • signPrehash

      public void signPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff)
    • signPrehash

      public void signPrehash(byte[] sk, int skOff, byte[] ctx, org.bouncycastle.crypto.internal.Xof ph, byte[] sig, int sigOff)
    • signPrehash

      public void signPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, org.bouncycastle.crypto.internal.Xof ph, byte[] sig, int sigOff)
    • validatePublicKeyFull

      public static boolean validatePublicKeyFull(byte[] pk, int pkOff)
    • validatePublicKeyPartial

      public static boolean validatePublicKeyPartial(byte[] pk, int pkOff)
    • verify

      public boolean verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen)
    • verifyPrehash

      public boolean verifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff)
    • verifyPrehash

      public boolean verifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, org.bouncycastle.crypto.internal.Xof ph)
    • createXof

      protected abstract org.bouncycastle.crypto.internal.Xof createXof()