equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
866 fields[TypeFunc::Parms+0] = TypeInt::INT; // crc result |
866 fields[TypeFunc::Parms+0] = TypeInt::INT; // crc result |
867 const TypeTuple* range = TypeTuple::make(TypeFunc::Parms+1, fields); |
867 const TypeTuple* range = TypeTuple::make(TypeFunc::Parms+1, fields); |
868 return TypeFunc::make(domain, range); |
868 return TypeFunc::make(domain, range); |
869 } |
869 } |
870 |
870 |
871 // for cipherBlockChaining calls of aescrypt encrypt/decrypt, four pointers and a length, returning void |
871 // for cipherBlockChaining calls of aescrypt encrypt/decrypt, four pointers and a length, returning int |
872 const TypeFunc* OptoRuntime::cipherBlockChaining_aescrypt_Type() { |
872 const TypeFunc* OptoRuntime::cipherBlockChaining_aescrypt_Type() { |
873 // create input type (domain) |
873 // create input type (domain) |
874 int num_args = 5; |
874 int num_args = 5; |
875 if (Matcher::pass_original_key_for_aes()) { |
875 if (Matcher::pass_original_key_for_aes()) { |
876 num_args = 6; |
876 num_args = 6; |