1 /*
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
814 \
815 /* support for sun.security.provider.SHA */ \
816 do_class(sun_security_provider_sha, "sun/security/provider/SHA") \
817 do_intrinsic(_sha_implCompress, sun_security_provider_sha, implCompress_name, implCompress_signature, F_R) \
818 do_name( implCompress_name, "implCompress") \
819 do_signature(implCompress_signature, "([BI)V") \
820 \
821 /* support for sun.security.provider.SHA2 */ \
822 do_class(sun_security_provider_sha2, "sun/security/provider/SHA2") \
823 do_intrinsic(_sha2_implCompress, sun_security_provider_sha2, implCompress_name, implCompress_signature, F_R) \
824 \
825 /* support for sun.security.provider.SHA5 */ \
826 do_class(sun_security_provider_sha5, "sun/security/provider/SHA5") \
827 do_intrinsic(_sha5_implCompress, sun_security_provider_sha5, implCompress_name, implCompress_signature, F_R) \
828 \
829 /* support for sun.security.provider.DigestBase */ \
830 do_class(sun_security_provider_digestbase, "sun/security/provider/DigestBase") \
831 do_intrinsic(_digestBase_implCompressMB, sun_security_provider_digestbase, implCompressMB_name, implCompressMB_signature, F_R) \
832 do_name( implCompressMB_name, "implCompressMultiBlock") \
833 do_signature(implCompressMB_signature, "([BII)I") \
834 \
835 /* support for java.util.zip */ \
836 do_class(java_util_zip_CRC32, "java/util/zip/CRC32") \
837 do_intrinsic(_updateCRC32, java_util_zip_CRC32, update_name, int2_int_signature, F_SN) \
838 do_name( update_name, "update") \
839 do_intrinsic(_updateBytesCRC32, java_util_zip_CRC32, updateBytes_name, updateBytes_signature, F_SN) \
840 do_name( updateBytes_name, "updateBytes") \
841 do_signature(updateBytes_signature, "(I[BII)I") \
842 do_intrinsic(_updateByteBufferCRC32, java_util_zip_CRC32, updateByteBuffer_name, updateByteBuffer_signature, F_SN) \
843 do_name( updateByteBuffer_name, "updateByteBuffer") \
844 do_signature(updateByteBuffer_signature, "(IJII)I") \
845 \
846 /* support for sun.misc.Unsafe */ \
847 do_class(sun_misc_Unsafe, "sun/misc/Unsafe") \
848 \
849 do_intrinsic(_allocateInstance, sun_misc_Unsafe, allocateInstance_name, allocateInstance_signature, F_RN) \
850 do_name( allocateInstance_name, "allocateInstance") \
851 do_signature(allocateInstance_signature, "(Ljava/lang/Class;)Ljava/lang/Object;") \
852 do_intrinsic(_copyMemory, sun_misc_Unsafe, copyMemory_name, copyMemory_signature, F_RN) \
853 do_name( copyMemory_name, "copyMemory") \
|
1 /*
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
814 \
815 /* support for sun.security.provider.SHA */ \
816 do_class(sun_security_provider_sha, "sun/security/provider/SHA") \
817 do_intrinsic(_sha_implCompress, sun_security_provider_sha, implCompress_name, implCompress_signature, F_R) \
818 do_name( implCompress_name, "implCompress") \
819 do_signature(implCompress_signature, "([BI)V") \
820 \
821 /* support for sun.security.provider.SHA2 */ \
822 do_class(sun_security_provider_sha2, "sun/security/provider/SHA2") \
823 do_intrinsic(_sha2_implCompress, sun_security_provider_sha2, implCompress_name, implCompress_signature, F_R) \
824 \
825 /* support for sun.security.provider.SHA5 */ \
826 do_class(sun_security_provider_sha5, "sun/security/provider/SHA5") \
827 do_intrinsic(_sha5_implCompress, sun_security_provider_sha5, implCompress_name, implCompress_signature, F_R) \
828 \
829 /* support for sun.security.provider.DigestBase */ \
830 do_class(sun_security_provider_digestbase, "sun/security/provider/DigestBase") \
831 do_intrinsic(_digestBase_implCompressMB, sun_security_provider_digestbase, implCompressMB_name, implCompressMB_signature, F_R) \
832 do_name( implCompressMB_name, "implCompressMultiBlock") \
833 do_signature(implCompressMB_signature, "([BII)I") \
834 \
835 /* support for com.sun.crypto.provider.GHASH */ \
836 do_class(com_sun_crypto_provider_ghash, "com/sun/crypto/provider/GHASH") \
837 do_intrinsic(_ghash_processBlocks, com_sun_crypto_provider_ghash, processBlocks_name, ghash_processBlocks_signature, F_R) \
838 do_name(processBlocks_name, "processBlocks") \
839 do_signature(ghash_processBlocks_signature, "([BII)V") \
840 \
841 /* support for java.util.zip */ \
842 do_class(java_util_zip_CRC32, "java/util/zip/CRC32") \
843 do_intrinsic(_updateCRC32, java_util_zip_CRC32, update_name, int2_int_signature, F_SN) \
844 do_name( update_name, "update") \
845 do_intrinsic(_updateBytesCRC32, java_util_zip_CRC32, updateBytes_name, updateBytes_signature, F_SN) \
846 do_name( updateBytes_name, "updateBytes") \
847 do_signature(updateBytes_signature, "(I[BII)I") \
848 do_intrinsic(_updateByteBufferCRC32, java_util_zip_CRC32, updateByteBuffer_name, updateByteBuffer_signature, F_SN) \
849 do_name( updateByteBuffer_name, "updateByteBuffer") \
850 do_signature(updateByteBuffer_signature, "(IJII)I") \
851 \
852 /* support for sun.misc.Unsafe */ \
853 do_class(sun_misc_Unsafe, "sun/misc/Unsafe") \
854 \
855 do_intrinsic(_allocateInstance, sun_misc_Unsafe, allocateInstance_name, allocateInstance_signature, F_RN) \
856 do_name( allocateInstance_name, "allocateInstance") \
857 do_signature(allocateInstance_signature, "(Ljava/lang/Class;)Ljava/lang/Object;") \
858 do_intrinsic(_copyMemory, sun_misc_Unsafe, copyMemory_name, copyMemory_signature, F_RN) \
859 do_name( copyMemory_name, "copyMemory") \
|