Searched refs:cipher_alg (Results 1 – 7 of 7) sorted by relevance
/external/scapy/scapy/layers/tls/ |
D | session.py | 95 self.cipher = ciphersuite.cipher_alg() 99 if ciphersuite.cipher_alg.type == "aead": 144 cipher_alg = cs.cipher_alg 147 if (cipher_alg.type == "stream") or (cipher_alg.type == "block"): 161 start += cipher_alg.key_len 162 end = start + cipher_alg.key_len 165 reqLen = cipher_alg.expanded_key_len 173 pos += 2*cipher_alg.key_len 177 if cipher_alg.type == "block": 179 start += cipher_alg.block_size [all …]
|
D | handshake_sslv2.py | 307 key = randstring(cs_cls.cipher_alg.key_len) 321 if self.keyarg == b"" and cs_cls.cipher_alg.type == "block": 322 self.keyarg = randstring(cs_cls.cipher_alg.block_size)
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_record.c | 61 rl->cipher_alg = data->alg; in tlsv1_record_set_cipher_suite() 86 if (rl->cipher_alg != CRYPTO_CIPHER_NULL) { in tlsv1_record_change_write_cipher() 87 rl->write_cbc = crypto_cipher_init(rl->cipher_alg, in tlsv1_record_change_write_cipher() 120 if (rl->cipher_alg != CRYPTO_CIPHER_NULL) { in tlsv1_record_change_read_cipher() 121 rl->read_cbc = crypto_cipher_init(rl->cipher_alg, in tlsv1_record_change_read_cipher()
|
D | tlsv1_record.h | 46 enum crypto_cipher_alg cipher_alg; member
|
/external/tpm2-tss/src/tss2-esys/ |
D | esys_crypto_ossl.c | 957 const EVP_CIPHER *cipher_alg = NULL; in iesys_cryptossl_sym_aes_encrypt() local 971 cipher_alg = EVP_aes_128_cfb(); in iesys_cryptossl_sym_aes_encrypt() 973 cipher_alg = EVP_aes_192_cfb(); in iesys_cryptossl_sym_aes_encrypt() 975 cipher_alg = EVP_aes_256_cfb(); in iesys_cryptossl_sym_aes_encrypt() 993 if (1 != EVP_EncryptInit_ex(ctx, cipher_alg, NULL, key, iv)) { in iesys_cryptossl_sym_aes_encrypt() 1045 const EVP_CIPHER *cipher_alg = NULL; in iesys_cryptossl_sym_aes_decrypt() local 1062 cipher_alg = EVP_aes_128_cfb(); in iesys_cryptossl_sym_aes_decrypt() 1064 cipher_alg = EVP_aes_192_cfb(); in iesys_cryptossl_sym_aes_decrypt() 1066 cipher_alg = EVP_aes_256_cfb(); in iesys_cryptossl_sym_aes_decrypt() 1081 if (1 != EVP_DecryptInit_ex(ctx, cipher_alg, NULL, key, iv)) { in iesys_cryptossl_sym_aes_decrypt()
|
D | esys_crypto_bssl.c | 946 const EVP_CIPHER *cipher_alg = NULL; in iesys_cryptbssl_sym_aes_encrypt() local 979 if (1 != EVP_EncryptInit_ex(ctx, cipher_alg, NULL, key, iv)) { in iesys_cryptbssl_sym_aes_encrypt() 1031 const EVP_CIPHER *cipher_alg = NULL; in iesys_cryptbssl_sym_aes_decrypt() local 1063 if (1 != EVP_DecryptInit_ex(ctx, cipher_alg, NULL, key, iv)) { in iesys_cryptbssl_sym_aes_decrypt()
|
/external/scapy/scapy/layers/tls/crypto/ |
D | suites.py | 34 cipher_alg = _tls_cipher_algs.get(s) 51 cipher_alg = _tls_cipher_algs.get(cipher_name) 54 if cipher_alg is not None and cipher_alg.type != "aead": 62 cipher_alg = _tls_cipher_algs.get(cipher_name.rstrip("_EXPORT40")) 67 return kx_alg, cipher_alg, hmac_alg, hash_alg, tls1_3
|