Home
last modified time | relevance | path

Searched refs:alg (Results 176 – 200 of 16552) sorted by relevance

12345678910>>...663

/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/security/SecureRandom/
H A DSerialize.java38 for (String alg: new String[]{ in main()
48 s1 = getInstance(alg); in main()
50 if (alg.contains("DRBG")) { in main()
55 s1 = getInstance(alg); in main()
58 if (alg.contains("DRBG")) { in main()
63 s1 = getInstance(alg); in main()
64 if (alg.contains("DRBG")) { in main()
68 if (alg.contains("DRBG")) { in main()
73 s1 = getInstance(alg); in main()
76 if (alg.contains("DRBG")) { in main()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/security/SecureRandom/
H A DSerialize.java38 for (String alg: new String[]{ in main()
48 s1 = getInstance(alg); in main()
50 if (alg.contains("DRBG")) { in main()
55 s1 = getInstance(alg); in main()
58 if (alg.contains("DRBG")) { in main()
63 s1 = getInstance(alg); in main()
64 if (alg.contains("DRBG")) { in main()
68 if (alg.contains("DRBG")) { in main()
73 s1 = getInstance(alg); in main()
76 if (alg.contains("DRBG")) { in main()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/crypto/
H A Dcipher.c67 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_block_len()
68 return alg_block_len[alg]; in qcrypto_cipher_get_block_len()
74 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_key_len()
75 return alg_key_len[alg]; in qcrypto_cipher_get_key_len()
82 if (alg >= G_N_ELEMENTS(alg_block_len)) { in qcrypto_cipher_get_iv_len()
90 return alg_block_len[alg]; in qcrypto_cipher_get_iv_len()
104 alg); in qcrypto_cipher_validate_key_length()
109 if (alg == QCRYPTO_CIPHER_ALG_DES_RFB in qcrypto_cipher_validate_key_length()
119 if (alg_key_len[alg] != (nkey / 2)) { in qcrypto_cipher_validate_key_length()
125 if (alg_key_len[alg] != nkey) { in qcrypto_cipher_validate_key_length()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/crypto/
H A Dcipher.c67 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_block_len()
68 return alg_block_len[alg]; in qcrypto_cipher_get_block_len()
74 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_key_len()
75 return alg_key_len[alg]; in qcrypto_cipher_get_key_len()
82 if (alg >= G_N_ELEMENTS(alg_block_len)) { in qcrypto_cipher_get_iv_len()
90 return alg_block_len[alg]; in qcrypto_cipher_get_iv_len()
104 alg); in qcrypto_cipher_validate_key_length()
109 if (alg == QCRYPTO_CIPHER_ALG_DES_RFB in qcrypto_cipher_validate_key_length()
119 if (alg_key_len[alg] != (nkey / 2)) { in qcrypto_cipher_validate_key_length()
125 if (alg_key_len[alg] != nkey) { in qcrypto_cipher_validate_key_length()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/crypto/
H A Dcipher.c67 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_block_len()
68 return alg_block_len[alg]; in qcrypto_cipher_get_block_len()
74 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_key_len()
75 return alg_key_len[alg]; in qcrypto_cipher_get_key_len()
82 if (alg >= G_N_ELEMENTS(alg_block_len)) { in qcrypto_cipher_get_iv_len()
90 return alg_block_len[alg]; in qcrypto_cipher_get_iv_len()
104 alg); in qcrypto_cipher_validate_key_length()
109 if (alg == QCRYPTO_CIPHER_ALG_DES_RFB in qcrypto_cipher_validate_key_length()
119 if (alg_key_len[alg] != (nkey / 2)) { in qcrypto_cipher_validate_key_length()
125 if (alg_key_len[alg] != nkey) { in qcrypto_cipher_validate_key_length()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/crypto/
H A Dcipher.c67 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_block_len()
68 return alg_block_len[alg]; in qcrypto_cipher_get_block_len()
74 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_key_len()
75 return alg_key_len[alg]; in qcrypto_cipher_get_key_len()
82 if (alg >= G_N_ELEMENTS(alg_block_len)) { in qcrypto_cipher_get_iv_len()
90 return alg_block_len[alg]; in qcrypto_cipher_get_iv_len()
104 alg); in qcrypto_cipher_validate_key_length()
109 if (alg == QCRYPTO_CIPHER_ALG_DES_RFB in qcrypto_cipher_validate_key_length()
119 if (alg_key_len[alg] != (nkey / 2)) { in qcrypto_cipher_validate_key_length()
125 if (alg_key_len[alg] != nkey) { in qcrypto_cipher_validate_key_length()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/crypto/
H A Dcipher.c67 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_block_len()
68 return alg_block_len[alg]; in qcrypto_cipher_get_block_len()
74 assert(alg < G_N_ELEMENTS(alg_key_len)); in qcrypto_cipher_get_key_len()
75 return alg_key_len[alg]; in qcrypto_cipher_get_key_len()
82 if (alg >= G_N_ELEMENTS(alg_block_len)) { in qcrypto_cipher_get_iv_len()
90 return alg_block_len[alg]; in qcrypto_cipher_get_iv_len()
104 alg); in qcrypto_cipher_validate_key_length()
109 if (alg == QCRYPTO_CIPHER_ALG_DES_RFB in qcrypto_cipher_validate_key_length()
119 if (alg_key_len[alg] != (nkey / 2)) { in qcrypto_cipher_validate_key_length()
125 if (alg_key_len[alg] != nkey) { in qcrypto_cipher_validate_key_length()
[all …]
/dports/net/jose/jose-11/lib/
H A Djwe.c139 for (alg = jose_hook_alg_list(); alg && !name; alg = alg->next) { in find_alg()
142 name = alg->wrap.alg(alg, cfg, jwk); in find_alg()
149 if (alg) { in find_alg()
184 enc = alg->wrap.enc(alg, cfg, jwk); in ensure_enc()
241 if (!alg) in jose_jwe_enc_jwk()
250 return alg->wrap.wrp(alg, cfg, jwe, r, jwk, cek); in jose_jwe_enc_jwk()
299 for (alg = jose_hook_alg_list(); alg && !h; alg = alg->next) { in jose_jwe_enc_cek_io()
302 h = alg->encr.sug(alg, cfg, cek); in jose_jwe_enc_cek_io()
430 if (!alg) in jose_jwe_dec_jwk()
443 if (!alg->wrap.unw(alg, cfg, jwe, rcp, jwk, cek)) in jose_jwe_dec_jwk()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/crypto/
H A Dkpp.c52 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
54 alg->exit(kpp); in crypto_kpp_exit_tfm()
60 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
62 if (alg->exit) in crypto_kpp_init_tfm()
65 if (alg->init) in crypto_kpp_init_tfm()
66 return alg->init(kpp); in crypto_kpp_init_tfm()
92 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
99 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() argument
101 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
103 kpp_prepare_alg(alg); in crypto_register_kpp()
[all …]
H A Dctr.c130 struct crypto_alg *alg; in crypto_ctr_create() local
137 alg = skcipher_ialg_simple(inst); in crypto_ctr_create()
141 if (alg->cra_blocksize < 4) in crypto_ctr_create()
145 if (alg->cra_blocksize % 4) in crypto_ctr_create()
155 inst->alg.chunksize = alg->cra_blocksize; in crypto_ctr_create()
261 struct skcipher_alg *alg; in crypto_rfc3686_create() local
301 inst->alg.base.cra_priority = alg->base.cra_priority; in crypto_rfc3686_create()
303 inst->alg.base.cra_alignmask = alg->base.cra_alignmask; in crypto_rfc3686_create()
306 inst->alg.chunksize = crypto_skcipher_alg_chunksize(alg); in crypto_rfc3686_create()
307 inst->alg.min_keysize = crypto_skcipher_alg_min_keysize(alg) + in crypto_rfc3686_create()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/crypto/
H A Dkpp.c52 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
54 alg->exit(kpp); in crypto_kpp_exit_tfm()
60 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
62 if (alg->exit) in crypto_kpp_init_tfm()
65 if (alg->init) in crypto_kpp_init_tfm()
66 return alg->init(kpp); in crypto_kpp_init_tfm()
92 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
99 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() argument
101 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
103 kpp_prepare_alg(alg); in crypto_register_kpp()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/crypto/
H A Dkpp.c52 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
54 alg->exit(kpp); in crypto_kpp_exit_tfm()
60 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
62 if (alg->exit) in crypto_kpp_init_tfm()
65 if (alg->init) in crypto_kpp_init_tfm()
66 return alg->init(kpp); in crypto_kpp_init_tfm()
92 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
99 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() argument
101 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
103 kpp_prepare_alg(alg); in crypto_register_kpp()
[all …]
/dports/graphics/qgis/qgis-3.22.3/python/plugins/grassprovider/tests/
H A DGrass7AlgorithmsVectorTest.py98 self.assertIsNotNone(alg)
123 results, ok = alg.run(parameters, context, feedback)
158 self.assertIsNotNone(alg)
182 results, ok = alg.run(parameters, context, feedback)
212 self.assertIsNotNone(alg)
237 results, ok = alg.run(parameters, context, feedback)
250 self.assertIsNotNone(alg)
251 self.assertFalse(alg.commands)
253 def get_command(alg): argument
254 command = alg.commands[-1]
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/python/plugins/processing/tests/
H A DGrass7AlgorithmsVectorTest.py94 self.assertIsNotNone(alg)
119 results, ok = alg.run(parameters, context, feedback)
154 self.assertIsNotNone(alg)
178 results, ok = alg.run(parameters, context, feedback)
208 self.assertIsNotNone(alg)
233 results, ok = alg.run(parameters, context, feedback)
246 self.assertIsNotNone(alg)
247 self.assertFalse(alg.commands)
249 def get_command(alg): argument
250 command = alg.commands[-1]
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-oauth2/
H A Doauth2-jwt.c109 alg, key_id); in oauth2_lookup_hmac_key()
132 if (strcmp(alg, "HS256") == 0) in oauth2_validate_hmac()
192 alg, key_id); in oauth2_lookup_pubkey()
225 if (str_begins(alg, "RS")) { in oauth2_validate_rsa_ecdsa()
239 if (strcmp(alg+2, "256") == 0) { in oauth2_validate_rsa_ecdsa()
278 if (str_begins(alg, "HS")) { in oauth2_validate_signature()
281 } else if (str_begins(alg, "RS") || str_begins(alg, "PS") || in oauth2_validate_signature()
282 str_begins(alg, "ES")) { in oauth2_validate_signature()
334 if (alg == NULL) { in oauth2_jwt_header_process()
341 *alg_r = t_str_ucase(alg); in oauth2_jwt_header_process()
[all …]
/dports/graphics/qgis/qgis-3.22.3/python/plugins/grassprovider/ext/
H A Dr_statistics.py28 def processCommand(alg, parameters, context, feedback): argument
30 out = 'output{}'.format(alg.uniqueSuffix)
32 alg.addParameter(p)
35 alg.processCommand(parameters, context, feedback, True)
39 alg.uniqueSuffix, out)
41 alg.commands.append(command)
44 def processOutputs(alg, parameters, context, feedback): argument
45 createOpt = alg.parameterAsString(parameters, alg.GRASS_RASTER_FORMAT_OPT, context)
46 metaOpt = alg.parameterAsString(parameters, alg.GRASS_RASTER_FORMAT_META, context)
50 fileName = alg.parameterAsOutputLayer(
[all …]
H A Dr_li.py44 def removeConfigFile(alg, parameters, context): argument
46 configPath = alg.parameterAsString(parameters, 'config', context)
51 alg.commands.append(command)
54 def checkMovingWindow(alg, parameters, context, outputTxt=False): argument
57 config = alg.parameterAsString(parameters, 'config', context)
114 alg.removeParameter('config_txt')
122 alg.addParameter(param)
124 alg.processCommand(parameters, context, feedback, outputTxt)
127 removeConfigFile(alg, parameters, context)
130 def moveOutputTxtFile(alg, parameters, context): argument
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/python/plugins/processing/algs/grass7/ext/
H A Dr_statistics.py28 def processCommand(alg, parameters, context, feedback): argument
30 out = 'output{}'.format(alg.uniqueSuffix)
32 alg.addParameter(p)
35 alg.processCommand(parameters, context, feedback, True)
39 alg.uniqueSuffix, out)
41 alg.commands.append(command)
44 def processOutputs(alg, parameters, context, feedback): argument
45 createOpt = alg.parameterAsString(parameters, alg.GRASS_RASTER_FORMAT_OPT, context)
46 metaOpt = alg.parameterAsString(parameters, alg.GRASS_RASTER_FORMAT_META, context)
50 fileName = alg.parameterAsOutputLayer(
[all …]
H A Dr_li.py44 def removeConfigFile(alg, parameters, context): argument
46 configPath = alg.parameterAsString(parameters, 'config', context)
51 alg.commands.append(command)
54 def checkMovingWindow(alg, parameters, context, outputTxt=False): argument
57 config = alg.parameterAsString(parameters, 'config', context)
114 alg.removeParameter('config_txt')
122 alg.addParameter(param)
124 alg.processCommand(parameters, context, feedback, outputTxt)
127 removeConfigFile(alg, parameters, context)
130 def moveOutputTxtFile(alg, parameters, context): argument
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/providers/implementations/ciphers/
H A Dcipher_cts.h13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
15 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
16 static int alg##_cts_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
21 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_cts_functions[] = { \
23 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
24 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void)) alg##_freectx }, \
25 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) alg##_dupctx }, \
26 { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void)) alg##_cbc_cts_einit }, \
27 { OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void)) alg##_cbc_cts_dinit }, \
34 (void (*)(void)) alg##_cts_##kbits##_##lcmode##_get_params }, \
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/providers/implementations/ciphers/
H A Dcipher_cts.h13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
15 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
16 static int alg##_cts_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
21 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_cts_functions[] = { \
23 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
24 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void)) alg##_freectx }, \
25 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) alg##_dupctx }, \
26 { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void)) alg##_cbc_cts_einit }, \
27 { OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void)) alg##_cbc_cts_dinit }, \
34 (void (*)(void)) alg##_cts_##kbits##_##lcmode##_get_params }, \
[all …]
/dports/security/acmed/acmed-0.18.0/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/providers/implementations/ciphers/
H A Dcipher_cts.h13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
15 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
16 static int alg##_cts_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
21 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_cts_functions[] = { \
23 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
24 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void)) alg##_freectx }, \
25 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) alg##_dupctx }, \
26 { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void)) alg##_cbc_cts_einit }, \
27 { OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void)) alg##_cbc_cts_dinit }, \
34 (void (*)(void)) alg##_cts_##kbits##_##lcmode##_get_params }, \
[all …]
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/providers/implementations/ciphers/
H A Dcipher_cts.h13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
15 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
16 static int alg##_cts_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
21 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_cts_functions[] = { \
23 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
24 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void)) alg##_freectx }, \
25 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) alg##_dupctx }, \
26 { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void)) alg##_cbc_cts_einit }, \
27 { OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void)) alg##_cbc_cts_dinit }, \
34 (void (*)(void)) alg##_cts_##kbits##_##lcmode##_get_params }, \
[all …]
/dports/security/openssl-devel/openssl-3.0.2/providers/implementations/ciphers/
H A Dcipher_cts.h13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
15 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
16 static int alg##_cts_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
21 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_cts_functions[] = { \
23 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
24 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void)) alg##_freectx }, \
25 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) alg##_dupctx }, \
26 { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void)) alg##_cbc_cts_einit }, \
27 { OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void)) alg##_cbc_cts_dinit }, \
34 (void (*)(void)) alg##_cts_##kbits##_##lcmode##_get_params }, \
[all …]
/dports/security/openssl-quictls/openssl-7f2ab56a2b842b8e6fefc7b9d20eb5ff9c6ef151/providers/implementations/ciphers/
H A Dcipher_cts.h13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
15 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
16 static int alg##_cts_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
21 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_cts_functions[] = { \
23 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
24 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void)) alg##_freectx }, \
25 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) alg##_dupctx }, \
26 { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void)) alg##_cbc_cts_einit }, \
27 { OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void)) alg##_cbc_cts_dinit }, \
34 (void (*)(void)) alg##_cts_##kbits##_##lcmode##_get_params }, \
[all …]

12345678910>>...663