mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8305406: Add @spec tags in java.base/java.* (part 2)
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org> Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org> Reviewed-by: valeriep
This commit is contained in:
parent
1476f6c475
commit
873f8a696f
59 changed files with 311 additions and 51 deletions
|
@ -37,6 +37,9 @@ import static com.sun.crypto.provider.KWUtil.*;
|
|||
* <a href=https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf>
|
||||
* "Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping"</a>
|
||||
* and represents AES cipher in KW mode.
|
||||
*
|
||||
* @spec https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf
|
||||
* Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping
|
||||
*/
|
||||
class AESKeyWrap extends FeedbackCipher {
|
||||
|
||||
|
|
|
@ -39,6 +39,9 @@ import static com.sun.crypto.provider.KWUtil.*;
|
|||
* <a href=https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf>
|
||||
* "Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping"</a>
|
||||
* and represents AES cipher in KWP mode.
|
||||
*
|
||||
* @spec https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf
|
||||
* Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping
|
||||
*/
|
||||
class AESKeyWrapPadded extends FeedbackCipher {
|
||||
|
||||
|
|
|
@ -31,6 +31,9 @@ import java.util.Arrays;
|
|||
* This class acts as the base class for AES KeyWrap algorithms as defined
|
||||
* in <a href=https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf>
|
||||
* "Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping"
|
||||
*
|
||||
* @spec https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf
|
||||
* Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping
|
||||
*/
|
||||
class KWUtil {
|
||||
|
||||
|
|
|
@ -36,6 +36,9 @@ import static com.sun.crypto.provider.KWUtil.*;
|
|||
* This class is the impl class for AES KeyWrap algorithms as defined in
|
||||
* <a href=https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf>
|
||||
* "Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping"
|
||||
*
|
||||
* @spec https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf
|
||||
* Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping
|
||||
*/
|
||||
abstract class KeyWrapCipher extends CipherSpi {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue