/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | AesGcmTest.java | 136 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in getTestVectors() local 150 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testVectors() local 171 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testLateUpdateAAD() local 203 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testIvReuse() local 225 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testByteBuffer() local 249 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testByteBufferAlias() local 274 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testReadOnlyByteBuffer() local 303 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testByteBufferWithOffset() local 333 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testByteBufferTooShort() local 374 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testDefaultTagSizeIvParameterSpec() local [all …]
|
/external/tink-java/src/test/java/com/google/crypto/tink/aead/internal/ |
D | InsecureNonceChaCha20Poly1305JceTest.java | 87 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(new byte[KEY_SIZE_IN_BYTES]); in testDecryptThrowsGeneralSecurityExpWhenCiphertextIsTooShort() local 102 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(Random.randBytes(KEY_SIZE_IN_BYTES)); in testEncryptDecrypt() local 119 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(key); in encryptDecryptWithCiphertextOffsets() local 153 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(key); in testLongMessages() local 167 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(key); in testModifyCiphertext() local 204 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(Random.randBytes(KEY_SIZE_IN_BYTES)); in testNullPlaintextOrCiphertext() local 235 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(Random.randBytes(KEY_SIZE_IN_BYTES)); in testEmptyAssociatedData() local 279 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(key); in testNonce() local 326 InsecureNonceChaCha20Poly1305Jce cipher = createInstance(key); in testWycheproofVectors() local
|
D | InsecureNonceChaCha20Poly1305Test.java | 83 InsecureNonceChaCha20Poly1305 cipher = in testDecryptThrowsGeneralSecurityExpWhenCiphertextIsTooShort() local 98 InsecureNonceChaCha20Poly1305 cipher = in testEncryptDecrypt() local 122 InsecureNonceChaCha20Poly1305 cipher = createInstance(key); in testLongMessages() local 135 InsecureNonceChaCha20Poly1305 cipher = createInstance(key); in testModifyCiphertext() local 171 InsecureNonceChaCha20Poly1305 cipher = in testNullPlaintextOrCiphertext() local 202 InsecureNonceChaCha20Poly1305 cipher = in testEmptyAssociatedData() local 245 InsecureNonceChaCha20Poly1305 cipher = createInstance(key); in testNonce() local 291 InsecureNonceChaCha20Poly1305 cipher = createInstance(key); in testWycheproofVectors() local
|
D | InsecureNonceXChaCha20Poly1305Test.java | 100 InsecureNonceXChaCha20Poly1305 cipher = new InsecureNonceXChaCha20Poly1305(test.key); in testXChaCha20Poly1305TestVectors() local 130 InsecureNonceXChaCha20Poly1305 cipher = in testDecryptThrowsGeneralSecurityExpWhenCiphertextIsTooShort() local 146 InsecureNonceXChaCha20Poly1305 cipher = in testEncryptDecrypt() local 169 InsecureNonceXChaCha20Poly1305 cipher = new InsecureNonceXChaCha20Poly1305(key); in testLongMessages() local 181 InsecureNonceXChaCha20Poly1305 cipher = new InsecureNonceXChaCha20Poly1305(key); in testModifyCiphertext() local 228 InsecureNonceXChaCha20Poly1305 cipher = new InsecureNonceXChaCha20Poly1305(key); in testSameNonce() local
|
/external/tink/java_src/src/test/java/com/google/crypto/tink/aead/internal/ |
D | InsecureNonceChaCha20Poly1305Test.java | 83 InsecureNonceChaCha20Poly1305 cipher = in testDecryptThrowsGeneralSecurityExpWhenCiphertextIsTooShort() local 98 InsecureNonceChaCha20Poly1305 cipher = in testEncryptDecrypt() local 122 InsecureNonceChaCha20Poly1305 cipher = createInstance(key); in testLongMessages() local 135 InsecureNonceChaCha20Poly1305 cipher = createInstance(key); in testModifyCiphertext() local 171 InsecureNonceChaCha20Poly1305 cipher = in testNullPlaintextOrCiphertext() local 202 InsecureNonceChaCha20Poly1305 cipher = in testEmptyAssociatedData() local 245 InsecureNonceChaCha20Poly1305 cipher = createInstance(key); in testNonce() local 291 InsecureNonceChaCha20Poly1305 cipher = createInstance(key); in testWycheproofVectors() local
|
D | InsecureNonceXChaCha20Poly1305Test.java | 100 InsecureNonceXChaCha20Poly1305 cipher = new InsecureNonceXChaCha20Poly1305(test.key); in testXChaCha20Poly1305TestVectors() local 130 InsecureNonceXChaCha20Poly1305 cipher = in testDecryptThrowsGeneralSecurityExpWhenCiphertextIsTooShort() local 146 InsecureNonceXChaCha20Poly1305 cipher = in testEncryptDecrypt() local 169 InsecureNonceXChaCha20Poly1305 cipher = new InsecureNonceXChaCha20Poly1305(key); in testLongMessages() local 181 InsecureNonceXChaCha20Poly1305 cipher = new InsecureNonceXChaCha20Poly1305(key); in testModifyCiphertext() local 228 InsecureNonceXChaCha20Poly1305 cipher = new InsecureNonceXChaCha20Poly1305(key); in testSameNonce() local
|
/external/cronet/tot/third_party/boringssl/src/ssl/ |
D | ssl_cipher.cc | 472 for (const auto &cipher : kCiphers) { in NumTLS13Ciphers() local 487 const SSL_CIPHER *cipher; member 578 size_t *out_fixed_iv_len, const SSL_CIPHER *cipher, in ssl_cipher_get_evp_aead() 654 const SSL_CIPHER *cipher) { in ssl_get_handshake_digest() 754 void SSLCipherPreferenceList::Remove(const SSL_CIPHER *cipher) { in Remove() 768 bool ssl_cipher_is_deprecated(const SSL_CIPHER *cipher) { in ssl_cipher_is_deprecated() 1046 const SSL_CIPHER *cipher = &kCiphers[j]; in ssl_cipher_process_rulestr() local 1281 bool ssl_cipher_uses_certificate_auth(const SSL_CIPHER *cipher) { in ssl_cipher_uses_certificate_auth() 1285 bool ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher) { in ssl_cipher_requires_server_key_exchange() 1291 size_t ssl_cipher_get_record_split_len(const SSL_CIPHER *cipher) { in ssl_cipher_get_record_split_len() [all …]
|
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_cipher.cc | 476 const SSL_CIPHER *cipher; member 561 size_t *out_fixed_iv_len, const SSL_CIPHER *cipher, in ssl_cipher_get_evp_aead() 638 const SSL_CIPHER *cipher) { in ssl_get_handshake_digest() 715 for (const SSL_CIPHER &cipher : kCiphers) { in ssl_cipher_collect_ciphers() local 786 void SSLCipherPreferenceList::Remove(const SSL_CIPHER *cipher) { in Remove() 1080 const SSL_CIPHER *cipher = &kCiphers[j]; in ssl_cipher_process_rulestr() local 1295 bool ssl_cipher_uses_certificate_auth(const SSL_CIPHER *cipher) { in ssl_cipher_uses_certificate_auth() 1299 bool ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher) { in ssl_cipher_requires_server_key_exchange() 1305 size_t ssl_cipher_get_record_split_len(const SSL_CIPHER *cipher) { in ssl_cipher_get_record_split_len() 1369 uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *cipher) { return cipher->id; } in SSL_CIPHER_get_id() [all …]
|
/external/cronet/stable/third_party/boringssl/src/ssl/ |
D | ssl_cipher.cc | 472 for (const auto &cipher : kCiphers) { in NumTLS13Ciphers() local 487 const SSL_CIPHER *cipher; member 578 size_t *out_fixed_iv_len, const SSL_CIPHER *cipher, in ssl_cipher_get_evp_aead() 654 const SSL_CIPHER *cipher) { in ssl_get_handshake_digest() 754 void SSLCipherPreferenceList::Remove(const SSL_CIPHER *cipher) { in Remove() 768 bool ssl_cipher_is_deprecated(const SSL_CIPHER *cipher) { in ssl_cipher_is_deprecated() 1046 const SSL_CIPHER *cipher = &kCiphers[j]; in ssl_cipher_process_rulestr() local 1281 bool ssl_cipher_uses_certificate_auth(const SSL_CIPHER *cipher) { in ssl_cipher_uses_certificate_auth() 1285 bool ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher) { in ssl_cipher_requires_server_key_exchange() 1291 size_t ssl_cipher_get_record_split_len(const SSL_CIPHER *cipher) { in ssl_cipher_get_record_split_len() [all …]
|
/external/boringssl/src/ssl/ |
D | ssl_cipher.cc | 341 for (const auto &cipher : kCiphers) { in NumTLS13Ciphers() local 356 const SSL_CIPHER *cipher; member 447 size_t *out_fixed_iv_len, const SSL_CIPHER *cipher, in ssl_cipher_get_evp_aead() 523 const SSL_CIPHER *cipher) { in ssl_get_handshake_digest() 623 void SSLCipherPreferenceList::Remove(const SSL_CIPHER *cipher) { in Remove() 637 bool ssl_cipher_is_deprecated(const SSL_CIPHER *cipher) { in ssl_cipher_is_deprecated() 915 const SSL_CIPHER *cipher = &kCiphers[j]; in ssl_cipher_process_rulestr() local 1150 bool ssl_cipher_uses_certificate_auth(const SSL_CIPHER *cipher) { in ssl_cipher_uses_certificate_auth() 1154 bool ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher) { in ssl_cipher_requires_server_key_exchange() 1160 size_t ssl_cipher_get_record_split_len(const SSL_CIPHER *cipher) { in ssl_cipher_get_record_split_len() [all …]
|
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
D | OpenJdkEngineFactory.java | 59 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 67 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() 87 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 96 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() 118 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 128 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() 153 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 159 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() 185 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 191 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() [all …]
|
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
D | AesGcmTest.java | 111 Cipher cipher = Cipher.getInstance(algorithm, in getInitializedCipherInstance() local 267 Cipher cipher = getInitializedCipherInstance("AES/GCM/NoPadding", Cipher.ENCRYPT_MODE, in testVectors() local 289 Cipher cipher = getInitializedCipherInstance("AES/GCM/NoPadding", Cipher.ENCRYPT_MODE, in testEncryptWithEmptyArrays() local 323 Cipher cipher = getInitializedCipherInstance("AES/GCM/NoPadding", Cipher.DECRYPT_MODE, in testDecryptWithEmptyArrays() local 389 Cipher cipher = getInitializedCipherInstance("AES/GCM/NoPadding", Cipher.ENCRYPT_MODE, test, in testLateUpdateAAD() local 430 Cipher cipher = getInitializedCipherInstance("AES/GCM/NoPadding", Cipher.ENCRYPT_MODE, test, in testIvReuse() local 464 Cipher cipher = getInitializedCipherInstance("AES/GCM/NoPadding", Cipher.ENCRYPT_MODE, in testByteBufferSize() local 490 Cipher cipher = getInitializedCipherInstance("AES/GCM/NoPadding", Cipher.ENCRYPT_MODE, in testByteBuffer() local 523 Cipher cipher = getInitializedCipherInstance("AES/GCM/NoPadding", Cipher.ENCRYPT_MODE, in testByteBufferAlias() local 572 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testLargeArrayAlias() local [all …]
|
/external/tink-java/src/test/java/com/google/crypto/tink/subtle/ |
D | AeadThreadSafetyTest.java | 71 private Aead cipher; field in AeadThreadSafetyTest.CryptingThread 81 CryptingThread(Aead cipher, int maxPlaintextSize, int count) { in CryptingThread() 114 Aead cipher, int numberOfThreads, int maxPlaintextSize, int numberOfEncryptionsPerThread) in testEncryptionDecryption() 151 IndCpaCipher cipher = new AesCtrJceCipher(key, ivSize); in testAesCtrHmac() local 171 Aead cipher = new ChaCha20Poly1305(key); in testChaCha20Poly1305() local 178 Aead cipher = new XChaCha20Poly1305(key); in testXChaCha20Poly1305() local
|
/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/ |
D | AeadThreadSafetyTest.java | 71 private Aead cipher; field in AeadThreadSafetyTest.CryptingThread 81 CryptingThread(Aead cipher, int maxPlaintextSize, int count) { in CryptingThread() 114 Aead cipher, int numberOfThreads, int maxPlaintextSize, int numberOfEncryptionsPerThread) in testEncryptionDecryption() 151 IndCpaCipher cipher = new AesCtrJceCipher(key, ivSize); in testAesCtrHmac() local 171 Aead cipher = new ChaCha20Poly1305(key); in testChaCha20Poly1305() local 178 Aead cipher = new XChaCha20Poly1305(key); in testXChaCha20Poly1305() local
|
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/ |
D | AndroidEngineFactory.java | 34 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 43 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() 63 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 72 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() 97 static SSLEngine initEngine(SSLEngine engine, String cipher, boolean client) { in initEngine()
|
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/ |
D | AndroidEngineFactory.java | 32 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 41 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() 61 public SSLEngine newClientEngine(String cipher, boolean useAlpn) { in newClientEngine() 70 public SSLEngine newServerEngine(String cipher, boolean useAlpn) { in newServerEngine() 95 static SSLEngine initEngine(SSLEngine engine, String cipher, boolean client) { in initEngine()
|
/external/rust/android-crates-io/crates/coset/src/encrypt/ |
D | tests.rs | 685 let cipher = FakeCipher {}; in test_cose_recipient_roundtrip() localVariable 736 let cipher = FakeCipher {}; in test_cose_recipient_noncanonical() localVariable 776 let cipher = FakeCipher {}; in test_cose_recipient_result() localVariable 807 let cipher = FakeCipher {}; in test_cose_recipient_missing_ciphertext() localVariable 822 let cipher = FakeCipher {}; in test_cose_recipient_builder_invalid_context() localVariable 840 let cipher = FakeCipher {}; in test_cose_recipient_decrypt_invalid_context() localVariable 861 let cipher = FakeCipher {}; in test_cose_encrypt_roundtrip() localVariable 899 let cipher = FakeCipher {}; in test_cose_encrypt_noncanonical() localVariable 943 let cipher = FakeCipher {}; in test_cose_encrypt_status() localVariable 964 let cipher = FakeCipher {}; in test_cose_encrypt_missing_ciphertext() localVariable [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/ |
D | CBCBlockCipherMac.java | 20 private BlockCipher cipher; field in CBCBlockCipherMac 32 BlockCipher cipher) in CBCBlockCipherMac() 45 BlockCipher cipher, in CBCBlockCipherMac() 65 BlockCipher cipher, in CBCBlockCipherMac() 86 BlockCipher cipher, in CBCBlockCipherMac()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/macs/ |
D | CBCBlockCipherMac.java | 22 private BlockCipher cipher; field in CBCBlockCipherMac 34 BlockCipher cipher) in CBCBlockCipherMac() 47 BlockCipher cipher, in CBCBlockCipherMac() 67 BlockCipher cipher, in CBCBlockCipherMac() 88 BlockCipher cipher, in CBCBlockCipherMac()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/macs/ |
D | CBCBlockCipherMac.java | 22 private BlockCipher cipher; field in CBCBlockCipherMac 34 BlockCipher cipher) in CBCBlockCipherMac() 47 BlockCipher cipher, in CBCBlockCipherMac() 67 BlockCipher cipher, in CBCBlockCipherMac() 88 BlockCipher cipher, in CBCBlockCipherMac()
|
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/ |
D | cipher.c | 135 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() 231 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex() 236 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex() 592 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid() 594 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size() 598 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length() 602 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length() 606 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags() 610 uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher) { in EVP_CIPHER_mode() 614 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit() [all …]
|
/external/rust/beto-rust/nearby/presence/ldt_np_jni/java/LdtNpJni/src/test/java/com/google/android/gms/nearby/presence/hazmat/ |
D | LdtNpJniTests.kt | 71 val cipher = LdtEncryptionCipher(keySeed) in <lambda>() constant 85 val cipher = LdtEncryptionCipher(keySeed) in <lambda>() constant 119 val cipher = LdtDecryptionCipher(keySeed, hmacTag) in <lambda>() constant 137 val cipher = LdtDecryptionCipher(keySeed, hmacTag) in <lambda>() constant 151 val cipher = LdtDecryptionCipher(keySeed, hmacTag) in <lambda>() constant
|
/external/tink-java/src/main/java/com/google/crypto/tink/subtle/ |
D | EncryptThenAuthenticate.java | 43 private final IndCpaCipher cipher; field in EncryptThenAuthenticate 48 public EncryptThenAuthenticate(final IndCpaCipher cipher, final Mac mac, int macLength) { in EncryptThenAuthenticate() 53 IndCpaCipher cipher, Mac mac, int macLength, byte[] outputPrefix) { in EncryptThenAuthenticate() 88 IndCpaCipher cipher = new AesCtrJceCipher(aesCtrKey, ivSize); in newAesCtrHmac() local
|
/external/cronet/tot/third_party/boringssl/src/decrepit/evp/ |
D | evp_do_all.cc | 18 void EVP_CIPHER_do_all_sorted(void (*callback)(const EVP_CIPHER *cipher, in EVP_CIPHER_do_all_sorted() 70 void EVP_MD_do_all_sorted(void (*callback)(const EVP_MD *cipher, in EVP_MD_do_all_sorted() 93 void EVP_MD_do_all(void (*callback)(const EVP_MD *cipher, const char *name, in EVP_MD_do_all()
|
/external/boringssl/src/decrepit/evp/ |
D | evp_do_all.cc | 18 void EVP_CIPHER_do_all_sorted(void (*callback)(const EVP_CIPHER *cipher, in EVP_CIPHER_do_all_sorted() 70 void EVP_MD_do_all_sorted(void (*callback)(const EVP_MD *cipher, in EVP_MD_do_all_sorted() 93 void EVP_MD_do_all(void (*callback)(const EVP_MD *cipher, const char *name, in EVP_MD_do_all()
|