/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
D | AesGcmTest.java | 205 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in getTestVectors() local 220 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testVectors() local 234 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testEncryptWithEmptyArrays() local 260 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testDecryptWithEmptyArrays() local 317 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testLateUpdateAAD() local 350 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testIvReuse() local 376 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testByteBufferSize() local 393 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testByteBuffer() local 418 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testByteBufferAlias() local 458 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testLargeArrayAlias() local [all …]
|
/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 …]
|
D | CipherOutputStreamTest.java | 72 Cipher cipher = Cipher.getInstance(algorithm); in TestVector() local 105 Cipher cipher = Cipher.getInstance(t.algorithm); in testEncrypt() local 119 Cipher cipher = Cipher.getInstance(t.algorithm); in testDecrypt() local 133 Cipher cipher = Cipher.getInstance(t.algorithm); in testCorruptDecrypt() local 164 Cipher cipher = Cipher.getInstance(t.algorithm); in testCorruptDecryptEmpty() local
|
/external/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() 1368 uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *cipher) { return cipher->id; } in SSL_CIPHER_get_id() [all …]
|
/external/rust/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/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/rust/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/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/ppp/pppd/ |
D | pppcrypt.c | 148 DesEncrypt(clear, cipher) in DesEncrypt() argument 164 DesDecrypt(cipher, clear) in DesDecrypt() argument 193 DesEncrypt(clear, cipher) in DesEncrypt() argument 203 DesDecrypt(cipher, clear) in DesDecrypt() argument 227 DesEncrypt(clear, cipher) in DesEncrypt() argument 240 DesDecrypt(cipher, clear) in DesDecrypt() argument
|
/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/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/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/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/ |
D | cipher.c | 134 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() 576 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid() 578 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size() 582 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length() 586 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length() 590 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags() 594 uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher) { in EVP_CIPHER_mode() 598 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit() [all …]
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
D | cipher.c | 136 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() 232 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex() 237 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex() 614 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid() 616 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size() 620 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length() 624 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length() 628 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags() 632 uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher) { in EVP_CIPHER_mode() 636 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit() [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | ptksa_cache.h | 24 u32 cipher; member 55 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_get() 67 ptksa_cache_add(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher, in ptksa_cache_add() 74 const u8 *addr, u32 cipher) in ptksa_cache_flush()
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
D | rijndael-api-fst.c | 79 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) { in rijndael_cipherInit() 93 int rijndael_blockEncrypt(cipherInstance *cipher, keyInstance *key, in rijndael_blockEncrypt() 207 int rijndael_padEncrypt(cipherInstance *cipher, keyInstance *key, in rijndael_padEncrypt() 270 int rijndael_blockDecrypt(cipherInstance *cipher, keyInstance *key, in rijndael_blockDecrypt() 368 int rijndael_padDecrypt(cipherInstance *cipher, keyInstance *key, in rijndael_padDecrypt() 460 int rijndael_cipherUpdateRounds(cipherInstance *cipher, keyInstance *key, in rijndael_cipherUpdateRounds()
|
/external/boringssl/src/decrepit/evp/ |
D | evp_do_all.c | 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/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | CipherBasicsTest.java | 110 Cipher cipher; in testBasicEncryption() local 163 public void arrayBasedAssessment(Cipher cipher, byte[] aad, byte[] tag, byte[] plaintext, in arrayBasedAssessment() 206 Cipher cipher; in testAeadEncryption() local 261 public void sharedBufferBasedAssessment(Cipher cipher, byte[] aad, byte[] tag, in sharedBufferBasedAssessment() 311 public void bufferBasedAssessment(Cipher cipher, byte[] aad, byte[] tag, byte[] _plaintext, in bufferBasedAssessment() 414 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testByteBufferShiftedAlias() local
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | CipherBasicsTest.java | 109 Cipher cipher; in testBasicEncryption() local 162 public void arrayBasedAssessment(Cipher cipher, byte[] aad, byte[] tag, byte[] plaintext, in arrayBasedAssessment() 209 Cipher cipher; in testAeadEncryption() local 264 … public void sharedBufferBasedAssessment(Cipher cipher, byte[] aad, byte[] tag, byte[] _plaintext, in sharedBufferBasedAssessment() 314 public void bufferBasedAssessment(Cipher cipher, byte[] aad, byte[] tag, byte[] _plaintext, in bufferBasedAssessment() 420 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testByteBufferShiftedAlias() local
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/encodings/ |
D | OAEPEncoding.java | 33 AsymmetricBlockCipher cipher) in OAEPEncoding() 41 AsymmetricBlockCipher cipher, in OAEPEncoding() 48 AsymmetricBlockCipher cipher, in OAEPEncoding() 56 AsymmetricBlockCipher cipher, in OAEPEncoding()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/encodings/ |
D | OAEPEncoding.java | 33 AsymmetricBlockCipher cipher) in OAEPEncoding() 41 AsymmetricBlockCipher cipher, in OAEPEncoding() 48 AsymmetricBlockCipher cipher, in OAEPEncoding() 56 AsymmetricBlockCipher cipher, in OAEPEncoding()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
D | OAEPEncoding.java | 31 AsymmetricBlockCipher cipher) in OAEPEncoding() 39 AsymmetricBlockCipher cipher, in OAEPEncoding() 46 AsymmetricBlockCipher cipher, in OAEPEncoding() 54 AsymmetricBlockCipher cipher, in OAEPEncoding()
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | EngineFactory.java | 25 SSLEngine newClientEngine(String cipher, boolean useAlpn); in newClientEngine() 27 SSLEngine newServerEngine(String cipher, boolean useAlpn); in newServerEngine()
|
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/ |
D | EngineFactory.java | 26 SSLEngine newClientEngine(String cipher, boolean useAlpn); in newClientEngine() 28 SSLEngine newServerEngine(String cipher, boolean useAlpn); in newServerEngine()
|