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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [kwa/] [AESKeyWrap.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_kwa_AESKeyWrap__
5
#define __gnu_javax_crypto_kwa_AESKeyWrap__
6
 
7
#pragma interface
8
 
9
#include <gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.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 Rijndael;
23
        }
24
        namespace kwa
25
        {
26
            class AESKeyWrap;
27
        }
28
      }
29
    }
30
  }
31
}
32
 
33
class gnu::javax::crypto::kwa::AESKeyWrap : public ::gnu::javax::crypto::kwa::BaseKeyWrappingAlgorithm
34
{
35
 
36
public:
37
  AESKeyWrap();
38
public: // actually protected
39
  virtual void engineInit(::java::util::Map *);
40
  virtual JArray< jbyte > * engineWrap(JArray< jbyte > *, jint, jint);
41
  virtual JArray< jbyte > * engineUnwrap(JArray< jbyte > *, jint, jint);
42
private:
43
  static JArray< jbyte > * DEFAULT_IV;
44
  ::gnu::javax::crypto::cipher::Rijndael * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::kwa::BaseKeyWrappingAlgorithm)))) aes;
45
  JArray< jbyte > * iv;
46
public:
47
  static ::java::lang::Class class$;
48
};
49
 
50
#endif // __gnu_javax_crypto_kwa_AESKeyWrap__

powered by: WebSVN 2.1.0

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