Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 905) sorted by relevance

12345678910>>...37

/freebsd/crypto/openssl/apps/
H A Dcms.c374 int operation = 0, ret = 1, rr_print = 0, rr_allorfirst = -1; in cms_main() local
413 operation = SMIME_ENCRYPT; in cms_main()
416 operation = SMIME_DECRYPT; in cms_main()
419 operation = SMIME_SIGN; in cms_main()
422 operation = SMIME_VERIFY; in cms_main()
425 operation = SMIME_RESIGN; in cms_main()
428 operation = SMIME_SIGN_RECEIPT; in cms_main()
431 operation = SMIME_VERIFY_RECEIPT; in cms_main()
438 operation = SMIME_DIGEST_CREATE; in cms_main()
444 operation = SMIME_DIGEST_VERIFY; in cms_main()
[all …]
H A Dsmime.c170 static const char *operation_name(int operation) in operation_name() argument
172 switch (operation) { in operation_name()
191 …((operation != 0 && (operation != (op))) …
192 …r, "%s: Cannot use -%s together with -%s\n", prog, operation_name(op), operation_name(operation)) \
193 : (operation = (op)))
215 int flags = PKCS7_DETACHED, operation = 0, ret = 0, indef = 0; in smime_main() local
444 if (!(operation & SMIME_SIGNERS) && (skkeys != NULL || sksigners != NULL)) { in smime_main()
448 if (!operation) { in smime_main()
454 if (operation & SMIME_SIGNERS) { in smime_main()
479 } else if (operation == SMIME_DECRYPT) { in smime_main()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanShouldStopHere.cpp40 FrameComparison operation, Status &status) { in InvokeShouldStopHereCallback() argument
44 m_owner, m_flags, operation, status, m_baton); in InvokeShouldStopHereCallback()
59 ThreadPlan *current_plan, Flags &flags, FrameComparison operation, in DefaultShouldStopHereCallback() argument
68 if ((operation == eFrameCompareOlder && flags.Test(eStepOutAvoidNoDebug)) || in DefaultShouldStopHereCallback()
69 (operation == eFrameCompareYounger && flags.Test(eStepInAvoidNoDebug)) || in DefaultShouldStopHereCallback()
70 (operation == eFrameCompareSameParent && in DefaultShouldStopHereCallback()
95 ThreadPlan *current_plan, Flags &flags, FrameComparison operation, in DefaultStepFromHereCallback() argument
145 lldb_private::Flags &flags, lldb::FrameComparison operation, in QueueStepOutFromHerePlan() argument
150 m_owner, flags, operation, status, m_baton); in QueueStepOutFromHerePlan()
156 lldb::FrameComparison operation, Status &status) { in CheckShouldStopHereAndQueueStepOut() argument
[all …]
/freebsd/tests/sys/cddl/zfs/bin/
H A Dfile_write.c60 char *operation = NULL; in main() local
89 operation = optarg; in main()
115 if (!operation) { in main()
150 if ((strncmp(operation, "create", strlen(operation) + 1)) == 0 || in main()
151 (strncmp(operation, "overwrite", strlen(operation) + 1)) == 0) { in main()
153 } else if ((strncmp(operation, "append", strlen(operation) + 1)) == 0) { in main()
157 operation); in main()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_write.c76 char *operation = NULL; in main() local
106 operation = optarg; in main()
132 if (!operation) { in main()
175 if ((strncmp(operation, "create", strlen(operation) + 1)) == 0 || in main()
176 (strncmp(operation, "overwrite", strlen(operation) + 1)) == 0) { in main()
178 } else if ((strncmp(operation, "append", strlen(operation) + 1)) == 0) { in main()
182 operation); in main()
/freebsd/crypto/openssl/crypto/evp/
H A Dpmeth_gn.c25 static int gen_init(EVP_PKEY_CTX *ctx, int operation) in gen_init() argument
33 ctx->operation = operation; in gen_init()
38 switch (operation) { in gen_init()
60 || (operation == EVP_PKEY_OP_PARAMGEN in gen_init()
62 || (operation == EVP_PKEY_OP_KEYGEN in gen_init()
67 switch (operation) { in gen_init()
82 ctx->operation = EVP_PKEY_OP_UNDEFINED; in gen_init()
139 if ((ctx->operation & EVP_PKEY_OP_TYPE_GEN) == 0) in EVP_PKEY_generate()
220 switch (ctx->operation) { in EVP_PKEY_generate()
258 if (ctx->operation != EVP_PKEY_OP_PARAMGEN) { in EVP_PKEY_paramgen()
[all …]
/freebsd/sys/security/mac/
H A Dmac_internal.h386 #define MAC_POLICY_BOOLEAN(operation, composition, args...) do { \ argument
390 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
392 mpc->mpc_ops->mpo_ ## operation (args); \
397 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
399 mpc->mpc_ops->mpo_ ## operation \
406 #define MAC_POLICY_BOOLEAN_NOSLEEP(operation, composition, args...) do {\ argument
410 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
412 mpc->mpc_ops->mpo_ ## operation (args); \
419 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
421 mpc->mpc_ops->mpo_ ## operation \
[all …]
/freebsd/sys/xen/
H A Dblkif.h42 uint8_t operation; /* BLKIF_OP_??? */ member
51 uint8_t operation; /* copied from request */ member
60 uint8_t operation; /* BLKIF_OP_??? */ member
69 uint8_t operation; /* copied from request */ member
116 dst->operation = src->operation; in blkif_get_x86_32_req()
131 dst->operation = src->operation; in blkif_get_x86_64_req()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_asn1.c28 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in rsa_cb() argument
31 if (operation == ASN1_OP_NEW_PRE) { in rsa_cb()
36 } else if (operation == ASN1_OP_FREE_PRE) { in rsa_cb()
40 } else if (operation == ASN1_OP_D2I_POST) { in rsa_cb()
76 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
79 if (operation == ASN1_OP_FREE_PRE) {
97 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
100 if (operation == ASN1_OP_FREE_PRE) {
/freebsd/crypto/openssl/doc/man7/
H A Dprovider.pod5 provider - OpenSSL operation implementation providers
23 An I<operation> is something one wants to do, such as encryption and
27 An I<algorithm> is a named method to perform an operation.
29 but may also revolve around other types of operation, such as managing
69 This pointer will be passed to various operation functions offered by
77 operation implementations for diverse algorithms.
88 I<operation_id> is an operation identity (see L</Operations> below).
105 With each operation comes a set of defined function types that a
116 The number for this operation is B<OSSL_OP_DIGEST>.
124 The number for this operation is B<OSSL_OP_CIPHER>.
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dflock.c44 rk_flock(int fd, int operation) in rk_flock() argument
54 if (operation & LOCK_NB) in rk_flock()
59 switch (operation & OP_MASK) { in rk_flock()
103 if (operation & LOCK_NB) in rk_flock()
106 switch (operation & OP_MASK) { in rk_flock()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlanShouldStopHere.h97 bool InvokeShouldStopHereCallback(lldb::FrameComparison operation,
101 CheckShouldStopHereAndQueueStepOut(lldb::FrameComparison operation,
111 lldb::FrameComparison operation,
116 lldb::FrameComparison operation, Status &status,
120 QueueStepOutFromHerePlan(Flags &flags, lldb::FrameComparison operation,
/freebsd/sys/contrib/zstd/programs/
H A Dzstdcli.c814 zstd_operation_mode operation = zom_compress; in main() local
860 if (exeNameMatch(programName, ZSTD_UNZSTD)) operation=zom_decompress; in main()
861 …if (exeNameMatch(programName, ZSTD_CAT)) { operation=zom_decompress; FIO_overwriteMode(prefs); for… in main()
862 …if (exeNameMatch(programName, ZSTD_ZCAT)) { operation=zom_decompress; FIO_overwriteMode(prefs); fo… in main()
864 …if (exeNameMatch(programName, ZSTD_GUNZIP)) { operation=zom_decompress; FIO_setRemoveSrcFile(prefs… in main()
865 …if (exeNameMatch(programName, ZSTD_GZCAT)) { operation=zom_decompress; FIO_overwriteMode(prefs); f… in main()
867 …if (exeNameMatch(programName, ZSTD_UNLZMA)) { operation=zom_decompress; FIO_setCompressionType(pre… in main()
869 …if (exeNameMatch(programName, ZSTD_UNXZ)) { operation=zom_decompress; FIO_setCompressionType(prefs… in main()
871 …if (exeNameMatch(programName, ZSTD_UNLZ4)) { operation=zom_decompress; FIO_setCompressionType(pref… in main()
899 if (!strcmp(argument, "--list")) { operation=zom_list; continue; } in main()
[all …]
/freebsd/usr.bin/elfctl/
H A Delfctl.c230 char operation; in convert_to_feature_val()
233 operation = *feature_str; in convert_to_feature_val()
236 if (operation != '+' && operation != '-' && operation != '=') in convert_to_feature_val()
237 errx(1, "'%c' not an operator - use '+', '-', '='", operation); in convert_to_feature_val()
286 if (operation == '+') { in convert_to_feature_val()
288 } else if (operation == '=') { in convert_to_feature_val()
290 } else if (operation == '-') { in convert_to_feature_val()
227 char operation; convert_to_feature_val() local
/freebsd/crypto/openssl/test/
H A Dfilterprov.c31 int operation; member
89 if (globs->dispatch[i].operation == operation_id) { in filter_query()
203 int filter_provider_set_filter(int operation, const char *filterstr) in filter_provider_set_filter() argument
212 operation, in filter_provider_set_filter()
257 globs->dispatch[globs->num_dispatch].operation = operation; in filter_provider_set_filter()
263 OSSL_PROVIDER_unquery_operation(globs->deflt, operation, provalgs); in filter_provider_set_filter()
/freebsd/contrib/openbsm/compat/
H A Dflopen.h40 int fd, operation, serrno, trunc; in flopen() local
57 operation = LOCK_EX; in flopen()
59 operation |= LOCK_NB; in flopen()
68 if (flock(fd, operation) == -1) { in flopen()
/freebsd/sys/contrib/xen/io/
H A Dblkif.h648 uint8_t operation; /* BLKIF_OP_??? */ member
662 uint8_t operation; /* BLKIF_OP_DISCARD */ member
673 uint8_t operation; /* BLKIF_OP_INDIRECT */ member
688 uint8_t operation; /* copied from request */ member
/freebsd/crypto/openssl/fuzz/
H A Dml-kem.c628 uint8_t operation; in FuzzerTestOneInput() local
639 buffer_cursor = consume_uint8t(buf, &len, &operation); in FuzzerTestOneInput()
646 operation %= OSSL_NELEM(ops); in FuzzerTestOneInput()
651 if (ops[operation].setup != NULL) in FuzzerTestOneInput()
652 ops[operation].setup(&buffer_cursor, &len, &in1, &in2); in FuzzerTestOneInput()
653 if (ops[operation].doit != NULL) in FuzzerTestOneInput()
654 ops[operation].doit(&buffer_cursor, &len, in1, in2, &out1, &out2); in FuzzerTestOneInput()
655 if (ops[operation].cleanup != NULL) in FuzzerTestOneInput()
656 ops[operation].cleanup(in1, in2, out1, out2); in FuzzerTestOneInput()
H A Dslh-dsa.c567 uint8_t operation; in FuzzerTestOneInput() local
578 buffer_cursor = consume_uint8t(buf, &len, &operation); in FuzzerTestOneInput()
585 operation %= OSSL_NELEM(ops); in FuzzerTestOneInput()
590 if (ops[operation].setup != NULL) in FuzzerTestOneInput()
591 ops[operation].setup(&buffer_cursor, &len, &in1, &in2); in FuzzerTestOneInput()
592 if (ops[operation].doit != NULL) in FuzzerTestOneInput()
593 ops[operation].doit(&buffer_cursor, &len, in1, in2, &out1, &out2); in FuzzerTestOneInput()
594 if (ops[operation].cleanup != NULL) in FuzzerTestOneInput()
595 ops[operation].cleanup(in1, in2, out1, out2); in FuzzerTestOneInput()
H A Dml-dsa.c643 uint8_t operation; in FuzzerTestOneInput() local
652 buffer_cursor = consume_uint8_t(buf, &len, &operation); in FuzzerTestOneInput()
657 operation %= OSSL_NELEM(ops); in FuzzerTestOneInput()
660 if (ops[operation].setup != NULL) in FuzzerTestOneInput()
661 ops[operation].setup(&buffer_cursor, &len, &in1, &in2); in FuzzerTestOneInput()
662 if (ops[operation].doit != NULL) in FuzzerTestOneInput()
663 ops[operation].doit(&buffer_cursor, &len, in1, in2, &out1, &out2); in FuzzerTestOneInput()
664 if (ops[operation].cleanup != NULL) in FuzzerTestOneInput()
665 ops[operation].cleanup(in1, in2, out1, out2); in FuzzerTestOneInput()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_want.pod7 SSL_want_client_hello_cb - obtain state information TLS/SSL I/O operation
36 only. The information must therefore only be used for normal operation under
56 B<BIO> layer in order to complete the actual SSL_*() operation.
62 complete the actual SSL_*() operation.
67 The operation did not complete because an application callback set by
73 The operation did not complete because a certificate verification callback
79 An asynchronous operation partially completed and was then paused. See
91 The operation did not complete because an application callback set by
H A DSSL_get_error.pod5 SSL_get_error - obtain result code for TLS/SSL I/O operation
23 used in the same thread that performed the TLS/SSL I/O operation, and no
25 thread's error queue must be empty before the TLS/SSL I/O operation is
48 The TLS/SSL I/O operation completed. This result code is returned
64 The operation did not complete and can be retried later.
67 operation was a read operation from a nonblocking B<BIO>.
69 operation.
79 operation was a write to a nonblocking B<BIO> and it was unable to send all data
102 from SSL_write() or SSL_write_ex() then you should not do any other operation
121 The operation did not complete; the same TLS/SSL I/O function should be
[all …]
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_asn1.c38 static int cms_si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
40 if (operation == ASN1_OP_FREE_POST) {
83 static int cms_ec_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
87 if (operation == ASN1_OP_FREE_POST)
121 static int cms_rek_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
124 if (operation == ASN1_OP_FREE_POST) {
146 static int cms_kari_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
149 if (operation == ASN1_OP_NEW_POST) {
155 } else if (operation == ASN1_OP_FREE_POST) {
192 static int cms_ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
[all …]
/freebsd/lib/libutil/
H A Dflopen.c51 int fd, operation, serrno, trunc; in vflopenat() local
64 operation = LOCK_EX; in vflopenat()
66 operation |= LOCK_NB; in vflopenat()
75 if (flock(fd, operation) == -1) { in vflopenat()
/freebsd/crypto/openssl/providers/common/
H A Dsecuritycheck.c25 int ossl_rsa_key_op_get_protect(const RSA *rsa, int operation, int *outprotect) in ossl_rsa_key_op_get_protect() argument
29 switch (operation) { in ossl_rsa_key_op_get_protect()
49 "operation: %d", operation); in ossl_rsa_key_op_get_protect()
55 "invalid operation: %d", operation); in ossl_rsa_key_op_get_protect()

12345678910>>...37