/dports/www/h2o-devel/h2o-dcc7134/deps/picotls/lib/cifra/ |
H A D | aes128.c | 24 static int aes128ecb_setup_crypto(ptls_cipher_context_t *ctx, int is_enc, const void *key) in aes128ecb_setup_crypto() argument 26 return aesecb_setup_crypto(ctx, is_enc, key); in aes128ecb_setup_crypto() 29 static int aes128ctr_setup_crypto(ptls_cipher_context_t *ctx, int is_enc, const void *key) in aes128ctr_setup_crypto() argument 31 return aesctr_setup_crypto(ctx, is_enc, key); in aes128ctr_setup_crypto() 34 static int aead_aes128gcm_setup_crypto(ptls_aead_context_t *ctx, int is_enc, const void *key, const… in aead_aes128gcm_setup_crypto() argument 36 return aead_aesgcm_setup_crypto(ctx, is_enc, key, iv); in aead_aes128gcm_setup_crypto()
|
H A D | aes256.c | 24 static int aes256ecb_setup_crypto(ptls_cipher_context_t *ctx, int is_enc, const void *key) in aes256ecb_setup_crypto() argument 26 return aesecb_setup_crypto(ctx, is_enc, key); in aes256ecb_setup_crypto() 29 static int aes256ctr_setup_crypto(ptls_cipher_context_t *ctx, int is_enc, const void *key) in aes256ctr_setup_crypto() argument 31 return aesctr_setup_crypto(ctx, is_enc, key); in aes256ctr_setup_crypto() 34 static int aead_aes256gcm_setup_crypto(ptls_aead_context_t *ctx, int is_enc, const void *key, const… in aead_aes256gcm_setup_crypto() argument 36 return aead_aesgcm_setup_crypto(ctx, is_enc, key, iv); in aead_aes256gcm_setup_crypto()
|
H A D | aes-common.h | 55 static inline int aesecb_setup_crypto(ptls_cipher_context_t *_ctx, int is_enc, const void *key) in aesecb_setup_crypto() argument 60 ctx->super.do_transform = is_enc ? aesecb_encrypt : aesecb_decrypt; in aesecb_setup_crypto() 89 static inline int aesctr_setup_crypto(ptls_cipher_context_t *_ctx, int is_enc, const void *key) in aesctr_setup_crypto() argument 166 static inline int aead_aesgcm_setup_crypto(ptls_aead_context_t *_ctx, int is_enc, const void *key, … in aead_aesgcm_setup_crypto() argument 172 if (is_enc) { in aead_aesgcm_setup_crypto()
|
H A D | chacha20.c | 57 static int chacha20_setup_crypto(ptls_cipher_context_t *_ctx, int is_enc, const void *key) in chacha20_setup_crypto() argument 191 static int aead_chacha20poly1305_setup_crypto(ptls_aead_context_t *_ctx, int is_enc, const void *ke… in aead_chacha20poly1305_setup_crypto() argument 197 if (is_enc) { in aead_chacha20poly1305_setup_crypto()
|
/dports/www/h2o-devel/h2o-dcc7134/deps/picotls/include/picotls/ |
H A D | ffx.h | 82 int is_enc; member 116 …ase##_b##bitlength##_r##nbrounds##_setup(ptls_cipher_context_t *ctx, int is_enc, const void *key) … 118 …return ptls_ffx_setup_crypto(ctx, &base, is_enc, nbrounds, bitlength, key); … 129 ptls_cipher_context_t *ptls_ffx_new(ptls_cipher_algorithm_t *algo, int is_enc, int nb_rounds, size_… 136 int ptls_ffx_setup_crypto(ptls_cipher_context_t *_ctx, ptls_cipher_algorithm_t *algo, int is_enc, i…
|
H A D | fusion.h | 43 void ptls_fusion_aesecb_init(ptls_fusion_aesecb_context_t *ctx, int is_enc, const void *key, size_t…
|
/dports/www/h2o-devel/h2o-dcc7134/deps/picotls/lib/ |
H A D | ffx.c | 32 int ptls_ffx_setup_crypto(ptls_cipher_context_t *_ctx, ptls_cipher_algorithm_t *algo, int is_enc, i… in ptls_ffx_setup_crypto() argument 64 ctx->is_enc = is_enc; in ptls_ffx_setup_crypto() 97 ctx->is_enc = 0; in ffx_dispose() 104 ptls_cipher_context_t *ptls_ffx_new(ptls_cipher_algorithm_t *algo, int is_enc, int nb_rounds, size_… in ptls_ffx_new() argument 110 if (ptls_ffx_setup_crypto(ctx, algo, is_enc, nb_rounds, bit_length, key) != 0) { in ptls_ffx_new() 161 if (ctx->is_enc) { in ffx_encrypt()
|
H A D | openssl.c | 800 if (is_enc) { in cipher_setup_crypto() 833 …return cipher_setup_crypto(ctx, is_enc, key, EVP_aes_128_ecb(), is_enc ? cipher_encrypt : cipher_d… in aes128ecb_setup_crypto() 838 …return cipher_setup_crypto(ctx, is_enc, key, EVP_aes_256_ecb(), is_enc ? cipher_encrypt : cipher_d… in aes256ecb_setup_crypto() 853 static int chacha20_setup_crypto(ptls_cipher_context_t *ctx, int is_enc, const void *key) in chacha20_setup_crypto() argument 862 static int bfecb_setup_crypto(ptls_cipher_context_t *ctx, int is_enc, const void *key) in bfecb_setup_crypto() argument 864 …return cipher_setup_crypto(ctx, is_enc, key, EVP_bf_ecb(), is_enc ? cipher_encrypt : cipher_decryp… in bfecb_setup_crypto() 978 if (is_enc) { in aead_setup_crypto() 996 if (is_enc) { in aead_setup_crypto() 1021 return aead_setup_crypto(ctx, is_enc, key, iv, EVP_aes_128_gcm()); in aead_aes128gcm_setup_crypto() 1026 return aead_setup_crypto(ctx, is_enc, key, iv, EVP_aes_256_gcm()); in aead_aes256gcm_setup_crypto() [all …]
|
H A D | ptlsbcrypt.c | 76 int is_enc; member 119 if (ctx->bctx.is_enc) { in ptls_bcrypt_cipher_transform_ecb() 221 ctx->bctx.is_enc = is_enc; in ptls_bcrypt_cipher_setup_crypto() 229 static int ptls_bcrypt_cipher_setup_crypto_aes_ecb(ptls_cipher_context_t *_ctx, int is_enc, const v… in ptls_bcrypt_cipher_setup_crypto_aes_ecb() argument 231 return ptls_bcrypt_cipher_setup_crypto(_ctx, is_enc, key, BCRYPT_AES_ALGORITHM, 0); in ptls_bcrypt_cipher_setup_crypto_aes_ecb() 234 static int ptls_bcrypt_cipher_setup_crypto_aes_ctr(ptls_cipher_context_t *_ctx, int is_enc, const v… in ptls_bcrypt_cipher_setup_crypto_aes_ctr() argument 236 return ptls_bcrypt_cipher_setup_crypto(_ctx, is_enc, key, BCRYPT_AES_ALGORITHM, 1); in ptls_bcrypt_cipher_setup_crypto_aes_ctr() 488 static int ptls_bcrypt_aead_setup_crypto(ptls_aead_context_t *_ctx, int is_enc, const void *key, co… in ptls_bcrypt_aead_setup_crypto() argument 540 if (is_enc) { in ptls_bcrypt_aead_setup_crypto() 562 static int ptls_bcrypt_aead_setup_crypto_aesgcm(ptls_aead_context_t *_ctx, int is_enc, const void *… in ptls_bcrypt_aead_setup_crypto_aesgcm() argument [all …]
|
H A D | fusion.c | 692 void ptls_fusion_aesecb_init(ptls_fusion_aesecb_context_t *ctx, int is_enc, const void *key, size_t… in ptls_fusion_aesecb_init() argument 694 assert(is_enc && "decryption is not supported (yet)"); in ptls_fusion_aesecb_init() 851 static int aesctr_setup(ptls_cipher_context_t *_ctx, int is_enc, const void *key, size_t key_size) in aesctr_setup() argument 864 static int aes128ctr_setup(ptls_cipher_context_t *ctx, int is_enc, const void *key) in aes128ctr_setup() argument 866 return aesctr_setup(ctx, is_enc, key, PTLS_AES128_KEY_SIZE); in aes128ctr_setup() 869 static int aes256ctr_setup(ptls_cipher_context_t *ctx, int is_enc, const void *key) in aes256ctr_setup() argument 871 return aesctr_setup(ctx, is_enc, key, PTLS_AES256_KEY_SIZE); in aes256ctr_setup() 964 static int aes128gcm_setup(ptls_aead_context_t *ctx, int is_enc, const void *key, const void *iv) in aes128gcm_setup() argument 966 return aesgcm_setup(ctx, is_enc, key, iv, PTLS_AES128_KEY_SIZE); in aes128gcm_setup() 969 static int aes256gcm_setup(ptls_aead_context_t *ctx, int is_enc, const void *key, const void *iv) in aes256gcm_setup() argument [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 118 bool is_enc; member 309 if (ctx->is_enc) { in device_process() 456 if (ctx->is_enc) in device_run() 943 if (ctx->is_enc) in vidioc_try_fmt_vid_out() 956 if (ctx->is_enc) in vidioc_try_fmt_vid_out() 1306 if (ctx->is_enc) in vicodec_subscribe_event() 1709 if (ctx->is_enc) in queue_init() 1855 if (ctx->is_enc) in vicodec_open() 1869 if (ctx->is_enc) in vicodec_open() 1882 if (ctx->is_enc) in vicodec_open() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 118 bool is_enc; member 309 if (ctx->is_enc) { in device_process() 456 if (ctx->is_enc) in device_run() 943 if (ctx->is_enc) in vidioc_try_fmt_vid_out() 956 if (ctx->is_enc) in vidioc_try_fmt_vid_out() 1306 if (ctx->is_enc) in vicodec_subscribe_event() 1709 if (ctx->is_enc) in queue_init() 1855 if (ctx->is_enc) in vicodec_open() 1869 if (ctx->is_enc) in vicodec_open() 1882 if (ctx->is_enc) in vicodec_open() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 118 bool is_enc; member 309 if (ctx->is_enc) { in device_process() 456 if (ctx->is_enc) in device_run() 943 if (ctx->is_enc) in vidioc_try_fmt_vid_out() 956 if (ctx->is_enc) in vidioc_try_fmt_vid_out() 1306 if (ctx->is_enc) in vicodec_subscribe_event() 1709 if (ctx->is_enc) in queue_init() 1855 if (ctx->is_enc) in vicodec_open() 1869 if (ctx->is_enc) in vicodec_open() 1882 if (ctx->is_enc) in vicodec_open() [all …]
|
/dports/biology/htslib/htslib-1.14/htscodecs/tests/ |
H A D | varint_test.c | 63 void dump_unsigned(int bits, int is_enc, in dump_unsigned() argument 66 if (is_enc) printf("0x%0*"PRIx64" => ", bits / 4, val); in dump_unsigned() 68 if (!is_enc) printf(" => 0x%0*"PRIx64, bits / 4, val); in dump_unsigned() 72 void dump_signed(int bits, int is_enc, in dump_signed() argument 75 if (is_enc) printf("%"PRId64" => ", val); in dump_signed() 77 if (!is_enc) printf(" => %"PRId64, val); in dump_signed()
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-sap.c | 110 int sap_version, is_ipv6, is_del, is_enc, is_comp, addr_len; in dissect_sap() local 125 is_enc = vers_flags&MCAST_SAP_BIT_E; in dissect_sap() 204 if (is_enc || is_comp) { in dissect_sap() 206 if (is_enc && is_comp) in dissect_sap() 208 else if (is_enc) in dissect_sap()
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-sap.c | 110 int sap_version, is_ipv6, is_del, is_enc, is_comp, addr_len; in dissect_sap() local 125 is_enc = vers_flags&MCAST_SAP_BIT_E; in dissect_sap() 204 if (is_enc || is_comp) { in dissect_sap() 206 if (is_enc && is_comp) in dissect_sap() 208 else if (is_enc) in dissect_sap()
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-sap.c | 110 int sap_version, is_ipv6, is_del, is_enc, is_comp, addr_len; in dissect_sap() local 125 is_enc = vers_flags&MCAST_SAP_BIT_E; in dissect_sap() 204 if (is_enc || is_comp) { in dissect_sap() 206 if (is_enc && is_comp) in dissect_sap() 208 else if (is_enc) in dissect_sap()
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-sap.c | 110 int sap_version, is_ipv6, is_del, is_enc, is_comp, addr_len; in dissect_sap() local 125 is_enc = vers_flags&MCAST_SAP_BIT_E; in dissect_sap() 204 if (is_enc || is_comp) { in dissect_sap() 206 if (is_enc && is_comp) in dissect_sap() 208 else if (is_enc) in dissect_sap()
|
/dports/security/hashcat/hashcat-6.2.5/tools/ |
H A D | virtualbox2hashcat.py | 50 is_enc = disk.getElementsByTagName("Property") 51 if is_enc:
|
/dports/security/pecl-crypto/crypto-0.3.1/ |
H A D | php_crypto_cipher.h | 58 #define PHP_CRYPTO_CIPHER_SET_STATUS(pobj, is_enc, status_name) \ argument 59 (pobj)->status = ((is_enc) ? \
|
/dports/www/h2o-devel/h2o-dcc7134/deps/quicly/lib/ |
H A D | defaults.c | 374 …default_setup_cipher(quicly_crypto_engine_t *engine, quicly_conn_t *conn, size_t epoch, int is_enc, in default_setup_cipher() argument 390 if ((*hp_ctx = ptls_cipher_new(aead->ctr_cipher, is_enc, hpkey)) == NULL) { in default_setup_cipher() 397 if ((*aead_ctx = ptls_aead_new(aead, hash, is_enc, secret, QUICLY_AEAD_BASE_LABEL)) == NULL) { in default_setup_cipher()
|
/dports/www/h2o-devel/h2o-dcc7134/deps/picotls/include/ |
H A D | picotls.h | 328 int (*setup_crypto)(ptls_cipher_context_t *ctx, int is_enc, const void *key); 399 int (*setup_crypto)(ptls_aead_context_t *ctx, int is_enc, const void *key, const void *iv); 640 PTLS_CALLBACK_TYPE(int, update_traffic_key, ptls_t *tls, int is_enc, size_t epoch, const void *secr… 1257 ptls_cipher_context_t *ptls_cipher_new(ptls_cipher_algorithm_t *algo, int is_enc, const void *key); 1280 …s_aead_new(ptls_aead_algorithm_t *aead, ptls_hash_algorithm_t *hash, int is_enc, const void *secre… 1288 ptls_aead_context_t *ptls_aead_new_direct(ptls_aead_algorithm_t *aead, int is_enc, const void *key,…
|
/dports/net/mediastreamer/mediastreamer-2.16.1/tester/ |
H A D | mediastreamer2_framework_tester.c | 510 … void test_filterdesc_enable_disable_base(const char* mime, const char* filtername,bool_t is_enc) { in test_filterdesc_enable_disable_base() argument 516 if (is_enc) in test_filterdesc_enable_disable_base() 526 if (is_enc) in test_filterdesc_enable_disable_base() 534 if (is_enc) in test_filterdesc_enable_disable_base()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 116 !cpt_req->is_enc) in otx2_cpt_aead_callback() 145 if (req_info->is_enc) { in output_iv_copyback() 325 static int skcipher_do_fallback(struct skcipher_request *req, bool is_enc) in skcipher_do_fallback() argument 340 ret = is_enc ? crypto_skcipher_encrypt(&rctx->sk_fbk_req) : in skcipher_do_fallback() 383 req_info->is_enc = enc; in cpt_enc_dec() 1263 static int aead_do_fallback(struct aead_request *req, bool is_enc) in aead_do_fallback() argument 1277 ret = is_enc ? crypto_aead_encrypt(&rctx->fbk_req) : in aead_do_fallback() 1302 req_info->is_enc = enc; in cpt_aead_enc_dec()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 116 !cpt_req->is_enc) in otx2_cpt_aead_callback() 145 if (req_info->is_enc) { in output_iv_copyback() 325 static int skcipher_do_fallback(struct skcipher_request *req, bool is_enc) in skcipher_do_fallback() argument 340 ret = is_enc ? crypto_skcipher_encrypt(&rctx->sk_fbk_req) : in skcipher_do_fallback() 383 req_info->is_enc = enc; in cpt_enc_dec() 1263 static int aead_do_fallback(struct aead_request *req, bool is_enc) in aead_do_fallback() argument 1277 ret = is_enc ? crypto_aead_encrypt(&rctx->fbk_req) : in aead_do_fallback() 1302 req_info->is_enc = enc; in cpt_aead_enc_dec()
|