/dports/security/tinc-devel/tinc-1.1pre18/src/openssl/ |
H A D | cipher.c | 36 cipher_t *cipher = xzalloc(sizeof(*cipher)); in cipher_open() local 37 cipher->cipher = evp_cipher; in cipher_open() 79 if(!cipher || !cipher->cipher) { in cipher_keylength() 83 return EVP_CIPHER_key_length(cipher->cipher) + EVP_CIPHER_iv_length(cipher->cipher); in cipher_keylength() 94 if(!cipher || !cipher->cipher) { in cipher_budget() 106 if(!cipher || !cipher->cipher) { in cipher_blocksize() 134 …cipher->ctx, cipher->cipher, NULL, (unsigned char *)key + len - EVP_CIPHER_key_length(cipher->ciph… in cipher_set_key_from_rsa() 136 …cipher->ctx, cipher->cipher, NULL, (unsigned char *)key + len - EVP_CIPHER_key_length(cipher->ciph… in cipher_set_key_from_rsa() 206 if(!cipher || !cipher->cipher) { in cipher_get_nid() 210 return EVP_CIPHER_nid(cipher->cipher); in cipher_get_nid() [all …]
|
/dports/lang/ruby26/ruby-2.6.9/test/openssl/ |
H A D | test_cipher.rb | 25 assert_equal ct, cipher.update(pt) << cipher.final 37 s1 = cipher.update(pt) << cipher.final 44 s2 = cipher.update(pt) << cipher.final 61 assert_equal cipher.name, cipher.dup.name 66 s1 = cipher.update("data") + cipher.final 76 s1 = cipher.update("data") + cipher.final 78 s2 = cipher.update("data") + cipher.final 98 cipher.update(data) << cipher.final 106 cipher.update(data) << cipher.final 288 ct1 = cipher.update(pt) << cipher.final [all …]
|
/dports/security/duo/duo_unix-1.11.4/tests/ |
H A D | test_crypto-0.t | 7 Checking for low-level cipher calls 12 Scanning for cipher function: AES_encrypt 13 Scanning for cipher function: AES_decrypt 15 Scanning for cipher function: AES_ecb_encrypt 16 Scanning for cipher function: AES_cbc_encrypt 24 Scanning for cipher function: AES_wrap_key 26 Scanning for cipher function: BF_set_key 27 Scanning for cipher function: BF_encrypt 42 Scanning for cipher function: CAST_set_key 44 Scanning for cipher function: CAST_encrypt [all …]
|
/dports/security/tinc-devel/tinc-1.1pre18/src/gcrypt/ |
H A D | cipher.c | 111 cipher->key = xmalloc(cipher->keylen + cipher->blklen); in cipher_open() 158 memcpy(key, cipher->key, cipher->keylen + cipher->blklen); in cipher_get_key() 162 memcpy(cipher->key, key, cipher->keylen + cipher->blklen); in cipher_set_key() 164 gcry_cipher_setkey(cipher->handle, cipher->key, cipher->keylen); in cipher_set_key() 165 gcry_cipher_setiv(cipher->handle, cipher->key + cipher->keylen, cipher->blklen); in cipher_set_key() 171 memcpy(cipher->key, key + len - cipher->keylen, cipher->keylen + cipher->blklen); in cipher_set_key_from_rsa() 172 memcpy(cipher->key + cipher->keylen, key + len - cipher->keylen - cipher->blklen, cipher->blklen); in cipher_set_key_from_rsa() 175 gcry_cipher_setiv(cipher->handle, cipher->key + cipher->keylen, cipher->blklen); in cipher_set_key_from_rsa() 184 gcry_cipher_setiv(cipher->handle, cipher->key + cipher->keylen, cipher->blklen); in cipher_regenerate_key() 217 gcry_cipher_setiv(cipher->handle, cipher->key + cipher->keylen, cipher->blklen); in cipher_encrypt() [all …]
|
/dports/net-im/libpurple/pidgin-2.14.8/libpurple/ |
H A D | cipher.c | 294 cipher = context->cipher; in purple_cipher_context_set_option() 311 cipher = context->cipher; in purple_cipher_context_get_option() 333 context->cipher = cipher; in purple_cipher_context_new() 360 cipher = context->cipher; in purple_cipher_context_reset() 373 cipher = context->cipher; in purple_cipher_context_destroy() 394 cipher = context->cipher; in purple_cipher_context_set_iv() 412 cipher = context->cipher; in purple_cipher_context_append() 430 cipher = context->cipher; in purple_cipher_context_digest() 478 cipher = context->cipher; in purple_cipher_context_encrypt() 502 cipher = context->cipher; in purple_cipher_context_decrypt() [all …]
|
/dports/net-im/pidgin/pidgin-2.14.8/libpurple/ |
H A D | cipher.c | 294 cipher = context->cipher; in purple_cipher_context_set_option() 311 cipher = context->cipher; in purple_cipher_context_get_option() 333 context->cipher = cipher; in purple_cipher_context_new() 360 cipher = context->cipher; in purple_cipher_context_reset() 373 cipher = context->cipher; in purple_cipher_context_destroy() 394 cipher = context->cipher; in purple_cipher_context_set_iv() 412 cipher = context->cipher; in purple_cipher_context_append() 430 cipher = context->cipher; in purple_cipher_context_digest() 478 cipher = context->cipher; in purple_cipher_context_encrypt() 502 cipher = context->cipher; in purple_cipher_context_decrypt() [all …]
|
/dports/net-im/finch/pidgin-2.14.8/libpurple/ |
H A D | cipher.c | 294 cipher = context->cipher; in purple_cipher_context_set_option() 311 cipher = context->cipher; in purple_cipher_context_get_option() 333 context->cipher = cipher; in purple_cipher_context_new() 360 cipher = context->cipher; in purple_cipher_context_reset() 373 cipher = context->cipher; in purple_cipher_context_destroy() 394 cipher = context->cipher; in purple_cipher_context_set_iv() 412 cipher = context->cipher; in purple_cipher_context_append() 430 cipher = context->cipher; in purple_cipher_context_digest() 478 cipher = context->cipher; in purple_cipher_context_encrypt() 502 cipher = context->cipher; in purple_cipher_context_decrypt() [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 27 if (cipher != NULL) { in EVP_CIPHER_meth_new() 33 return cipher; in EVP_CIPHER_meth_new() 44 if (cipher->prov != NULL) in EVP_CIPHER_meth_dup() 47 if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 60 if (cipher == NULL || cipher->origin != EVP_ORIG_METH) in EVP_CIPHER_meth_free() 77 if (cipher->flags != 0) in EVP_CIPHER_meth_set_flags() 80 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 102 cipher->init = init; in EVP_CIPHER_meth_set_init() 158 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 168 return cipher->init; in EVP_CIPHER_meth_get_init() [all …]
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 27 if (cipher != NULL) { in EVP_CIPHER_meth_new() 33 return cipher; in EVP_CIPHER_meth_new() 44 if (cipher->prov != NULL) in EVP_CIPHER_meth_dup() 47 if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 60 if (cipher == NULL || cipher->origin != EVP_ORIG_METH) in EVP_CIPHER_meth_free() 77 if (cipher->flags != 0) in EVP_CIPHER_meth_set_flags() 80 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 102 cipher->init = init; in EVP_CIPHER_meth_set_init() 158 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 168 return cipher->init; in EVP_CIPHER_meth_get_init() [all …]
|
/dports/security/acmed/acmed-0.18.0/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 27 if (cipher != NULL) { in EVP_CIPHER_meth_new() 33 return cipher; in EVP_CIPHER_meth_new() 44 if (cipher->prov != NULL) in EVP_CIPHER_meth_dup() 47 if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 60 if (cipher == NULL || cipher->origin != EVP_ORIG_METH) in EVP_CIPHER_meth_free() 77 if (cipher->flags != 0) in EVP_CIPHER_meth_set_flags() 80 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 102 cipher->init = init; in EVP_CIPHER_meth_set_init() 158 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 168 return cipher->init; in EVP_CIPHER_meth_get_init() [all …]
|
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 27 if (cipher != NULL) { in EVP_CIPHER_meth_new() 33 return cipher; in EVP_CIPHER_meth_new() 44 if (cipher->prov != NULL) in EVP_CIPHER_meth_dup() 47 if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 60 if (cipher == NULL || cipher->origin != EVP_ORIG_METH) in EVP_CIPHER_meth_free() 77 if (cipher->flags != 0) in EVP_CIPHER_meth_set_flags() 80 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 102 cipher->init = init; in EVP_CIPHER_meth_set_init() 158 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 168 return cipher->init; in EVP_CIPHER_meth_get_init() [all …]
|
/dports/security/openssl-quictls/openssl-7f2ab56a2b842b8e6fefc7b9d20eb5ff9c6ef151/crypto/evp/ |
H A D | cmeth_lib.c | 27 if (cipher != NULL) { in EVP_CIPHER_meth_new() 33 return cipher; in EVP_CIPHER_meth_new() 44 if (cipher->prov != NULL) in EVP_CIPHER_meth_dup() 47 if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 60 if (cipher == NULL || cipher->origin != EVP_ORIG_METH) in EVP_CIPHER_meth_free() 77 if (cipher->flags != 0) in EVP_CIPHER_meth_set_flags() 80 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 102 cipher->init = init; in EVP_CIPHER_meth_set_init() 158 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 168 return cipher->init; in EVP_CIPHER_meth_get_init() [all …]
|
/dports/security/openssl-devel/openssl-3.0.2/crypto/evp/ |
H A D | cmeth_lib.c | 27 if (cipher != NULL) { in EVP_CIPHER_meth_new() 33 return cipher; in EVP_CIPHER_meth_new() 44 if (cipher->prov != NULL) in EVP_CIPHER_meth_dup() 47 if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 60 if (cipher == NULL || cipher->origin != EVP_ORIG_METH) in EVP_CIPHER_meth_free() 77 if (cipher->flags != 0) in EVP_CIPHER_meth_set_flags() 80 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 102 cipher->init = init; in EVP_CIPHER_meth_set_init() 158 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 168 return cipher->init; in EVP_CIPHER_meth_get_init() [all …]
|
/dports/security/p5-Crypt-CBCeasy/Crypt-CBCeasy-0.24/ |
H A D | test.pl | 75 for $cipher(@ciphers) { 81 if ($res) {$res{$cipher}->{"ok"}++} else {$res{$cipher}->{"failed"}++} 92 for $cipher(@ciphers) { 93 ($ok, $failed) = ($res{$cipher}->{"ok"}, $res{$cipher}->{"failed"}); 94 print "Crypt::$cipher ".(" "x($len-length $cipher)). 99 my $out = "tests/$cipher.o1"; 108 my $in = "tests/$cipher.o1"; 109 my $out = "tests/$cipher.o2"; 120 my $in = "tests/$cipher.o1"; 121 my $out = "tests/$cipher.o3"; [all …]
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/ssl/src/ |
H A D | ssl_cipher_format.erl | 88 cipher => null, 96 cipher => null, 309 cipher => null, 314 cipher => null, 319 cipher => null, 385 cipher => null, 390 cipher => null, 395 cipher => null, 400 cipher => null, 405 cipher => null, [all …]
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/openssl-src-111.9.0+1.1.1g/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.14.0+1.1.1j/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.15.0+1.1.1k/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 20 if (cipher != NULL) { in EVP_CIPHER_meth_new() 25 return cipher; in EVP_CIPHER_meth_new() 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, in EVP_CIPHER_meth_dup() 40 OPENSSL_free(cipher); in EVP_CIPHER_meth_free() 45 cipher->iv_len = iv_len; in EVP_CIPHER_meth_set_iv_length() 51 cipher->flags = flags; in EVP_CIPHER_meth_set_flags() 67 cipher->init = init; in EVP_CIPHER_meth_set_init() 108 cipher->ctrl = ctrl; in EVP_CIPHER_meth_set_ctrl() 118 return cipher->init; in EVP_CIPHER_meth_get_init() 130 return cipher->cleanup; in EVP_CIPHER_meth_get_cleanup() [all …]
|