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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [mode/] [CBC.h] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_javax_crypto_mode_CBC__
5
#define __gnu_javax_crypto_mode_CBC__
6
 
7
#pragma interface
8
 
9
#include <gnu/javax/crypto/mode/BaseMode.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace javax
17
    {
18
      namespace crypto
19
      {
20
        namespace cipher
21
        {
22
            class IBlockCipher;
23
        }
24
        namespace mode
25
        {
26
            class CBC;
27
        }
28
      }
29
    }
30
  }
31
}
32
 
33
class gnu::javax::crypto::mode::CBC : public ::gnu::javax::crypto::mode::BaseMode
34
{
35
 
36
public: // actually package-private
37
  CBC(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
38
private:
39
  CBC(::gnu::javax::crypto::mode::CBC *);
40
public:
41
  virtual ::java::lang::Object * clone();
42
  virtual void setup();
43
  virtual void teardown();
44
  virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
45
  virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
46
private:
47
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mode::BaseMode)))) lastBlock;
48
  JArray< jbyte > * scratch;
49
public:
50
  static ::java::lang::Class class$;
51
};
52
 
53
#endif // __gnu_javax_crypto_mode_CBC__

powered by: WebSVN 2.1.0

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