/external/boringssl/src/crypto/cipher_extra/test/nist_cavp/ |
D | tdes_ecb.txt | 1 # Generated by "make_cavp -extra-labels Cipher=DES-EDE3 -cipher tdes kat_des/KAT_TDES/TECBinvperm.r… 5 Cipher: DES-EDE3 11 Cipher: DES-EDE3 17 Cipher: DES-EDE3 23 Cipher: DES-EDE3 29 Cipher: DES-EDE3 35 Cipher: DES-EDE3 41 Cipher: DES-EDE3 47 Cipher: DES-EDE3 53 Cipher: DES-EDE3 [all …]
|
D | aes_256_cbc.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-256-CBC kat_aes/CBCGFSbox256.rsp kat… 5 Cipher: AES-256-CBC 12 Cipher: AES-256-CBC 19 Cipher: AES-256-CBC 26 Cipher: AES-256-CBC 33 Cipher: AES-256-CBC 40 Cipher: AES-256-CBC 47 Cipher: AES-256-CBC 54 Cipher: AES-256-CBC 61 Cipher: AES-256-CBC [all …]
|
D | aes_256_ctr.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-256-CTR -swap-iv-plaintext kat_aes/C… 5 Cipher: AES-256-CTR 12 Cipher: AES-256-CTR 19 Cipher: AES-256-CTR 26 Cipher: AES-256-CTR 33 Cipher: AES-256-CTR 40 Cipher: AES-256-CTR 47 Cipher: AES-256-CTR 54 Cipher: AES-256-CTR 61 Cipher: AES-256-CTR [all …]
|
D | aes_128_ctr.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-128-CTR -swap-iv-plaintext kat_aes/C… 5 Cipher: AES-128-CTR 12 Cipher: AES-128-CTR 19 Cipher: AES-128-CTR 26 Cipher: AES-128-CTR 33 Cipher: AES-128-CTR 40 Cipher: AES-128-CTR 47 Cipher: AES-128-CTR 54 Cipher: AES-128-CTR 61 Cipher: AES-128-CTR [all …]
|
D | aes_128_cbc.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-128-CBC kat_aes/CBCGFSbox128.rsp kat… 5 Cipher: AES-128-CBC 12 Cipher: AES-128-CBC 19 Cipher: AES-128-CBC 26 Cipher: AES-128-CBC 33 Cipher: AES-128-CBC 40 Cipher: AES-128-CBC 47 Cipher: AES-128-CBC 54 Cipher: AES-128-CBC 61 Cipher: AES-128-CBC [all …]
|
D | aes_192_ctr.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-192-CTR -swap-iv-plaintext kat_aes/C… 5 Cipher: AES-192-CTR 12 Cipher: AES-192-CTR 19 Cipher: AES-192-CTR 26 Cipher: AES-192-CTR 33 Cipher: AES-192-CTR 40 Cipher: AES-192-CTR 47 Cipher: AES-192-CTR 54 Cipher: AES-192-CTR 61 Cipher: AES-192-CTR [all …]
|
D | aes_192_cbc.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-192-CBC kat_aes/CBCGFSbox192.rsp kat… 5 Cipher: AES-192-CBC 12 Cipher: AES-192-CBC 19 Cipher: AES-192-CBC 26 Cipher: AES-192-CBC 33 Cipher: AES-192-CBC 40 Cipher: AES-192-CBC 47 Cipher: AES-192-CBC 54 Cipher: AES-192-CBC 61 Cipher: AES-192-CBC [all …]
|
D | tdes_cbc.txt | 1 # Generated by "make_cavp -extra-labels Cipher=DES-EDE3-CBC -cipher tdes kat_des/KAT_TDES/TCBCinvpe… 5 Cipher: DES-EDE3-CBC 12 Cipher: DES-EDE3-CBC 19 Cipher: DES-EDE3-CBC 26 Cipher: DES-EDE3-CBC 33 Cipher: DES-EDE3-CBC 40 Cipher: DES-EDE3-CBC 47 Cipher: DES-EDE3-CBC 54 Cipher: DES-EDE3-CBC 61 Cipher: DES-EDE3-CBC [all …]
|
/external/cronet/third_party/boringssl/src/crypto/cipher_extra/test/nist_cavp/ |
D | tdes_ecb.txt | 1 # Generated by "make_cavp -extra-labels Cipher=DES-EDE3 -cipher tdes kat_des/KAT_TDES/TECBinvperm.r… 5 Cipher: DES-EDE3 11 Cipher: DES-EDE3 17 Cipher: DES-EDE3 23 Cipher: DES-EDE3 29 Cipher: DES-EDE3 35 Cipher: DES-EDE3 41 Cipher: DES-EDE3 47 Cipher: DES-EDE3 53 Cipher: DES-EDE3 [all …]
|
D | aes_256_ctr.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-256-CTR -swap-iv-plaintext kat_aes/C… 5 Cipher: AES-256-CTR 12 Cipher: AES-256-CTR 19 Cipher: AES-256-CTR 26 Cipher: AES-256-CTR 33 Cipher: AES-256-CTR 40 Cipher: AES-256-CTR 47 Cipher: AES-256-CTR 54 Cipher: AES-256-CTR 61 Cipher: AES-256-CTR [all …]
|
D | aes_256_cbc.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-256-CBC kat_aes/CBCGFSbox256.rsp kat… 5 Cipher: AES-256-CBC 12 Cipher: AES-256-CBC 19 Cipher: AES-256-CBC 26 Cipher: AES-256-CBC 33 Cipher: AES-256-CBC 40 Cipher: AES-256-CBC 47 Cipher: AES-256-CBC 54 Cipher: AES-256-CBC 61 Cipher: AES-256-CBC [all …]
|
D | aes_128_ctr.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-128-CTR -swap-iv-plaintext kat_aes/C… 5 Cipher: AES-128-CTR 12 Cipher: AES-128-CTR 19 Cipher: AES-128-CTR 26 Cipher: AES-128-CTR 33 Cipher: AES-128-CTR 40 Cipher: AES-128-CTR 47 Cipher: AES-128-CTR 54 Cipher: AES-128-CTR 61 Cipher: AES-128-CTR [all …]
|
D | aes_128_cbc.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-128-CBC kat_aes/CBCGFSbox128.rsp kat… 5 Cipher: AES-128-CBC 12 Cipher: AES-128-CBC 19 Cipher: AES-128-CBC 26 Cipher: AES-128-CBC 33 Cipher: AES-128-CBC 40 Cipher: AES-128-CBC 47 Cipher: AES-128-CBC 54 Cipher: AES-128-CBC 61 Cipher: AES-128-CBC [all …]
|
D | aes_192_cbc.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-192-CBC kat_aes/CBCGFSbox192.rsp kat… 5 Cipher: AES-192-CBC 12 Cipher: AES-192-CBC 19 Cipher: AES-192-CBC 26 Cipher: AES-192-CBC 33 Cipher: AES-192-CBC 40 Cipher: AES-192-CBC 47 Cipher: AES-192-CBC 54 Cipher: AES-192-CBC 61 Cipher: AES-192-CBC [all …]
|
D | aes_192_ctr.txt | 1 # Generated by "make_cavp -cipher=aes -extra-labels=Cipher=AES-192-CTR -swap-iv-plaintext kat_aes/C… 5 Cipher: AES-192-CTR 12 Cipher: AES-192-CTR 19 Cipher: AES-192-CTR 26 Cipher: AES-192-CTR 33 Cipher: AES-192-CTR 40 Cipher: AES-192-CTR 47 Cipher: AES-192-CTR 54 Cipher: AES-192-CTR 61 Cipher: AES-192-CTR [all …]
|
D | tdes_cbc.txt | 1 # Generated by "make_cavp -extra-labels Cipher=DES-EDE3-CBC -cipher tdes kat_des/KAT_TDES/TCBCinvpe… 5 Cipher: DES-EDE3-CBC 12 Cipher: DES-EDE3-CBC 19 Cipher: DES-EDE3-CBC 26 Cipher: DES-EDE3-CBC 33 Cipher: DES-EDE3-CBC 40 Cipher: DES-EDE3-CBC 47 Cipher: DES-EDE3-CBC 54 Cipher: DES-EDE3-CBC 61 Cipher: DES-EDE3-CBC [all …]
|
/external/rust/crates/openssl/src/ |
D | symm.rs | 73 pub struct Cipher(*const ffi::EVP_CIPHER); struct 75 impl Cipher { impl 81 pub fn from_nid(nid: Nid) -> Option<Cipher> { in from_nid() argument 86 Some(Cipher(ptr)) in from_nid() 100 pub fn aes_128_ecb() -> Cipher { in aes_128_ecb() 101 unsafe { Cipher(ffi::EVP_aes_128_ecb()) } in aes_128_ecb() 104 pub fn aes_128_cbc() -> Cipher { in aes_128_cbc() 105 unsafe { Cipher(ffi::EVP_aes_128_cbc()) } in aes_128_cbc() 109 pub fn aes_128_xts() -> Cipher { in aes_128_xts() 110 unsafe { Cipher(ffi::EVP_aes_128_xts()) } in aes_128_xts() [all …]
|
/external/cronet/third_party/boringssl/src/crypto/cipher_extra/test/ |
D | cipher_tests.txt | 2 Cipher = RC4 7 Cipher = RC4 12 Cipher = RC4 17 Cipher = RC4 22 Cipher = RC4 27 Cipher = RC4 32 Cipher = RC4 39 Cipher = DES-EDE3 44 Cipher = DES-EDE3 49 Cipher = DES-EDE3 [all …]
|
/external/boringssl/src/crypto/cipher_extra/test/ |
D | cipher_tests.txt | 2 Cipher = RC4 7 Cipher = RC4 12 Cipher = RC4 17 Cipher = RC4 22 Cipher = RC4 27 Cipher = RC4 32 Cipher = RC4 39 Cipher = DES-EDE3 44 Cipher = DES-EDE3 49 Cipher = DES-EDE3 [all …]
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | AeadCipherTest.java | 12 import javax.crypto.Cipher; 78 Cipher c = Cipher.getInstance(cipher); in testUpdateAAD_AfterInit() 79 c.init(Cipher.ENCRYPT_MODE, newKey()); in testUpdateAAD_AfterInit() 86 Cipher c = Cipher.getInstance(cipher); in testUpdateAAD_AfterUpdate() 87 c.init(Cipher.ENCRYPT_MODE, newKey()); in testUpdateAAD_AfterUpdate() 101 Cipher c1 = Cipher.getInstance(cipher); in testUpdateAAD_Twice() 102 Cipher c2 = Cipher.getInstance(cipher); in testUpdateAAD_Twice() 104 c1.init(Cipher.ENCRYPT_MODE, key, spec); in testUpdateAAD_Twice() 112 c2.init(Cipher.ENCRYPT_MODE, key, spec); in testUpdateAAD_Twice() 125 Cipher c1 = Cipher.getInstance(cipher); in testUpdateAAD_ByteBuffer() [all …]
|
D | CipherTest.java | 65 import javax.crypto.Cipher; 200 return Cipher.WRAP_MODE; in getEncryptMode() 202 return Cipher.ENCRYPT_MODE; in getEncryptMode() 207 return Cipher.UNWRAP_MODE; in getDecryptMode() 209 return Cipher.DECRYPT_MODE; in getDecryptMode() 472 setExpectedBlockSize("RSA", Cipher.ENCRYPT_MODE, 256); 473 setExpectedBlockSize("RSA/ECB/NoPadding", Cipher.ENCRYPT_MODE, 256); 474 setExpectedBlockSize("RSA/ECB/PKCS1Padding", Cipher.ENCRYPT_MODE, 245); 477 setExpectedBlockSize("RSA", Cipher.ENCRYPT_MODE, "BC", 255); 478 setExpectedBlockSize("RSA/ECB/NoPadding", Cipher.ENCRYPT_MODE, "BC", 255); [all …]
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | AeadCipherTest.java | 11 import javax.crypto.Cipher; 74 Cipher c = Cipher.getInstance(cipher); in testUpdateAAD_AfterInit() 75 c.init(Cipher.ENCRYPT_MODE, newKey()); in testUpdateAAD_AfterInit() 82 Cipher c = Cipher.getInstance(cipher); in testUpdateAAD_AfterUpdate() 83 c.init(Cipher.ENCRYPT_MODE, newKey()); in testUpdateAAD_AfterUpdate() 97 Cipher c1 = Cipher.getInstance(cipher); in testUpdateAAD_Twice() 98 Cipher c2 = Cipher.getInstance(cipher); in testUpdateAAD_Twice() 100 c1.init(Cipher.ENCRYPT_MODE, key, spec); in testUpdateAAD_Twice() 108 c2.init(Cipher.ENCRYPT_MODE, key, spec); in testUpdateAAD_Twice() 121 Cipher c1 = Cipher.getInstance(cipher); in testUpdateAAD_ByteBuffer() [all …]
|
D | CipherTest.java | 60 import javax.crypto.Cipher; 200 return Cipher.WRAP_MODE; in getEncryptMode() 202 return Cipher.ENCRYPT_MODE; in getEncryptMode() 207 return Cipher.UNWRAP_MODE; in getDecryptMode() 209 return Cipher.DECRYPT_MODE; in getDecryptMode() 472 setExpectedBlockSize("RSA", Cipher.ENCRYPT_MODE, 256); 473 setExpectedBlockSize("RSA/ECB/NoPadding", Cipher.ENCRYPT_MODE, 256); 474 setExpectedBlockSize("RSA/ECB/PKCS1Padding", Cipher.ENCRYPT_MODE, 245); 477 setExpectedBlockSize("RSA", Cipher.ENCRYPT_MODE, "BC", 255); 478 setExpectedBlockSize("RSA/ECB/NoPadding", Cipher.ENCRYPT_MODE, "BC", 255); [all …]
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | AesGcmTest.java | 31 import javax.crypto.Cipher; 136 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in getTestVectors() 137 cipher.init(Cipher.ENCRYPT_MODE, test.key, test.parameters); in getTestVectors() 150 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testVectors() 151 cipher.init(Cipher.ENCRYPT_MODE, test.key, test.parameters); in testVectors() 171 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testLateUpdateAAD() 172 cipher.init(Cipher.ENCRYPT_MODE, test.key, test.parameters); in testLateUpdateAAD() 203 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testIvReuse() 204 cipher.init(Cipher.ENCRYPT_MODE, test.key, test.parameters); in testIvReuse() 225 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testByteBuffer() [all …]
|
D | EciesTest.java | 31 import javax.crypto.Cipher; 81 Cipher ecies = Cipher.getInstance("ECIESwithAES-CBC"); in testEciesBasic() 82 ecies.init(Cipher.ENCRYPT_MODE, pub); in testEciesBasic() 85 ecies.init(Cipher.DECRYPT_MODE, priv, ecies.getParameters()); in testEciesBasic() 109 Cipher.getInstance(algorithm); in testInvalidNames() 128 Cipher.getInstance(algorithm); in testValidNames() 157 Cipher ecies; in testExceptions() 159 ecies = Cipher.getInstance(algorithm); in testExceptions() 173 ecies.init(Cipher.ENCRYPT_MODE, pub); in testExceptions() 176 ecies.init(Cipher.DECRYPT_MODE, priv, ecies.getParameters()); in testExceptions() [all …]
|