Home
last modified time | relevance | path

Searched refs:verify (Results 1 – 25 of 163) sorted by relevance

1234567

/titanic_51/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelVerify.c83 * C_Verify or C_VerifyFinal to verify a signature on data. in C_VerifyInit()
85 session_p->verify.flags = CRYPTO_OPERATION_ACTIVE; in C_VerifyInit()
147 session_p->verify.flags |= CRYPTO_EMULATE; in C_VerifyInit()
167 session_p->verify.flags &= ~CRYPTO_OPERATION_ACTIVE; in C_VerifyInit()
186 crypto_verify_t verify; in C_Verify() local
201 if (!(session_p->verify.flags & CRYPTO_OPERATION_ACTIVE)) { in C_Verify()
210 if (session_p->verify.flags & CRYPTO_OPERATION_UPDATE) { in C_Verify()
213 * operation, so we'll leave the active verify operation in C_Verify()
215 * verify update operation. in C_Verify()
221 if (session_p->verify in C_Verify()
[all...]
H A DkernelSoftCommon.c101 * opflag specifies whether this is a sign or verify.
145 * opflag specifies whether this is a sign or verify.
205 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context; in do_soft_hmac_verify()
244 if (session_p->verify.context == NULL) in free_soft_ctx()
246 bzero(session_p->verify.context, sizeof (soft_hmac_ctx_t)); in free_soft_ctx()
247 free(session_p->verify.context); in free_soft_ctx()
248 session_p->verify.context = NULL; in free_soft_ctx()
249 session_p->verify.flags = 0; in free_soft_ctx()
H A DkernelEmulate.c74 ((opflag & OP_SIGN) ? &(session_p->sign) : &(session_p->verify)); in emulate_buf_init()
113 * a standby context. The opflag tells if this is a sign or verify.
126 opp = (opflag & OP_SIGN) ? &(session_p->sign) : &(session_p->verify); in emulate_init()
148 * The opflag tells if this is a digest, sign or verify.
167 &(session_p->sign) : &(session_p->verify); in emulate_update()
/titanic_51/usr/src/cmd/zpool/
H A Dzpool_vdev.c472 verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0); in make_leaf_vdev()
473 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_PATH, path) == 0); in make_leaf_vdev()
474 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev()
475 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_LOG, is_log) == 0); in make_leaf_vdev()
477 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, in make_leaf_vdev()
502 verify(nvlist_add_string(vdev, in make_leaf_vdev()
519 * Go through and verify the replication level of the pool is consistent.
560 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
577 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, in get_replication()
603 verify(nvlist_lookup_uint6 in get_replication()
[all...]
H A Dzpool_main.c553 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in zpool_do_add()
1156 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in find_spare()
1189 verify(nvlist_lookup_uint64_array(nv, ZPOOL_CONFIG_VDEV_STATS, in print_status_config()
1217 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in print_status_config()
1244 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, in print_status_config()
1329 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in print_import_config()
1334 verify(nvlist_lookup_uint64_array(nv, ZPOOL_CONFIG_VDEV_STATS, in print_import_config()
1469 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in show_import()
1471 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in show_import()
1473 verify(nvlist_lookup_uint6 in show_import()
[all...]
/titanic_51/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftVerify.c72 /* Check to see if verify operation is already active. */ in C_VerifyInit()
73 if (session_p->verify.flags & CRYPTO_OPERATION_ACTIVE) { in C_VerifyInit()
80 * C_Verify or C_VerifyFinal to verify a signature on data. in C_VerifyInit()
82 session_p->verify.flags = CRYPTO_OPERATION_ACTIVE; in C_VerifyInit()
91 session_p->verify.flags &= ~CRYPTO_OPERATION_ACTIVE; in C_VerifyInit()
129 if (!(session_p->verify.flags & CRYPTO_OPERATION_ACTIVE)) { in C_Verify()
138 if (session_p->verify.flags & CRYPTO_OPERATION_UPDATE) { in C_Verify()
141 * operation, so we'll leave the active verify operation in C_Verify()
143 * verify update operation. in C_Verify()
196 if (!(session_p->verify in C_VerifyUpdate()
[all...]
H A DsoftVerifyUtil.c52 * verify init routine based on the mechanism.
126 * verify routine based on the mechanism.
135 CK_MECHANISM_TYPE mechanism = session_p->verify.mech.mechanism; in soft_verify()
157 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context; in soft_verify()
182 des_ctx = (soft_des_ctx_t *)session_p->verify.context; in soft_verify()
252 * verify update routine based on the mechanism.
259 CK_MECHANISM_TYPE mechanism = session_p->verify.mech.mechanism; in soft_verify_update()
318 * verify final routine based on the mechanism.
326 CK_MECHANISM_TYPE mechanism = session_p->verify.mech.mechanism; in soft_verify_final()
348 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify in soft_verify_final()
[all...]
H A DsoftMAC.c173 session_p->verify.mech.mechanism = pMechanism->mechanism; in soft_hmac_sign_verify_init_common()
174 session_p->verify.context = hmac_ctx; in soft_hmac_sign_verify_init_common()
492 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context; in soft_hmac_sign_verify_common()
493 mechanism = session_p->verify.mech.mechanism; in soft_hmac_sign_verify_common()
569 bzero(session_p->verify.context, sizeof (soft_hmac_ctx_t)); in soft_hmac_sign_verify_common()
570 free(session_p->verify.context); in soft_hmac_sign_verify_common()
571 session_p->verify.context = NULL; in soft_hmac_sign_verify_common()
601 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context; in soft_hmac_sign_verify_update()
602 mechanism = session_p->verify.mech.mechanism; in soft_hmac_sign_verify_update()
H A DsoftEC.c326 * Allocate a ECC context for the active sign or verify operation.
408 session_p->verify.context = ecc_ctx; in soft_ecc_sign_verify_init_common()
409 session_p->verify.mech.mechanism = pMechanism->mechanism; in soft_ecc_sign_verify_init_common()
534 soft_ecc_ctx_t *ecc_ctx = session_p->verify.context; in soft_ecc_verify()
586 soft_free_ecc_context(session_p->verify.context); in soft_ecc_verify()
587 session_p->verify.context = NULL; in soft_ecc_verify()
610 soft_free_ecc_context(session_p->verify.context); in soft_ecc_digest_verify_common()
611 session_p->verify.context = NULL; in soft_ecc_digest_verify_common()
618 * Now, we are ready to verify the data using signature. in soft_ecc_digest_verify_common()
H A DsoftDSA.c42 * Allocate a DSA context for the active sign or verify operation.
106 session_p->verify.context = dsa_ctx; in soft_dsa_sign_verify_init_common()
107 session_p->verify.mech.mechanism = pMechanism->mechanism; in soft_dsa_sign_verify_init_common()
330 soft_dsa_ctx_t *dsa_ctx = session_p->verify.context; in soft_dsa_verify()
354 free(session_p->verify.context); in soft_dsa_verify()
355 session_p->verify.context = NULL; in soft_dsa_verify()
372 soft_dsa_ctx_t *dsa_ctx = session_p->verify.context; in soft_dsa_digest_verify_common()
389 * Now, we are ready to verify the data using signature. in soft_dsa_digest_verify_common()
H A DsoftRSA.c411 * Allocate a RSA context for the active sign or verify operation.
501 session_p->verify.context = rsa_ctx; in soft_rsa_sign_verify_init_common()
502 session_p->verify.mech.mechanism = pMechanism->mechanism; in soft_rsa_sign_verify_init_common()
646 soft_rsa_ctx_t *rsa_ctx = session_p->verify.context; in soft_rsa_verify_common()
733 free(session_p->verify.context); in soft_rsa_verify_common()
734 session_p->verify.context = NULL; in soft_rsa_verify_common()
1097 soft_rsa_ctx_t *rsa_ctx = session_p->verify.context; in soft_rsa_digest_verify_common()
1157 * Now, we are ready to verify the DER_ENCODED data using signature. in soft_rsa_digest_verify_common()
1180 soft_rsa_ctx_t *rsa_ctx = session_p->verify.context; in soft_rsa_verify_recover()
1181 CK_MECHANISM_TYPE mechanism = session_p->verify in soft_rsa_verify_recover()
[all...]
/titanic_51/usr/src/cmd/priocntl/
H A Dsubr.c315 int verify; in verifyupri() local
384 verify = 0; in verifyupri()
389 verify++; in verifyupri()
394 verify++; in verifyupri()
399 verify++; in verifyupri()
404 verify++; in verifyupri()
409 verify++; in verifyupri()
414 verify++; in verifyupri()
419 verify++; in verifyupri()
424 verify in verifyupri()
[all...]
/titanic_51/usr/src/pkg/manifests/
H A Dsystem-flash-fwflash.mf43 dir path=usr/lib/fwflash/verify
51 file path=usr/lib/fwflash/verify/hermon-MELLANOX.so
52 file path=usr/lib/fwflash/verify/sd-GENERIC.so
53 file path=usr/lib/fwflash/verify/ses-SUN.so
54 file path=usr/lib/fwflash/verify/tavor-MELLANOX.so
63 link path=usr/lib/fwflash/verify/ses-LSILOGIC.so target=ses-SUN.so
64 link path=usr/lib/fwflash/verify/sgen-LSILOGIC.so target=ses-SUN.so
65 link path=usr/lib/fwflash/verify/sgen-SUN.so target=ses-SUN.so
/titanic_51/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c158 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0); in fix_paths()
366 verify(nvlist_lookup_uint64(zhp->zpool_config, ZPOOL_CONFIG_POOL_GUID, in pool_active()
512 verify(nvlist_add_uint64(config, in get_configs()
521 verify(nvlist_add_uint64_array(config, in get_configs()
583 verify(nvlist_lookup_nvlist(tmp, in get_configs()
585 verify(nvlist_lookup_uint64(nvtop, ZPOOL_CONFIG_ID, in get_configs()
637 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in get_configs()
756 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in get_configs()
758 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in get_configs()
783 verify(nvlist_lookup_nvlis in get_configs()
[all...]
H A Dlibzfs_status.c134 verify(nvlist_lookup_string(vdev, ZPOOL_CONFIG_TYPE, &type) == 0); in find_vdev_problem()
144 verify(nvlist_lookup_uint64_array(vdev, ZPOOL_CONFIG_VDEV_STATS, in find_vdev_problem()
197 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in check_status()
199 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in check_status()
201 verify(nvlist_lookup_uint64_array(nvroot, ZPOOL_CONFIG_VDEV_STATS, in check_status()
203 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in check_status()
237 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, in check_status()
H A Dlibzfs_pool.c125 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &ival) == 0); in zpool_get_prop_string()
127 verify(nvlist_lookup_string(nv, ZPROP_VALUE, &value) == 0); in zpool_get_prop_string()
165 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &value) == 0); in zpool_get_prop_int()
167 verify(nvlist_lookup_uint64(nv, ZPROP_VALUE, &value) == 0); in zpool_get_prop_int()
319 verify(nvlist_lookup_nvlist(zpool_get_config(zhp, NULL), in zpool_get_prop()
321 verify(nvlist_lookup_uint64_array(nvroot, in zpool_get_prop()
1585 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nvinfo) == in zpool_print_unsup_feat()
1587 verify(nvlist_lookup_nvlist(nvinfo, ZPOOL_CONFIG_UNSUP_FEAT, in zpool_print_unsup_feat()
1594 verify(nvpair_type(nvp) == DATA_TYPE_STRING); in zpool_print_unsup_feat()
1595 verify(nvpair_value_strin in zpool_print_unsup_feat()
[all...]
H A Dlibzfs_config.c198 verify(nvpair_value_nvlist(elem, &child) == 0); in namespace_reload()
205 verify(uu_avl_find(hdl->libzfs_ns_avl, cn, NULL, &where) in namespace_reload()
317 verify(nvlist_lookup_uint64(zhp->zpool_config, in zpool_refresh_stats()
319 verify(nvlist_lookup_uint64(config, in zpool_refresh_stats()
/titanic_51/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c307 int lfdes, altflg = 0, result, verify; in main() local
434 verify = 0; in main()
458 verify = !Otape || (altflg & MINUSS); in main()
459 (void) getoutfs(Out.f_dev, Out.f_des, Sptr, verify); in main()
507 verify = !Otape || (altflg & MINUSS); in main()
508 prompt(verify, in main()
513 verify = !Otape || (altflg & MINUSS); in main()
514 prompt(verify, "arg. (%.6s) doesn't agree with from vol.(%.6s)\n", in main()
526 verify = altflg & MINUSS; in main()
528 prompt(verify, " in main()
827 prompt(int verify,const char * fmt,...) prompt() argument
1230 int again = 1, verify, old_style, new_style; tapeck() local
1403 int verify; hdrck() local
1656 getoutfs(int dev,int fd,char * buf,int verify) getoutfs() argument
[all...]
/titanic_51/usr/src/cmd/lp/lib/filters/
H A Dinsfilter.c383 * a function "verify" is also given, along with the set of criteria;
384 * these are used by "instantiate()" to verify a filter-pipeline.
401 * "verify" routine to check the filter-pipeline. If it passes the
414 * "verify".
425 * The latter is passed to "verify". The end of the right-list (and thus
450 int (*verify)(_FILTER *, void *), in instantiate()
454 instantiate(pline, input, output, verify, criteria) in instantiate()
458 int (*verify)();
467 ret = _instantiate(&p, input, output, verify, criteria);
497 int (*verify)(_FILTE in _instantiate()
[all...]
/titanic_51/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.h61 #define verify(x) assert(x) macro
63 #define verify(x) ((void)(x)) macro
H A Dses_facility.c161 verify((props = ses_node_props(np)) != NULL); in ses_indicator_mode()
273 verify((props = ses_node_props(np)) != NULL); in ses_sensor_reading()
333 verify((props = ses_node_props(np)) != NULL); in ses_sensor_state()
414 verify((props = ses_node_props(np)) != NULL); in ses_psu_state()
772 verify((props = ses_node_props(np)) != NULL); in ses_node_enum_facility()
773 verify(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, &type) == 0); in ses_node_enum_facility()
980 verify((aprops = ses_node_props(agg)) != NULL); in ses_enc_enum_facility()
/titanic_51/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dverify_checksum.c55 /* if there's actually a verify function, call it */ in krb5_c_verify_checksum()
62 krb5_cksumtypes_list[i].keyhash->verify) in krb5_c_verify_checksum()
63 return((*(krb5_cksumtypes_list[i].keyhash->verify))( in krb5_c_verify_checksum()
/titanic_51/usr/src/cmd/sgs/lex/common/
H A Dmain.c212 * maybe get: verify, advance, stoff
219 * verify, advance, stoff, nexts, nchar,
340 verify = (int *)myalloc(outsize, sizeof (*verify));
345 if (verify == 0 || advance == 0 || stoff == 0)
354 free(verify);
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_missing_003_pos.ksh64 function verify function
213 verify "$TESTPOOL1" "$TESTFS" "$TESTDIR1" \
217 verify "$TESTPOOL2" "$TESTFS" "$TESTDIR2" \
/titanic_51/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsgadmin.sh35 \b--generate\b, \b--remove\b, \b--translate\b, or \b--verify\b
53 [v:verify?Verify that translated message files satisfy \bgencat\b(1) syntax.]
102 v) op=verify ;;
159 verify) (( ! $# )) && set -- *.msg

1234567