| /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/cronet/third_party/boringssl/src/ssl/ |
| D | ssl_cipher.cc | 465 const SSL_CIPHER *cipher; member 549 size_t *out_fixed_iv_len, const SSL_CIPHER *cipher, in ssl_cipher_get_evp_aead() 624 const SSL_CIPHER *cipher) { in ssl_get_handshake_digest() 701 for (const SSL_CIPHER &cipher : kCiphers) { in ssl_cipher_collect_ciphers() local 772 void SSLCipherPreferenceList::Remove(const SSL_CIPHER *cipher) { in Remove() 1062 const SSL_CIPHER *cipher = &kCiphers[j]; in ssl_cipher_process_rulestr() local 1278 bool ssl_cipher_uses_certificate_auth(const SSL_CIPHER *cipher) { in ssl_cipher_uses_certificate_auth() 1282 bool ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher) { in ssl_cipher_requires_server_key_exchange() 1288 size_t ssl_cipher_get_record_split_len(const SSL_CIPHER *cipher) { in ssl_cipher_get_record_split_len() 1351 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/boringssl/src/ssl/ |
| D | ssl_cipher.cc | 460 for (const auto &cipher : kCiphers) { in NumTLS13Ciphers() local 475 const SSL_CIPHER *cipher; member 559 size_t *out_fixed_iv_len, const SSL_CIPHER *cipher, in ssl_cipher_get_evp_aead() 634 const SSL_CIPHER *cipher) { in ssl_get_handshake_digest() 734 void SSLCipherPreferenceList::Remove(const SSL_CIPHER *cipher) { in Remove() 1024 const SSL_CIPHER *cipher = &kCiphers[j]; in ssl_cipher_process_rulestr() local 1252 bool ssl_cipher_uses_certificate_auth(const SSL_CIPHER *cipher) { in ssl_cipher_uses_certificate_auth() 1256 bool ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher) { in ssl_cipher_requires_server_key_exchange() 1262 size_t ssl_cipher_get_record_split_len(const SSL_CIPHER *cipher) { in ssl_cipher_get_record_split_len() 1325 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/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/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/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/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/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/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/boringssl/src/crypto/fipsmodule/cipher/ |
| D | cipher.c | 140 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() 238 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex() 243 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex() 652 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid() 654 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size() 658 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length() 662 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length() 666 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags() 670 uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher) { in EVP_CIPHER_mode() 674 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit() [all …]
|
| /external/rust/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/cronet/third_party/boringssl/src/crypto/fipsmodule/cipher/ |
| D | cipher.c | 140 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() 238 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex() 243 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex() 652 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid() 654 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size() 658 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length() 662 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length() 666 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags() 670 uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher) { in EVP_CIPHER_mode() 674 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit() [all …]
|
| /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/rust/crates/quiche/deps/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/cronet/third_party/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/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/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/wpa_supplicant_8/src/common/ |
| D | ptksa_cache.h | 24 u32 cipher; member 63 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_get() 76 u32 cipher, u32 life_time, const struct wpa_ptk *ptk, in ptksa_cache_add() 83 const u8 *addr, u32 cipher) in ptksa_cache_flush()
|
| /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/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()
|