OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [mode/] [EAX.h] - Rev 800

Go to most recent revision | Compare with Previous | Blame | View Log

 
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
 
#ifndef __gnu_javax_crypto_mode_EAX__
#define __gnu_javax_crypto_mode_EAX__
 
#pragma interface
 
#include <java/lang/Object.h>
#include <gcj/array.h>
 
extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace cipher
        {
            class IBlockCipher;
        }
        namespace mac
        {
            class IMac;
        }
        namespace mode
        {
            class EAX;
            class IMode;
        }
      }
    }
  }
}
 
class gnu::javax::crypto::mode::EAX : public ::java::lang::Object
{
 
public:
  EAX(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
  virtual ::java::lang::Object * clone();
  virtual ::java::lang::String * name();
  virtual jint defaultBlockSize();
  virtual jint defaultKeySize();
  virtual ::java::util::Iterator * blockSizes();
  virtual ::java::util::Iterator * keySizes();
  virtual void init(::java::util::Map *);
  virtual jint currentBlockSize();
  virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  virtual void update(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  virtual void reset();
  virtual jboolean selfTest();
  virtual jint macSize();
  virtual JArray< jbyte > * digest();
  virtual void digest(JArray< jbyte > *, jint);
  virtual void update(jbyte);
  virtual void update(JArray< jbyte > *, jint, jint);
private:
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) tagSize;
  ::gnu::javax::crypto::mac::IMac * nonceOmac;
  ::gnu::javax::crypto::mac::IMac * headerOmac;
  ::gnu::javax::crypto::mac::IMac * msgOmac;
  ::gnu::javax::crypto::mode::IMode * ctr;
  jint state;
  jboolean init__;
  jint cipherBlockSize;
  ::gnu::javax::crypto::cipher::IBlockCipher * cipher;
  JArray< jbyte > * t_n;
  static jboolean valid;
public:
  static ::java::lang::Class class$;
};
 
#endif // __gnu_javax_crypto_mode_EAX__
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.