Commit Graph

30 Commits

Author SHA1 Message Date
Ivan Gerasimov
9c8bec9818 8160267: Ucrypto config file cannot be read when -Dfile.encoding=UTF-16 is set
Reviewed-by: mullan
2016-07-08 01:49:54 +03:00
Valerie Peng
2f6adf09a0 8157627: Ucrypto prov need to workaround the renaming of CK_AES_GCM_PARAMS starting S11.3
Update Ucrypto header files to provide the definition of CK_AES_GCM_PARAMS for S11.3 and later

Reviewed-by: ascarpino
2016-06-10 23:06:24 +00:00
Valerie Peng
b40b6a2e8e 8000415: Add support for SHA-3
Add SHA-3 support to SUN and OracleUcrypto provider

Reviewed-by: ascarpino, jnimeh
2016-05-14 03:44:30 +00:00
Thomas Stuefe
92274ea496 8155211: Ucrypto Library leaks native memory
Free the memory allocated by calloc(0, x) calls

Reviewed-by: valeriep, igerasim
2016-05-07 00:26:02 +00:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Iris Clark
9d07dc02e1 8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
Reviewed-by: alanb, chegar, lancea, prr
2016-01-20 11:02:36 -08:00
Ivan Gerasimov
57e9de3136 8134605: Partial rework of the fix for 8081297
Reviewed-by: xuelei, coffeys, valeriep
2015-10-02 11:50:20 +03:00
Iris Clark
b1b246fa7b Merge 2015-11-19 14:00:49 -08:00
Bob Vandette
3dc2d02585 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
2015-10-19 13:41:09 -04:00
Iris Clark
d0bbb6c588 Merge 2015-09-29 11:46:31 -07:00
Iris Clark
01c0b611a3 Merge 2015-09-21 21:40:23 -07:00
Sean Coffey
6eb997e90c 8133535: Better exception messaging in Ucrypto code
Reviewed-by: igerasim
2015-09-16 12:23:25 +01:00
Valerie Peng
bdf6ed0fd2 8135099: 9-dev solaris builds failed on 2015-09-04
Fixed the compilation warning which broken the build.

Reviewed-by: vinnie
2015-09-08 22:14:25 +00:00
Iris Clark
9e0d78c661 Merge 2015-09-08 10:25:11 -07:00
Valerie Peng
2f2b4c27ee 8130875: Ucrypto library leaks memory when null output buffer is specified
Avoid null output buffer to work around Solaris memory leak bug in Ucrypto library

Reviewed-by: ascarpino
2015-09-04 19:55:40 +00:00
Valerie Peng
a8cbc27bce 8132082: Let OracleUcrypto accept RSAPrivateKey
Reviewed-by: xuelei, valeriep, coffeys
2015-09-04 15:28:01 +03:00
Alexander Stepanov
572aef810c 8133802: replace some <tt> tags (obsolete in html5) in security-libs docs
Reviewed-by: mullan
2015-08-25 18:45:09 +03:00
Iris Clark
636d3c2d95 Merge 2015-07-23 13:19:54 -07:00
Iris Clark
89a565ccd0 Merge 2015-07-20 11:01:24 -07:00
Iris Clark
3542628ec7 8130696: Security Providers need to have their version numbers updated for JDK 9
Reviewed-by: ascarpino, mullan, valeriep, weijun, wetmore
2015-07-20 09:40:49 -07:00
Ivan Gerasimov
82f8a14808 8130022: Use Java-style array declarations consistently
Reviewed-by: coffeys
2015-07-09 10:37:07 +03:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Xue-Lei Andrew Fan
2698302b16 8081792: buffer size calculation issue in NativeGCMCipher
Reviewed-by: valeriep
2015-06-04 00:19:16 +00:00
Valerie Peng
baceaab271 8074865: General crypto resilience changes
Replaced Arrays.equals() with MessageDigest.isEqual() when comparing sensitive values

Reviewed-by: mullan, xuelei
2015-04-06 20:24:27 +00:00
Valerie Peng
2f10f1d200 8043349: Consider adding aliases for Ucrypto algorithm-only Cipher transformations
Add alias RSA and AES for RSA/ECB/PKCS1Padding and AES/ECB/PKCS5Padding.

Reviewed-by: wetmore
2014-12-23 02:36:48 +00:00
Joe Darcy
e9e0b591dc 8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module
Reviewed-by: valeriep
2014-12-16 11:49:37 -08:00
Martin Buchholz
08eb67b941 8067377: My hobby: caning, then then canning, the the can-can
Fix ALL the stutters!

Reviewed-by: rriggs, mchung, lancea
2014-10-30 07:31:41 -07:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Valerie Peng
55312612fb 8061574: 9-dev solaris-amd64 and solaris-sparcv9 build fail on 2014-10-20
Add a custom header file for native ucrypto functions

Reviewed-by: mchung
2014-10-24 22:54:16 +00:00
Valerie Peng
dc60e274ff 8046002: Move Ucrypto to the open jdk repo
Move Ucrypto related sources, tests to openJDK

Reviewed-by: mullan
2014-10-20 21:18:48 +00:00