Skip to content

Commit

Permalink
Javadoc and comments: Use an HTTPS URL
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jan 14, 2024
1 parent 72830a2 commit 67b8448
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ public Class<? extends CryptoCipher> getImplClass() {
/**
* For AES, the algorithm block is fixed size of 128 bits.
*
* @see <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">
* http://en.wikipedia.org/wiki/Advanced_Encryption_Standard</a>
* @see <a href="https://en.wikipedia.org/wiki/Advanced_Encryption_Standard">
* https://en.wikipedia.org/wiki/Advanced_Encryption_Standard</a>
*/
public static final int AES_BLOCK_SIZE = 16;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
*
* @see <a href="https://wiki.openssl.org/index.php/Random_Numbers">
* https://wiki.openssl.org/index.php/Random_Numbers</a>
* @see <a href="http://en.wikipedia.org/wiki/RdRand">
* http://en.wikipedia.org/wiki/RdRand</a>
* @see <a href="https://en.wikipedia.org/wiki/RdRand">
* https://en.wikipedia.org/wiki/RdRand</a>
*/
final class OpenSslJnaCryptoRandom implements CryptoRandom {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class OpenSslMacOS {
/*
* The method is declared as 'bool dlopen_preflight(const char* path)', which is not a standard
* JNA type, see:
* http://java-native-access.github.io/jna/5.13.0/javadoc/overview-summary.html#marshalling
* https://java-native-access.github.io/jna/5.13.0/javadoc/overview-summary.html#marshalling
* bool appears to be closest to a byte, where non-zero is true and zero is false
*/
static native byte dlopen_preflight(String path);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* </p>
*
* @see <a href="https://wiki.openssl.org/index.php/Random_Numbers"> https://wiki.openssl.org/index.php/Random_Numbers</a>
* @see <a href="http://en.wikipedia.org/wiki/RdRand"> http://en.wikipedia.org/wiki/RdRand</a>
* @see <a href="https://en.wikipedia.org/wiki/RdRand"> https://en.wikipedia.org/wiki/RdRand</a>
*/
final class OpenSslCryptoRandom implements CryptoRandom {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public class CtrCryptoInputStream extends CryptoInputStream {
* a lossless operation (concatenation, addition, or XOR).
*
* @see <a
* href="http://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_.28CTR.29">
* http://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_.28CTR.29</a>
* href="https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_.28CTR.29">
* https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_.28CTR.29</a>
*
* @param initIV initial IV
* @param counter counter for input stream position
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ private void initTestData() {
cHex = new String[casesNumber];
tHex = new String[casesNumber];

// http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
// http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf
// https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
// https://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf
// NIST Case2 -----------------------------
// key length: 16 bytes
// plain text length: 16 bytes
Expand Down Expand Up @@ -315,7 +315,7 @@ private void testGcmEncryption(final String kHex, final String pHex, final Strin

/**
* NIST AES Test Vectors
* http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf
* https://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf
* @throws Exception Test failure
*/
@Test
Expand Down

0 comments on commit 67b8448

Please sign in to comment.