Home
last modified time | relevance | path

Searched refs:cfb (Results 1 – 25 of 1518) sorted by relevance

12345678910>>...61

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/video/fbdev/
H A Dcyber2000fb.c1236 cfb->ddc_adapter.algo_data = &cfb->ddc_algo; in cyber2000fb_setup_ddc_bus()
1237 cfb->ddc_adapter.dev.parent = cfb->fb.device; in cyber2000fb_setup_ddc_bus()
1244 cfb->ddc_algo.data = cfb; in cyber2000fb_setup_ddc_bus()
1246 i2c_set_adapdata(&cfb->ddc_adapter, cfb); in cyber2000fb_setup_ddc_bus()
1310 cfb->i2c_adapter.algo_data = &cfb->i2c_algo; in cyber2000fb_i2c_register()
1311 cfb->i2c_adapter.dev.parent = cfb->fb.device; in cyber2000fb_i2c_register()
1318 cfb->i2c_algo.data = cfb; in cyber2000fb_i2c_register()
1559 cfb->fb.screen_base = cfb->region; in cyberpro_common_probe()
1594 cfb->fb.fix.id, cfb->fb.fix.smem_len >> 10, in cyberpro_common_probe()
1595 cfb->fb.var.xres, cfb->fb.var.yres, in cyberpro_common_probe()
[all …]
H A Dclps711x-fb.c57 if (cfb->cmap_invert) in clps711x_fb_setcolreg()
62 writel((readl(cfb->base + regno) & ~mask) | level, cfb->base + regno); in clps711x_fb_setcolreg()
108 if (size > cfb->buffsize) in clps711x_fb_set_par()
212 struct clps711x_fb_info *cfb; in clps711x_fb_probe() local
226 cfb = info->par; in clps711x_fb_probe()
233 if (!cfb->base) { in clps711x_fb_probe()
266 if (IS_ERR(cfb->clk)) { in clps711x_fb_probe()
267 ret = PTR_ERR(cfb->clk); in clps711x_fb_probe()
271 cfb->syscon = in clps711x_fb_probe()
273 if (IS_ERR(cfb->syscon)) { in clps711x_fb_probe()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/video/fbdev/
H A Dcyber2000fb.c1236 cfb->ddc_adapter.algo_data = &cfb->ddc_algo; in cyber2000fb_setup_ddc_bus()
1237 cfb->ddc_adapter.dev.parent = cfb->fb.device; in cyber2000fb_setup_ddc_bus()
1244 cfb->ddc_algo.data = cfb; in cyber2000fb_setup_ddc_bus()
1246 i2c_set_adapdata(&cfb->ddc_adapter, cfb); in cyber2000fb_setup_ddc_bus()
1310 cfb->i2c_adapter.algo_data = &cfb->i2c_algo; in cyber2000fb_i2c_register()
1311 cfb->i2c_adapter.dev.parent = cfb->fb.device; in cyber2000fb_i2c_register()
1318 cfb->i2c_algo.data = cfb; in cyber2000fb_i2c_register()
1559 cfb->fb.screen_base = cfb->region; in cyberpro_common_probe()
1594 cfb->fb.fix.id, cfb->fb.fix.smem_len >> 10, in cyberpro_common_probe()
1595 cfb->fb.var.xres, cfb->fb.var.yres, in cyberpro_common_probe()
[all …]
H A Dclps711x-fb.c57 if (cfb->cmap_invert) in clps711x_fb_setcolreg()
62 writel((readl(cfb->base + regno) & ~mask) | level, cfb->base + regno); in clps711x_fb_setcolreg()
108 if (size > cfb->buffsize) in clps711x_fb_set_par()
212 struct clps711x_fb_info *cfb; in clps711x_fb_probe() local
226 cfb = info->par; in clps711x_fb_probe()
233 if (!cfb->base) { in clps711x_fb_probe()
266 if (IS_ERR(cfb->clk)) { in clps711x_fb_probe()
267 ret = PTR_ERR(cfb->clk); in clps711x_fb_probe()
271 cfb->syscon = in clps711x_fb_probe()
273 if (IS_ERR(cfb->syscon)) { in clps711x_fb_probe()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/video/fbdev/
H A Dcyber2000fb.c1236 cfb->ddc_adapter.algo_data = &cfb->ddc_algo; in cyber2000fb_setup_ddc_bus()
1237 cfb->ddc_adapter.dev.parent = cfb->fb.device; in cyber2000fb_setup_ddc_bus()
1244 cfb->ddc_algo.data = cfb; in cyber2000fb_setup_ddc_bus()
1246 i2c_set_adapdata(&cfb->ddc_adapter, cfb); in cyber2000fb_setup_ddc_bus()
1310 cfb->i2c_adapter.algo_data = &cfb->i2c_algo; in cyber2000fb_i2c_register()
1311 cfb->i2c_adapter.dev.parent = cfb->fb.device; in cyber2000fb_i2c_register()
1318 cfb->i2c_algo.data = cfb; in cyber2000fb_i2c_register()
1559 cfb->fb.screen_base = cfb->region; in cyberpro_common_probe()
1594 cfb->fb.fix.id, cfb->fb.fix.smem_len >> 10, in cyberpro_common_probe()
1595 cfb->fb.var.xres, cfb->fb.var.yres, in cyberpro_common_probe()
[all …]
H A Dclps711x-fb.c57 if (cfb->cmap_invert) in clps711x_fb_setcolreg()
62 writel((readl(cfb->base + regno) & ~mask) | level, cfb->base + regno); in clps711x_fb_setcolreg()
108 if (size > cfb->buffsize) in clps711x_fb_set_par()
212 struct clps711x_fb_info *cfb; in clps711x_fb_probe() local
226 cfb = info->par; in clps711x_fb_probe()
233 if (!cfb->base) { in clps711x_fb_probe()
266 if (IS_ERR(cfb->clk)) { in clps711x_fb_probe()
267 ret = PTR_ERR(cfb->clk); in clps711x_fb_probe()
271 cfb->syscon = in clps711x_fb_probe()
273 if (IS_ERR(cfb->syscon)) { in clps711x_fb_probe()
[all …]
/dports/security/dropbear/dropbear-2020.81/libtomcrypt/src/modes/cfb/
H A Dcfb_encrypt.c26 int cfb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CFB *cfb) in cfb_encrypt() argument
32 LTC_ARGCHK(cfb != NULL); in cfb_encrypt()
34 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_encrypt()
39 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || in cfb_encrypt()
40 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_encrypt()
45 if (cfb->padlen == cfb->blocklen) { in cfb_encrypt()
46 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_encrypt()
49 cfb->padlen = 0; in cfb_encrypt()
51 cfb->pad[cfb->padlen] = (*ct = *pt ^ cfb->IV[cfb->padlen]); in cfb_encrypt()
54 ++(cfb->padlen); in cfb_encrypt()
H A Dcfb_decrypt.c26 int cfb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CFB *cfb) in cfb_decrypt() argument
32 LTC_ARGCHK(cfb != NULL); in cfb_decrypt()
34 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_decrypt()
39 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || in cfb_decrypt()
40 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_decrypt()
45 if (cfb->padlen == cfb->blocklen) { in cfb_decrypt()
46 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_decrypt()
49 cfb->padlen = 0; in cfb_decrypt()
51 cfb->pad[cfb->padlen] = *ct; in cfb_decrypt()
52 *pt = *ct ^ cfb->IV[cfb->padlen]; in cfb_decrypt()
[all …]
H A Dcfb_start.c30 int keylen, int num_rounds, symmetric_CFB *cfb) in cfb_start() argument
36 LTC_ARGCHK(cfb != NULL); in cfb_start()
44 cfb->cipher = cipher; in cfb_start()
45 cfb->blocklen = cipher_descriptor[cipher].block_length; in cfb_start()
46 for (x = 0; x < cfb->blocklen; x++) in cfb_start()
47 cfb->IV[x] = IV[x]; in cfb_start()
50 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cfb->key)) != CRYPT_OK) { in cfb_start()
55 cfb->padlen = 0; in cfb_start()
56 return cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->IV, cfb->IV, &cfb->key); in cfb_start()
H A Dcfb_setiv.c25 int cfb_setiv(const unsigned char *IV, unsigned long len, symmetric_CFB *cfb) in cfb_setiv() argument
30 LTC_ARGCHK(cfb != NULL); in cfb_setiv()
32 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_setiv()
36 if (len != (unsigned long)cfb->blocklen) { in cfb_setiv()
41 cfb->padlen = 0; in cfb_setiv()
42 return cipher_descriptor[cfb->cipher].ecb_encrypt(IV, cfb->IV, &cfb->key); in cfb_setiv()
/dports/security/libtomcrypt/libtomcrypt-1.18.2/src/modes/cfb/
H A Dcfb_encrypt.c26 int cfb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CFB *cfb) in cfb_encrypt() argument
32 LTC_ARGCHK(cfb != NULL); in cfb_encrypt()
34 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_encrypt()
39 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || in cfb_encrypt()
40 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_encrypt()
45 if (cfb->padlen == cfb->blocklen) { in cfb_encrypt()
46 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_encrypt()
49 cfb->padlen = 0; in cfb_encrypt()
51 cfb->pad[cfb->padlen] = (*ct = *pt ^ cfb->IV[cfb->padlen]); in cfb_encrypt()
54 ++(cfb->padlen); in cfb_encrypt()
H A Dcfb_decrypt.c26 int cfb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CFB *cfb) in cfb_decrypt() argument
32 LTC_ARGCHK(cfb != NULL); in cfb_decrypt()
34 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_decrypt()
39 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || in cfb_decrypt()
40 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_decrypt()
45 if (cfb->padlen == cfb->blocklen) { in cfb_decrypt()
46 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_decrypt()
49 cfb->padlen = 0; in cfb_decrypt()
51 cfb->pad[cfb->padlen] = *ct; in cfb_decrypt()
52 *pt = *ct ^ cfb->IV[cfb->padlen]; in cfb_decrypt()
[all …]
H A Dcfb_start.c30 int keylen, int num_rounds, symmetric_CFB *cfb) in cfb_start() argument
36 LTC_ARGCHK(cfb != NULL); in cfb_start()
44 cfb->cipher = cipher; in cfb_start()
45 cfb->blocklen = cipher_descriptor[cipher].block_length; in cfb_start()
46 for (x = 0; x < cfb->blocklen; x++) in cfb_start()
47 cfb->IV[x] = IV[x]; in cfb_start()
50 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cfb->key)) != CRYPT_OK) { in cfb_start()
55 cfb->padlen = 0; in cfb_start()
56 return cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->IV, cfb->IV, &cfb->key); in cfb_start()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/crypto/libtomcrypt/src/modes/cfb/
H A Dcfb_encrypt.c28 int cfb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CFB *cfb) in cfb_encrypt() argument
34 LTC_ARGCHK(cfb != NULL); in cfb_encrypt()
36 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_encrypt()
41 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || in cfb_encrypt()
42 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_encrypt()
47 if (cfb->padlen == cfb->blocklen) { in cfb_encrypt()
48 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_encrypt()
51 cfb->padlen = 0; in cfb_encrypt()
53 cfb->pad[cfb->padlen] = (*ct = *pt ^ cfb->IV[cfb->padlen]); in cfb_encrypt()
56 ++(cfb->padlen); in cfb_encrypt()
H A Dcfb_decrypt.c28 int cfb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CFB *cfb) in cfb_decrypt() argument
34 LTC_ARGCHK(cfb != NULL); in cfb_decrypt()
36 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_decrypt()
41 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || in cfb_decrypt()
42 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_decrypt()
47 if (cfb->padlen == cfb->blocklen) { in cfb_decrypt()
48 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_decrypt()
51 cfb->padlen = 0; in cfb_decrypt()
53 cfb->pad[cfb->padlen] = *ct; in cfb_decrypt()
54 *pt = *ct ^ cfb->IV[cfb->padlen]; in cfb_decrypt()
[all …]
H A Dcfb_start.c32 int keylen, int num_rounds, symmetric_CFB *cfb) in cfb_start() argument
38 LTC_ARGCHK(cfb != NULL); in cfb_start()
46 cfb->cipher = cipher; in cfb_start()
47 cfb->blocklen = cipher_descriptor[cipher].block_length; in cfb_start()
48 for (x = 0; x < cfb->blocklen; x++) in cfb_start()
49 cfb->IV[x] = IV[x]; in cfb_start()
52 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cfb->key)) != CRYPT_OK) { in cfb_start()
57 cfb->padlen = 0; in cfb_start()
58 return cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->IV, cfb->IV, &cfb->key); in cfb_start()
/dports/security/p5-CryptX/CryptX-0.075/src/ltc/modes/cfb/
H A Dcfb_encrypt.c20 int cfb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CFB *cfb) in cfb_encrypt() argument
26 LTC_ARGCHK(cfb != NULL); in cfb_encrypt()
28 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_encrypt()
33 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || in cfb_encrypt()
34 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_encrypt()
39 if (cfb->padlen == cfb->blocklen) { in cfb_encrypt()
40 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_encrypt()
43 cfb->padlen = 0; in cfb_encrypt()
45 cfb->pad[cfb->padlen] = (*ct = *pt ^ cfb->IV[cfb->padlen]); in cfb_encrypt()
48 ++(cfb->padlen); in cfb_encrypt()
H A Dcfb_decrypt.c20 int cfb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CFB *cfb) in cfb_decrypt() argument
26 LTC_ARGCHK(cfb != NULL); in cfb_decrypt()
28 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) { in cfb_decrypt()
33 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || in cfb_decrypt()
34 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_decrypt()
39 if (cfb->padlen == cfb->blocklen) { in cfb_decrypt()
40 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_decrypt()
43 cfb->padlen = 0; in cfb_decrypt()
45 cfb->pad[cfb->padlen] = *ct; in cfb_decrypt()
46 *pt = *ct ^ cfb->IV[cfb->padlen]; in cfb_decrypt()
[all …]
H A Dcfb_start.c24 int keylen, int num_rounds, symmetric_CFB *cfb) in cfb_start() argument
30 LTC_ARGCHK(cfb != NULL); in cfb_start()
38 cfb->cipher = cipher; in cfb_start()
39 cfb->blocklen = cipher_descriptor[cipher].block_length; in cfb_start()
40 for (x = 0; x < cfb->blocklen; x++) { in cfb_start()
41 cfb->IV[x] = IV[x]; in cfb_start()
45 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cfb->key)) != CRYPT_OK) { in cfb_start()
50 cfb->padlen = 0; in cfb_start()
51 return cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->IV, cfb->IV, &cfb->key); in cfb_start()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/rnp/src/lib/crypto/
H A Dsymmetric_ossl.cpp100 crypt->cfb.obj = ctx; in pgp_cipher_cfb_start()
145 *out = *in++ ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_encrypt()
146 crypt->cfb.iv[blsize - crypt->cfb.remaining] = *out++; in pgp_cipher_cfb_encrypt()
208 EVP_EncryptUpdate(crypt->cfb.obj, crypt->cfb.iv, &outlen, crypt->cfb.iv, (int) blsize); in pgp_cipher_cfb_encrypt()
216 *out = *in++ ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_encrypt()
217 crypt->cfb.iv[blsize - crypt->cfb.remaining] = *out++; in pgp_cipher_cfb_encrypt()
240 *out++ = c ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_decrypt()
241 crypt->cfb.iv[blsize - crypt->cfb.remaining] = c; in pgp_cipher_cfb_decrypt()
305 EVP_EncryptUpdate(crypt->cfb.obj, crypt->cfb.iv, &outlen, crypt->cfb.iv, (int) blsize); in pgp_cipher_cfb_decrypt()
314 *out++ = c ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_decrypt()
[all …]
H A Dsymmetric.cpp212 if (crypt->cfb.obj) { in pgp_cipher_cfb_finish()
232 *out = *in++ ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_encrypt()
233 crypt->cfb.iv[blsize - crypt->cfb.remaining] = *out++; in pgp_cipher_cfb_encrypt()
286 botan_block_cipher_encrypt_blocks(crypt->cfb.obj, crypt->cfb.iv, crypt->cfb.iv, 1); in pgp_cipher_cfb_encrypt()
291 *out = *in++ ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_encrypt()
292 crypt->cfb.iv[blsize - crypt->cfb.remaining] = *out++; in pgp_cipher_cfb_encrypt()
315 *out++ = c ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_decrypt()
316 crypt->cfb.iv[blsize - crypt->cfb.remaining] = c; in pgp_cipher_cfb_decrypt()
371 botan_block_cipher_encrypt_blocks(crypt->cfb.obj, crypt->cfb.iv, crypt->cfb.iv, 1); in pgp_cipher_cfb_decrypt()
377 *out++ = c ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_decrypt()
[all …]
/dports/security/akmos/akmos-0.7.2/src/mode/
H A Dcfb.c51 ptr = &ctx->mctx.cfb; in akmos_cfb_encrypt()
66 akmos_cfb_t *cfb; in akmos_cfb_decrypt() local
69 cfb = &ctx->mctx.cfb; in akmos_cfb_decrypt()
75 ctx->encrypt(ctx, cfb->iv, cfb->buf); in akmos_cfb_decrypt()
84 akmos_cfb_t *cfb; in akmos_cfb1_encrypt() local
87 cfb = &ctx->mctx.cfb; in akmos_cfb1_encrypt()
90 ctx->encrypt(ctx, cfb->iv, cfb->iv); in akmos_cfb1_encrypt()
99 akmos_cfb_t *cfb; in akmos_cfb1_decrypt() local
103 cfb = &ctx->mctx.cfb; in akmos_cfb1_decrypt()
106 ctx->encrypt(ctx, cfb->iv, cfb->iv); in akmos_cfb1_decrypt()
[all …]
/dports/security/rnp/rnp-0.15.2/src/lib/crypto/
H A Dsymmetric.cpp210 if (crypt->cfb.obj) { in pgp_cipher_cfb_finish()
230 *out = *in++ ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_encrypt()
231 crypt->cfb.iv[blsize - crypt->cfb.remaining] = *out++; in pgp_cipher_cfb_encrypt()
284 botan_block_cipher_encrypt_blocks(crypt->cfb.obj, crypt->cfb.iv, crypt->cfb.iv, 1); in pgp_cipher_cfb_encrypt()
289 *out = *in++ ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_encrypt()
290 crypt->cfb.iv[blsize - crypt->cfb.remaining] = *out++; in pgp_cipher_cfb_encrypt()
313 *out++ = c ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_decrypt()
314 crypt->cfb.iv[blsize - crypt->cfb.remaining] = c; in pgp_cipher_cfb_decrypt()
369 botan_block_cipher_encrypt_blocks(crypt->cfb.obj, crypt->cfb.iv, crypt->cfb.iv, 1); in pgp_cipher_cfb_decrypt()
375 *out++ = c ^ crypt->cfb.iv[blsize - crypt->cfb.remaining]; in pgp_cipher_cfb_decrypt()
[all …]
/dports/net/p5-Net-SSH-Perl/Net-SSH-Perl-2.14/lib/Net/SSH/Perl/Cipher/
H A DCFB.pm20 my $cfb = shift;
24 my $iv = $cfb->{iv};
25 my $size = $cfb->{cipher}->blocksize;
28 my $out = $cfb->{cipher}->encrypt($iv);
33 $cfb->{iv} = $iv;
38 my $cfb = shift;
42 my $iv = $cfb->{iv};
43 my $size = $cfb->{cipher}->blocksize;
46 my $out = $cfb->{cipher}->encrypt($iv);
51 $cfb->{iv} = $iv;
/dports/security/hashcat/hashcat-6.2.5/tools/test_modules/
H A Dm18600.pm39 my $cfb = Crypt::GCrypt->new
46 $cfb->start ('encrypting');
47 $cfb->setkey ($key);
48 $cfb->setiv ($b_iv);
50 my $b_cipher = $cfb->encrypt ($b_plain);
52 $cfb->finish ();
116 my $cfb = Crypt::GCrypt->new (
122 $cfb->start ('decrypting');
123 $cfb->setkey ($key);
124 $cfb->setiv ($b_iv);
[all …]

12345678910>>...61