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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [cipher/] [TripleDES.h] - Blame information for rev 776

Go to most recent revision | 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_cipher_TripleDES__
5
#define __gnu_javax_crypto_cipher_TripleDES__
6
 
7
#pragma interface
8
 
9
#include <gnu/javax/crypto/cipher/BaseCipher.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 DES;
23
            class TripleDES;
24
        }
25
      }
26
    }
27
  }
28
}
29
 
30
class gnu::javax::crypto::cipher::TripleDES : public ::gnu::javax::crypto::cipher::BaseCipher
31
{
32
 
33
public:
34
  TripleDES();
35
  static void adjustParity(JArray< jbyte > *, jint);
36
  static void adjustParity(jint, JArray< jbyte > *, jint);
37
  static jboolean isParityAdjusted(JArray< jbyte > *, jint);
38
  static jboolean isParityAdjusted(jint, JArray< jbyte > *, jint);
39
  virtual ::java::lang::Object * clone();
40
  virtual ::java::util::Iterator * blockSizes();
41
  virtual ::java::util::Iterator * keySizes();
42
  virtual ::java::lang::Object * makeKey(JArray< jbyte > *, jint);
43
  virtual void encrypt(JArray< jbyte > *, jint, JArray< jbyte > *, jint, ::java::lang::Object *, jint);
44
  virtual void decrypt(JArray< jbyte > *, jint, JArray< jbyte > *, jint, ::java::lang::Object *, jint);
45
  static const jint BLOCK_SIZE = 8;
46
  static const jint KEY_SIZE = 24;
47
private:
48
  ::gnu::javax::crypto::cipher::DES * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::cipher::BaseCipher)))) des;
49
public:
50
  static ::java::lang::Class class$;
51
};
52
 
53
#endif // __gnu_javax_crypto_cipher_TripleDES__

powered by: WebSVN 2.1.0

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