/freebsd-13-stable/sys/contrib/openzfs/module/icp/api/ |
H A D | kcf_ctxops.c | 88 error = kcf_get_sw_prov(mech->cm_type, &pd, &me, B_TRUE); 99 prov_mech.cm_type = KCF_TO_PROV_MECHNUM(pd, mech->cm_type);
|
H A D | kcf_cipher.c | 115 error = kcf_get_hardware_provider(mech->cm_type, 119 error = kcf_get_hardware_provider(mech->cm_type, 140 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, real_provider, &lmech); 159 KCF_CAN_SHARE_OPSTATE(pd, mech->cm_type)) { 164 if ((kcf_get_sw_prov(mech->cm_type, &tpd, &tctxp->kc_mech, 168 sinfo = &(KCF_TO_PROV_MECHINFO(tpd, mech->cm_type)); 237 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, 326 error = kcf_get_hardware_provider(mech->cm_type, 363 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, 395 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, p [all...] |
H A D | kcf_mac.c | 102 rv = kcf_get_hardware_provider(mech->cm_type, 138 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, 170 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); 227 rv = kcf_get_hardware_provider(mech->cm_type, 263 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, 295 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); 380 rv = kcf_get_hardware_provider(mech->cm_type, 400 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, real_provider, &lmech); 443 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error,
|
H A D | kcf_digest.c | 101 rv = kcf_get_hardware_provider(mech->cm_type, 135 if ((pd = kcf_get_mech_provider(mech->cm_type, NULL, &error, list, 148 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); 217 error = kcf_get_hardware_provider(mech->cm_type, 237 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, real_provider, &lmech); 276 if ((pd = kcf_get_mech_provider(mech->cm_type, NULL, &error,
|
/freebsd-13-stable/usr.sbin/rtadvd/ |
H A D | control_client.c | 82 cm->cm_type = cm_orig->cm_type; 112 switch (cm->cm_type) {
|
H A D | control.h | 55 int cm_type; member in struct:ctrl_msg_hdr
|
H A D | control_server.c | 674 switch (cm->cm_type) { 702 "<%s> cm->cm_type = %d", __func__, cm->cm_type); 706 switch (cm->cm_type) { 710 cm->cm_type = CM_TYPE_ACK; 717 cm->cm_type = CM_TYPE_ERR; 720 cm->cm_type = CM_TYPE_ACK; 731 cm->cm_type = CM_TYPE_ERR; 734 cm->cm_type = CM_TYPE_ACK; 739 cm->cm_type [all...] |
H A D | control.c | 118 if (cm->cm_type >= CM_TYPE_MAX) { 126 cm->cm_type); 199 cm->cm_type, iovcnt, iov_len_total);
|
/freebsd-13-stable/sys/contrib/openzfs/module/icp/io/ |
H A D | sha2_mod.c | 281 PROV_SHA2_CTX(ctx)->sc_mech_type = mechanism->cm_type; 282 SHA2Init(mechanism->cm_type, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); 636 SHA2Init(mechanism->cm_type, &sha2_ctx); 660 if (mechanism->cm_type <= SHA256_HMAC_GEN_MECH_INFO_TYPE) 769 switch (mechanism->cm_type) { 794 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; 810 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, 824 if (mechanism->cm_type % 3 == 2) { 1003 switch (mechanism->cm_type) { 1028 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; [all...] |
H A D | aes.c | 243 switch (mechanism->cm_type) { 951 switch (mechanism->cm_type) { 972 switch (mechanism->cm_type) { 1014 if (mechanism->cm_type == AES_CCM_MECH_INFO_TYPE) { 1021 } else if (mechanism->cm_type == AES_GCM_MECH_INFO_TYPE || 1022 mechanism->cm_type == AES_GMAC_MECH_INFO_TYPE) { 1029 } else if (mechanism->cm_type == AES_CTR_MECH_INFO_TYPE) { 1087 switch (mechanism->cm_type) { 1108 switch (mechanism->cm_type) { 1134 if (mechanism->cm_type [all...] |
H A D | sha1_mod.c | 245 if (mechanism->cm_type != SHA1_MECH_INFO_TYPE) 574 if (mechanism->cm_type != SHA1_MECH_INFO_TYPE) 695 if (mechanism->cm_type != SHA1_HMAC_MECH_INFO_TYPE && 696 mechanism->cm_type != SHA1_HMAC_GEN_MECH_INFO_TYPE) 736 PROV_SHA1_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; 737 if (mechanism->cm_type == SHA1_HMAC_GEN_MECH_INFO_TYPE) { 893 if (mechanism->cm_type != SHA1_HMAC_MECH_INFO_TYPE && 894 mechanism->cm_type != SHA1_HMAC_GEN_MECH_INFO_TYPE) 923 if (mechanism->cm_type == SHA1_HMAC_GEN_MECH_INFO_TYPE) { 1009 if (mechanism->cm_type ! [all...] |
H A D | skein_mod.c | 198 switch (mechanism->cm_type) { 393 * The mechanism cm_type must be one of SKEIN_*_MECH_INFO_TYPE. The cm_param 405 if (!VALID_SKEIN_DIGEST_MECH(mechanism->cm_type)) 413 SKEIN_CTX(ctx)->sc_mech_type = mechanism->cm_type; 553 if (!VALID_SKEIN_DIGEST_MECH(mechanism->cm_type)) 555 skein_ctx.sc_mech_type = mechanism->cm_type; 587 if (!VALID_SKEIN_MAC_MECH(mechanism->cm_type)) 591 ctx->sc_mech_type = mechanism->cm_type; 607 * Otherwise a new context will be constructed. The mechanism cm_type must
|
/freebsd-13-stable/sys/contrib/openzfs/module/icp/include/sys/crypto/ |
H A D | ops_impl.h | 376 dops->do_framework_mechtype = mechp->cm_type; \ 393 mops->mo_framework_mechtype = mechp->cm_type; \ 411 cops->eo_framework_mechtype = mechp->cm_type; \ 429 cops->dop_framework_mechtype = mechp->cm_type; \ 447 sops->so_framework_mechtype = mechp->cm_type; \ 465 vops->vo_framework_mechtype = mechp->cm_type; \ 564 kops->ko_framework_mechtype = mechp->cm_type; \ 605 kops->ko_framework_mechtype = mechp->cm_type; \ 623 (mechp)->cm_type = \
|
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | hkdf.c | 34 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); 81 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
|
/freebsd-13-stable/contrib/opencsd/decoder/include/opencsd/etmv3/ |
H A D | trc_pkt_types_etmv3.h | 91 uint32_t cm_type:1; member in struct:_ocsd_etmv3_excep::__anon5820
|
H A D | trc_pkt_elem_etmv3.h | 80 const bool cm_type,
|
/freebsd-13-stable/sys/contrib/openzfs/module/icp/core/ |
H A D | kcf_sched.c | 373 dops->do_mech.cm_type = dops->do_framework_mechtype; 383 mops->mo_mech.cm_type = mops->mo_framework_mechtype; 393 sops->so_mech.cm_type = sops->so_framework_mechtype; 412 vops->vo_mech.cm_type = vops->vo_framework_mechtype; 431 eops->eo_mech.cm_type = eops->eo_framework_mechtype; 441 dcrops->dop_mech.cm_type = dcrops->dop_framework_mechtype; 452 eops->em_encr_mech.cm_type = eops->em_framework_encr_mechtype; 454 eops->em_mac_mech.cm_type = eops->em_framework_mac_mechtype; 465 dops->md_mac_mech.cm_type = dops->md_framework_mac_mechtype; 467 dops->md_decr_mech.cm_type [all...] |
H A D | kcf_callprov.c | 371 crypto_mech_type_t m2id = mech2->cm_type; 375 if (kcf_get_mech_entry(mech1->cm_type, &me) != KCF_SUCCESS) {
|
/freebsd-13-stable/contrib/opencsd/decoder/source/etmv3/ |
H A D | trc_pkt_elem_etmv3.cpp | 121 const bool cm_type, 129 m_pkt_data.exception.bits.cm_type = cm_type ? 1 : 0; 669 if(m_pkt_data.exception.bits.cm_type) 118 SetException( const ocsd_armv7_exception type, const uint16_t number, const bool cancel, const bool cm_type, const int irq_n , const int resume ) argument
|
/freebsd-13-stable/sys/contrib/openzfs/include/sys/crypto/ |
H A D | common.h | 49 crypto_mech_type_t cm_type; /* mechanism type */ member in struct:crypto_mechanism 57 crypto_mech_type_t cm_type; /* mechanism type */ member in struct:crypto_mechanism32
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 272 mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname); 278 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); 401 mech.cm_type = crypto_mech2id(crypt_info.ci_mechname); 629 mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname); 635 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); 682 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); 1137 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
|
/freebsd-13-stable/usr.sbin/rtadvctl/ |
H A D | rtadvctl.c | 238 cm->cm_type = action; 292 __func__, cm->cm_type, cm->cm_len);
|