/dports/sysutils/kf5-kwallet/kwallet-5.89.0/src/runtime/kwalletd/backend/ |
H A D | cbc.master.cc | 32 if (_cipher) { in setKey() 40 if (_cipher) { in keyLen() 41 return _cipher->keyLen(); in keyLen() 48 if (_cipher) { in variableKeyLen() 49 return _cipher->variableKeyLen(); in variableKeyLen() 56 if (_cipher) { in readyToGo() 57 return _cipher->readyToGo(); in readyToGo() 64 if (_cipher && !_reader) { in encrypt() 83 rc = _cipher->encrypt(block, len); in encrypt() 96 if (_cipher && !_writer) { in decrypt() [all …]
|
H A D | cbc.cc | 13 _cipher(cipher) in CipherBlockChain() 35 if (_cipher) { in setKey() 43 if (_cipher) { in keyLen() 44 return _cipher->keyLen(); in keyLen() 51 if (_cipher) { in variableKeyLen() 52 return _cipher->variableKeyLen(); in variableKeyLen() 59 if (_cipher) { in readyToGo() 60 return _cipher->readyToGo(); in readyToGo() 76 if (_cipher && !_reader) { in encrypt() 113 if (_cipher && !_writer) { in decryptECB() [all …]
|
/dports/net/scapy/scapy-2.4.5/scapy/layers/tls/crypto/ |
H A D | cipher_aead.py | 108 self._cipher = self.cipher_cls(key) 112 if self._cipher is not None: 116 self._cipher._key = val 152 self._cipher.mode._tag = None 153 encryptor = self._cipher.encryptor() 196 self._cipher.mode._tag = mac 197 decryptor = self._cipher.decryptor() 297 if self._cipher is not None: 301 self._cipher._key = val 323 self._cipher.mode._tag = None [all …]
|
/dports/irc/quassel-core/quassel-0.14-rc2/src/core/ |
H A D | coreircuser.cpp | 29 _cipher = nullptr; in CoreIrcUser() 36 if (!_cipher) { in CoreIrcUser() 37 _cipher = new Cipher(); in CoreIrcUser() 39 setEncrypted(_cipher->setKey(key)); in CoreIrcUser() 53 if (coreNetwork && _cipher) { in ~CoreIrcUser() 54 coreNetwork->storeChannelCipherKey(nick().toLower(), _cipher->key()); in ~CoreIrcUser() 57 delete _cipher; in ~CoreIrcUser() 64 if (!_cipher) in cipher() 65 _cipher = new Cipher(); in cipher() 67 return _cipher; in cipher()
|
H A D | coreircchannel.cpp | 30 _cipher = nullptr; in CoreIrcChannel() 51 if (coreNetwork && _cipher) { in ~CoreIrcChannel() 52 coreNetwork->storeChannelCipherKey(name(), _cipher->key()); in ~CoreIrcChannel() 55 delete _cipher; in ~CoreIrcChannel() 62 if (!_cipher) in cipher() 63 _cipher = new Cipher(); in cipher() 65 return _cipher; in cipher()
|
/dports/irc/quassel/quassel-0.14-rc2/src/core/ |
H A D | coreircuser.cpp | 29 _cipher = nullptr; in CoreIrcUser() 36 if (!_cipher) { in CoreIrcUser() 37 _cipher = new Cipher(); in CoreIrcUser() 39 setEncrypted(_cipher->setKey(key)); in CoreIrcUser() 53 if (coreNetwork && _cipher) { in ~CoreIrcUser() 54 coreNetwork->storeChannelCipherKey(nick().toLower(), _cipher->key()); in ~CoreIrcUser() 57 delete _cipher; in ~CoreIrcUser() 64 if (!_cipher) in cipher() 65 _cipher = new Cipher(); in cipher() 67 return _cipher; in cipher()
|
H A D | coreircchannel.cpp | 30 _cipher = nullptr; in CoreIrcChannel() 51 if (coreNetwork && _cipher) { in ~CoreIrcChannel() 52 coreNetwork->storeChannelCipherKey(name(), _cipher->key()); in ~CoreIrcChannel() 55 delete _cipher; in ~CoreIrcChannel() 62 if (!_cipher) in cipher() 63 _cipher = new Cipher(); in cipher() 65 return _cipher; in cipher()
|
/dports/devel/lua-resty-string/lua-resty-string-0.15/lib/resty/ |
H A D | aes.lua | 108 cipher = function (size, _cipher) 110 local _cipher = _cipher or "cbc" 111 local func = "EVP_aes_" .. _size .. "_" .. _cipher 113 return { size=_size, cipher=_cipher, method=C[func]()} 135 local _cipher = _cipher or cipher() 138 local _cipherLength = _cipher.size/8 192 C.EVP_DecryptInit_ex(decrypt_ctx, _cipher.method, nil, 197 local cipher_name = _cipher.cipher 220 _cipher = _cipher.cipher, 248 if self._cipher == "gcm" then [all …]
|
/dports/science/py-obspy/obspy-1.2.2/obspy/clients/arclink/ |
H A D | decrypt.py | 54 self._cipher = None 62 if self._cipher is None: 69 self._cipher = EVP.Cipher('des_cbc', key, iv, 0) 71 self._cipher = Cipher(algorithms.TripleDES(key), modes.CBC(iv), 74 self._cipher = DES.new(key, DES.MODE_CBC, iv) 78 return self._cipher.update(chunk) 80 return self._cipher.update(chunk) 82 return self._cipher.decrypt(chunk) 87 if self._cipher is None: 90 return self._cipher.final() [all …]
|
/dports/devel/rth/rth/adodb-4.65/session/ |
H A D | adodb-encrypt-mcrypt.php | 24 var $_cipher; variable in ADODB_Encrypt_MCrypt 37 return $this->_cipher; 43 $this->_cipher = $cipher; 83 $this->_cipher = $cipher; 91 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 93 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/deskutils/myitcrm/MyITCRM-0.2.9.3/include/ADODB/session/ |
H A D | adodb-encrypt-mcrypt.php | 24 var $_cipher; variable in ADODB_Encrypt_MCrypt 37 return $this->_cipher; 43 $this->_cipher = $cipher; 83 $this->_cipher = $cipher; 91 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 93 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/deskutils/moregroupware/moregroupware/include/adodb/session/ |
H A D | adodb-encrypt-mcrypt.php | 24 var $_cipher; variable in ADODB_Encrypt_MCrypt 37 return $this->_cipher; 43 $this->_cipher = $cipher; 83 $this->_cipher = $cipher; 91 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 93 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/databases/adodb5/ADOdb-5.21.3/session/ |
H A D | adodb-encrypt-mcrypt.php | 32 var $_cipher; variable in ADODB_Encrypt_MCrypt 45 return $this->_cipher; 51 $this->_cipher = $cipher; 91 $this->_cipher = $cipher; 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 107 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 109 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/databases/adodb/adodb/session/ |
H A D | adodb-encrypt-mcrypt.php | 24 var $_cipher; variable in ADODB_Encrypt_MCrypt 37 return $this->_cipher; 43 $this->_cipher = $cipher; 83 $this->_cipher = $cipher; 91 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 93 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/deskutils/egroupware/egroupware/vendor/egroupware/adodb-php/session/ |
H A D | adodb-encrypt-mcrypt.php | 26 var $_cipher; variable in ADODB_Encrypt_MCrypt 39 return $this->_cipher; 45 $this->_cipher = $cipher; 85 $this->_cipher = $cipher; 93 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 95 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 101 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 103 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/comms/atslog/atslog-2.1.1/www/include/adodb/session/ |
H A D | adodb-encrypt-mcrypt.php | 24 var $_cipher; variable in ADODB_Encrypt_MCrypt 37 return $this->_cipher; 43 $this->_cipher = $cipher; 83 $this->_cipher = $cipher; 91 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 93 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/devel/truc/truc_0.12.0/adodb-4.65/session/ |
H A D | adodb-encrypt-mcrypt.php | 24 var $_cipher; variable in ADODB_Encrypt_MCrypt 37 return $this->_cipher; 43 $this->_cipher = $cipher; 83 $this->_cipher = $cipher; 91 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 93 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/www/phprecipebook/phprecipebook/libs/adodb4/session/ |
H A D | adodb-encrypt-mcrypt.php | 24 var $_cipher; variable in ADODB_Encrypt_MCrypt 37 return $this->_cipher; 43 $this->_cipher = $cipher; 83 $this->_cipher = $cipher; 91 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 93 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/www/phprecipebook/phprecipebook/libs/adodb5/session/ |
H A D | adodb-encrypt-mcrypt.php | 24 var $_cipher; variable in ADODB_Encrypt_MCrypt 37 return $this->_cipher; 43 $this->_cipher = $cipher; 83 $this->_cipher = $cipher; 91 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 93 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 99 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 101 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/adodb/adodb-php/session/ |
H A D | adodb-encrypt-mcrypt.php | 26 var $_cipher; variable in ADODB_Encrypt_MCrypt 39 return $this->_cipher; 45 $this->_cipher = $cipher; 85 $this->_cipher = $cipher; 93 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 95 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 101 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 103 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/databases/mantis/mantisbt-2.25.2/vendor/adodb/adodb-php/session/ |
H A D | adodb-encrypt-mcrypt.php | 26 var $_cipher; 39 return $this->_cipher; 45 $this->_cipher = $cipher; 85 $this->_cipher = $cipher; 93 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 95 return mcrypt_encrypt($this->_cipher, $key, $data, $this->_mode, $iv); 101 $iv_size = mcrypt_get_iv_size($this->_cipher, $this->_mode); 103 $rv = mcrypt_decrypt($this->_cipher, $key, $data, $this->_mode, $iv);
|
/dports/security/py-asyncssh/asyncssh-2.8.1/asyncssh/ |
H A D | encryption.py | 69 self._cipher = cipher 90 return self._cipher.encrypt(packet), mac 95 first_block = self._cipher.decrypt(first_block) 102 packet = first + self._cipher.decrypt(rest) 116 packet = header + self._cipher.encrypt(packet) 130 return self._cipher.decrypt(packet[header_len:]) 139 self._cipher = cipher 156 return self._cipher.encrypt_and_sign(header, packet) 166 return self._cipher.verify_and_decrypt(first[:header_len], 174 self._cipher = cipher [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/google-endpoints/Crypto/Cipher/ |
H A D | blockalgo.py | 141 self._cipher = factory.new(key, *args, **kwargs) 142 self.IV = self._cipher.IV 183 self._cipher = factory.new(key, MODE_CFB, 236 res = self._cipher.encrypt(padded)[:len(plaintext)] 238 res = self._cipher.encrypt(plaintext) 244 return self._cipher.encrypt(plaintext) 290 res = self._cipher.decrypt(padded)[:len(ciphertext)] 292 res = self._cipher.decrypt(ciphertext) 295 return self._cipher.decrypt(ciphertext)
|
H A D | XOR.py | 44 self._cipher = _XOR.new(key, *args, **kwargs) 45 self.block_size = self._cipher.block_size 46 self.key_size = self._cipher.key_size 57 return self._cipher.encrypt(plaintext) 68 return self._cipher.decrypt(ciphertext)
|
/dports/security/py-pycrypto/pycrypto-2.6.1/lib/Crypto/Cipher/ |
H A D | blockalgo.py | 141 self._cipher = factory.new(key, *args, **kwargs) 142 self.IV = self._cipher.IV 183 self._cipher = factory.new(key, MODE_CFB, 236 res = self._cipher.encrypt(padded)[:len(plaintext)] 238 res = self._cipher.encrypt(plaintext) 244 return self._cipher.encrypt(plaintext) 290 res = self._cipher.decrypt(padded)[:len(ciphertext)] 292 res = self._cipher.decrypt(ciphertext) 295 return self._cipher.decrypt(ciphertext)
|