Home
last modified time | relevance | path

Searched refs:cipher (Results 151 – 175 of 24462) sorted by relevance

12345678910>>...979

/dports/security/py-pycryptodomex/pycryptodome-3.10.1/lib/Crypto/SelfTest/Cipher/
H A Dtest_GCM.py59 ct = cipher.encrypt(pt)
121 cipher.encrypt(b"")
125 cipher.decrypt(b"")
388 cipher.decrypt(ct)
389 cipher.verify(mac)
403 cipher.verify(mac)
418 cipher.decrypt(ct)
419 cipher.verify(mac)
424 cipher.digest()
432 cipher.verify(mac)
[all …]
H A Dtest_SIV.py153 cipher.hexverify(mac_hex)
321 mac = cipher.digest()
327 cipher.verify(mac)
332 cipher.digest()
337 mac = cipher.digest()
340 cipher.verify(mac)
437 cipher.update(x)
468 cipher.update(tv.aad)
477 cipher.update(tv.aad)
511 cipher.update(tv.aad)
[all …]
H A Dtest_CBC.py55 ct = cipher.encrypt(pt)
58 pt2 = cipher.decrypt(ct)
64 ct = cipher.encrypt(pt)
67 pt2 = cipher.decrypt(ct)
73 iv1 = cipher.iv
75 iv2 = cipher.iv
156 cipher.encrypt(b"")
160 cipher.decrypt(b"")
240 ct = cipher.encrypt(pt)
258 ct = cipher.encrypt(pt)
[all …]
H A Dtest_CTR.py55 ct = cipher.encrypt(pt)
58 pt2 = cipher.decrypt(ct)
64 ct = cipher.encrypt(pt)
67 pt2 = cipher.decrypt(ct)
112 cipher.encrypt(b'0'*300)
216 cipher.encrypt(b"")
220 cipher.decrypt(b"")
229 cipher.encrypt(b'9' * max_bytes)
283 ct = cipher.encrypt(pt)
300 ct = cipher.encrypt(pt)
[all …]
/dports/security/py-pycryptodome/pycryptodome-3.10.1/lib/Crypto/SelfTest/Cipher/
H A Dtest_SIV.py153 cipher.hexverify(mac_hex)
321 mac = cipher.digest()
327 cipher.verify(mac)
332 cipher.digest()
337 mac = cipher.digest()
340 cipher.verify(mac)
437 cipher.update(x)
468 cipher.update(tv.aad)
477 cipher.update(tv.aad)
511 cipher.update(tv.aad)
[all …]
H A Dtest_CBC.py55 ct = cipher.encrypt(pt)
58 pt2 = cipher.decrypt(ct)
64 ct = cipher.encrypt(pt)
67 pt2 = cipher.decrypt(ct)
73 iv1 = cipher.iv
75 iv2 = cipher.iv
156 cipher.encrypt(b"")
160 cipher.decrypt(b"")
240 ct = cipher.encrypt(pt)
258 ct = cipher.encrypt(pt)
[all …]
/dports/security/py-sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/openpgp/src/crypto/backend/nettle/
H A Dsymmetric.rs1 use nettle::cipher::{self, Cipher};
69 SymmetricAlgorithm::TripleDES => Ok(cipher::Des3::KEY_SIZE), in key_size()
70 SymmetricAlgorithm::CAST5 => Ok(cipher::Cast128::KEY_SIZE), in key_size()
73 SymmetricAlgorithm::AES128 => Ok(cipher::Aes128::KEY_SIZE), in key_size()
74 SymmetricAlgorithm::AES192 => Ok(cipher::Aes192::KEY_SIZE), in key_size()
75 SymmetricAlgorithm::AES256 => Ok(cipher::Aes256::KEY_SIZE), in key_size()
76 SymmetricAlgorithm::Twofish => Ok(cipher::Twofish::KEY_SIZE), in key_size()
89 SymmetricAlgorithm::CAST5 => Ok(cipher::Cast128::BLOCK_SIZE), in block_size()
91 SymmetricAlgorithm::AES128 => Ok(cipher::Aes128::BLOCK_SIZE), in block_size()
92 SymmetricAlgorithm::AES192 => Ok(cipher::Aes192::BLOCK_SIZE), in block_size()
[all …]
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/openpgp/src/crypto/backend/nettle/
H A Dsymmetric.rs1 use nettle::cipher::{self, Cipher};
69 SymmetricAlgorithm::TripleDES => Ok(cipher::Des3::KEY_SIZE), in key_size()
70 SymmetricAlgorithm::CAST5 => Ok(cipher::Cast128::KEY_SIZE), in key_size()
73 SymmetricAlgorithm::AES128 => Ok(cipher::Aes128::KEY_SIZE), in key_size()
74 SymmetricAlgorithm::AES192 => Ok(cipher::Aes192::KEY_SIZE), in key_size()
75 SymmetricAlgorithm::AES256 => Ok(cipher::Aes256::KEY_SIZE), in key_size()
76 SymmetricAlgorithm::Twofish => Ok(cipher::Twofish::KEY_SIZE), in key_size()
89 SymmetricAlgorithm::CAST5 => Ok(cipher::Cast128::BLOCK_SIZE), in block_size()
91 SymmetricAlgorithm::AES128 => Ok(cipher::Aes128::BLOCK_SIZE), in block_size()
92 SymmetricAlgorithm::AES192 => Ok(cipher::Aes192::BLOCK_SIZE), in block_size()
[all …]
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/crypto-cipher-types-0.0.9/Crypto/Cipher/Types/
H A DOfIO.hs42 isBlockSized :: (BlockCipher cipher, BlockCipherIO cipher) => cipher -> Int -> Bool
43 isBlockSized cipher bsLen = (bsLen `mod` blockSize cipher) == 0 function
45 notBlockSized :: (BlockCipher cipher, BlockCipherIO cipher) => cipher -> a
48 withDest :: BlockCipherIO cipher
49 => cipher
53 withDest cipher bs f
55 | not (isBlockSized cipher len) = notBlockSized cipher
97 ecbEncryptOfIO :: BlockCipherIO cipher => cipher -> ByteString -> ByteString
98 ecbEncryptOfIO cipher bs = withDest cipher bs $ ecbEncryptMutable cipher function
103 ecbDecryptOfIO :: BlockCipherIO cipher => cipher -> ByteString -> ByteString
[all …]
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/crypto-cipher-types-0.0.9/Crypto/Cipher/Types/
H A DOfIO.hs42 isBlockSized :: (BlockCipher cipher, BlockCipherIO cipher) => cipher -> Int -> Bool
43 isBlockSized cipher bsLen = (bsLen `mod` blockSize cipher) == 0 function
45 notBlockSized :: (BlockCipher cipher, BlockCipherIO cipher) => cipher -> a
48 withDest :: BlockCipherIO cipher
49 => cipher
53 withDest cipher bs f
55 | not (isBlockSized cipher len) = notBlockSized cipher
97 ecbEncryptOfIO :: BlockCipherIO cipher => cipher -> ByteString -> ByteString
98 ecbEncryptOfIO cipher bs = withDest cipher bs $ ecbEncryptMutable cipher function
103 ecbDecryptOfIO :: BlockCipherIO cipher => cipher -> ByteString -> ByteString
[all …]
/dports/security/gnutls/gnutls-3.6.16/tests/
H A Dtls12-cipher-neg.c44 .cipher = GNUTLS_CIPHER_NULL,
52 .cipher = GNUTLS_CIPHER_NULL,
59 .cipher = GNUTLS_CIPHER_AES_128_GCM,
66 .cipher = GNUTLS_CIPHER_AES_128_GCM,
73 .cipher = GNUTLS_CIPHER_AES_128_GCM,
80 .cipher = GNUTLS_CIPHER_AES_128_GCM,
87 .cipher = GNUTLS_CIPHER_AES_128_CCM,
175 .cipher = GNUTLS_CIPHER_3DES_CBC,
182 .cipher = GNUTLS_CIPHER_3DES_CBC,
189 .cipher = GNUTLS_CIPHER_3DES_CBC,
[all …]
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/crypto/
H A Dcrypto_stub.stub8 (define-type <cipher> "SgCipher*")
50 (define-c-proc cipher-encrypt (crypto::<cipher> pt::<bytevector>)
53 (define-c-proc cipher-decrypt (crypto::<cipher> ct::<bytevector>)
56 (define-c-proc cipher-suggest-keysize (name::<cipher> size::<fixnum>)
60 (define-c-proc cipher-update-aad!
65 (define-c-proc cipher-tag! (name::<cipher> dst::<bytevector>)
67 (define-c-proc cipher-max-tag-size (name::<cipher>) :no-side-effect
71 ;;(define-c-proc cipher-blocksize (name::<cipher>) ::<fixnum>
74 (define-c-proc cipher-iv (cipher::<cipher> :optional iv::<bytevector>)
80 (define-c-proc cipher-signature (crypto::<cipher> data::<bytevector> :rest opt)
[all …]
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/macs/
H A DCFBBlockCipherMac.java31 BlockCipher cipher, in MacCFBBlockCipher() argument
34 this.cipher = cipher; in MacCFBBlockCipher()
159 cipher.reset(); in reset()
190 BlockCipher cipher) in CFBBlockCipherMac() argument
192 this(cipher, 8, (cipher.getBlockSize() * 8) / 2, null); in CFBBlockCipherMac()
204 BlockCipher cipher, in CFBBlockCipherMac() argument
207 this(cipher, 8, (cipher.getBlockSize() * 8) / 2, padding); in CFBBlockCipherMac()
260 this.cipher = new MacCFBBlockCipher(cipher, cfbBitSize); in CFBBlockCipherMac()
278 cipher.init(params); in init()
360 cipher.getMacBlock(mac); in doFinal()
[all …]
/dports/www/minio-client/mc-RELEASE.2021-12-10T00-14-28Z/vendor/github.com/secure-io/sio-go/
H A Dsio.go81 aead cipher.AEAD
113 return cipher.NewGCM(block)
123 func NewStream(cipher cipher.AEAD, bufSize int) *Stream {
124 if cipher.NonceSize() < 4 {
134 cipher: cipher,
141 cipher cipher.AEAD member
203 cipher: s.cipher,
231 cipher: s.cipher,
262 cipher: s.cipher,
291 cipher: s.cipher,
[all …]
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-core-tests/utils/crypto/
H A DSymmetricCiphersTest.cpp63 cipher->Reset(); in TEST()
146 cipher->Reset(); in TEST()
227 cipher->Reset(); in TEST()
262 cipher->Reset(); in TEST()
359 cipher->Reset(); in TEST()
392 cipher->Reset(); in TEST()
425 cipher->Reset(); in TEST()
458 cipher->Reset(); in TEST()
491 cipher->Reset(); in TEST()
524 cipher->Reset(); in TEST()
[all …]
/dports/multimedia/kodi/xbmc-19.3-Matrix/tools/depends/target/libgcrypt/
H A D03-remove-cipher-gcm-armv8.patch1 --- a/cipher/Makefile.am
2 +++ b/cipher/Makefile.am
4 cipher.c cipher-internal.h \
5 cipher-cbc.c cipher-cfb.c cipher-ofb.c cipher-ctr.c cipher-aeswrap.c \
6 cipher-ccm.c cipher-cmac.c cipher-gcm.c cipher-gcm-intel-pclmul.c \
7 - cipher-gcm-armv8-aarch32-ce.S cipher-gcm-armv8-aarch64-ce.S \
8 cipher-poly1305.c cipher-ocb.c cipher-xts.c \
9 cipher-selftest.c cipher-selftest.h \
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/laminas/laminas-crypt/src/
H A DFileCipher.php67 protected $cipher; variable in Laminas\\Crypt\\FileCipher
72 * @param SymmetricInterface $cipher
76 if (null === $cipher) {
79 $this->cipher = $cipher;
85 * @param SymmetricInterface $cipher
89 $this->cipher = $cipher;
99 return $this->cipher;
258 $this->cipher->setKey(mb_substr($keys, 0, $this->cipher->getKeySize(), '8bit'));
260 $this->cipher->setSalt($iv);
261 $this->cipher->setMode('cbc');
[all …]
/dports/security/botan110/Botan-1.10.17/src/filters/modes/cbc/
H A Dcbc.cpp20 cipher(ciph), padder(pad) in CBC_Encryption()
25 state.resize(cipher->block_size()); in CBC_Encryption()
36 cipher(ciph), padder(pad) in CBC_Encryption()
41 state.resize(cipher->block_size()); in CBC_Encryption()
69 cipher->encrypt(state); in buffered_block()
118 cipher(ciph), padder(pad) in CBC_Decryption()
123 state.resize(cipher->block_size()); in CBC_Decryption()
135 cipher(ciph), padder(pad) in CBC_Decryption()
140 state.resize(cipher->block_size()); in CBC_Decryption()
182 cipher->block_size()); in buffered_block()
[all …]
/dports/security/p5-Crypt-ECB/Crypt-ECB-2.22/t/
H A D90-funcstyle.t15 foreach my $cipher (@ciphers)
17 eval { $ecb->cipher($cipher) };
33 my $enc2 = encrypt($xkey, $cipher, $plain, $padstyle);
35 my $dec = decrypt($xkey, $cipher, $enc2, $padstyle);
39 $enc2 = encrypt_hex($xkey, $cipher, $plain, $padstyle);
41 $dec = decrypt_hex($xkey, $cipher, $enc2, $padstyle);
47 $enc2 = encrypt($xkey, $cipher, $plain, $padstyle);
49 $dec = decrypt($xkey, $cipher, $enc2, $padstyle);
55 $dec = decrypt_hex($xkey, $cipher, $enc2, $padstyle);
61 $enc2 = encrypt($xkey, $cipher, $plain, $padstyle);
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/
H A Devp_enc.c25 if (c->cipher != NULL) { in EVP_CIPHER_CTX_reset()
26 if (c->cipher->cleanup && !c->cipher->cleanup(c)) in EVP_CIPHER_CTX_reset()
54 if (cipher != NULL) in EVP_CipherInit()
78 && (cipher == NULL || cipher->nid == ctx->cipher->nid)) in EVP_CipherInit_ex()
81 if (cipher) { in EVP_CipherInit_ex()
87 if (ctx->cipher) { in EVP_CipherInit_ex()
116 cipher = c; in EVP_CipherInit_ex()
126 ctx->cipher = cipher; in EVP_CipherInit_ex()
147 } else if (!ctx->cipher) { in EVP_CipherInit_ex()
628 if (!ctx->cipher) { in EVP_CIPHER_CTX_ctrl()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/openssl-src-111.9.0+1.1.1g/openssl/crypto/evp/
H A Devp_enc.c25 if (c->cipher != NULL) { in EVP_CIPHER_CTX_reset()
26 if (c->cipher->cleanup && !c->cipher->cleanup(c)) in EVP_CIPHER_CTX_reset()
54 if (cipher != NULL) in EVP_CipherInit()
78 && (cipher == NULL || cipher->nid == ctx->cipher->nid)) in EVP_CipherInit_ex()
81 if (cipher) { in EVP_CipherInit_ex()
87 if (ctx->cipher) { in EVP_CipherInit_ex()
116 cipher = c; in EVP_CipherInit_ex()
126 ctx->cipher = cipher; in EVP_CipherInit_ex()
147 } else if (!ctx->cipher) { in EVP_CipherInit_ex()
628 if (!ctx->cipher) { in EVP_CIPHER_CTX_ctrl()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/
H A Devp_enc.c25 if (c->cipher != NULL) { in EVP_CIPHER_CTX_reset()
26 if (c->cipher->cleanup && !c->cipher->cleanup(c)) in EVP_CIPHER_CTX_reset()
54 if (cipher != NULL) in EVP_CipherInit()
78 && (cipher == NULL || cipher->nid == ctx->cipher->nid)) in EVP_CipherInit_ex()
81 if (cipher) { in EVP_CipherInit_ex()
87 if (ctx->cipher) { in EVP_CipherInit_ex()
116 cipher = c; in EVP_CipherInit_ex()
126 ctx->cipher = cipher; in EVP_CipherInit_ex()
147 } else if (!ctx->cipher) { in EVP_CipherInit_ex()
628 if (!ctx->cipher) { in EVP_CIPHER_CTX_ctrl()
[all …]
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/
H A Devp_enc.c25 if (c->cipher != NULL) { in EVP_CIPHER_CTX_reset()
26 if (c->cipher->cleanup && !c->cipher->cleanup(c)) in EVP_CIPHER_CTX_reset()
54 if (cipher != NULL) in EVP_CipherInit()
78 && (cipher == NULL || cipher->nid == ctx->cipher->nid)) in EVP_CipherInit_ex()
81 if (cipher) { in EVP_CipherInit_ex()
87 if (ctx->cipher) { in EVP_CipherInit_ex()
116 cipher = c; in EVP_CipherInit_ex()
126 ctx->cipher = cipher; in EVP_CipherInit_ex()
147 } else if (!ctx->cipher) { in EVP_CipherInit_ex()
628 if (!ctx->cipher) { in EVP_CIPHER_CTX_ctrl()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/
H A Devp_enc.c25 if (c->cipher != NULL) { in EVP_CIPHER_CTX_reset()
26 if (c->cipher->cleanup && !c->cipher->cleanup(c)) in EVP_CIPHER_CTX_reset()
54 if (cipher != NULL) in EVP_CipherInit()
78 && (cipher == NULL || cipher->nid == ctx->cipher->nid)) in EVP_CipherInit_ex()
81 if (cipher) { in EVP_CipherInit_ex()
87 if (ctx->cipher) { in EVP_CipherInit_ex()
116 cipher = c; in EVP_CipherInit_ex()
126 ctx->cipher = cipher; in EVP_CipherInit_ex()
147 } else if (!ctx->cipher) { in EVP_CipherInit_ex()
628 if (!ctx->cipher) { in EVP_CIPHER_CTX_ctrl()
[all …]
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/
H A Devp_enc.c25 if (c->cipher != NULL) { in EVP_CIPHER_CTX_reset()
26 if (c->cipher->cleanup && !c->cipher->cleanup(c)) in EVP_CIPHER_CTX_reset()
54 if (cipher != NULL) in EVP_CipherInit()
78 && (cipher == NULL || cipher->nid == ctx->cipher->nid)) in EVP_CipherInit_ex()
81 if (cipher) { in EVP_CipherInit_ex()
87 if (ctx->cipher) { in EVP_CipherInit_ex()
116 cipher = c; in EVP_CipherInit_ex()
126 ctx->cipher = cipher; in EVP_CipherInit_ex()
147 } else if (!ctx->cipher) { in EVP_CipherInit_ex()
628 if (!ctx->cipher) { in EVP_CIPHER_CTX_ctrl()
[all …]

12345678910>>...979