| /freebsd-14.2/sys/contrib/openzfs/module/icp/io/ |
| H A D | sha2_mod.c | 549 SHA2Init(mechanism->cm_type, &sha2_ctx); in sha2_digest_atomic() 685 switch (mechanism->cm_type) { in sha2_mac_init() 723 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_init() 737 if (mechanism->cm_type % 3 == 2) { in sha2_mac_init() 914 switch (mechanism->cm_type) { in sha2_mac_atomic() 943 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_atomic() 955 if ((mechanism->cm_type % 3) == 2) { in sha2_mac_atomic() 1046 switch (mechanism->cm_type) { in sha2_mac_verify_atomic() 1087 if (mechanism->cm_type % 3 == 2) { in sha2_mac_verify_atomic() 1217 switch (mechanism->cm_type) { in sha2_create_ctx_template() [all …]
|
| H A D | aes.c | 183 switch (mechanism->cm_type) { in aes_check_mech_param() 849 switch (mechanism->cm_type) { in aes_encrypt_atomic() 868 switch (mechanism->cm_type) { in aes_encrypt_atomic() 975 switch (mechanism->cm_type) { in aes_decrypt_atomic() 994 switch (mechanism->cm_type) { in aes_decrypt_atomic() 1117 if (mechanism->cm_type != AES_ECB_MECH_INFO_TYPE && in aes_create_ctx_template() 1122 mechanism->cm_type != AES_GMAC_MECH_INFO_TYPE) in aes_create_ctx_template() 1195 switch (mechanism->cm_type) { in aes_common_init_ctx() 1260 if (mech->cm_type != AES_GMAC_MECH_INFO_TYPE) in process_gmac_mech() 1297 gcm_mech.cm_type = AES_GCM_MECH_INFO_TYPE; in aes_mac_atomic() [all …]
|
| H A D | skein_mod.c | 146 switch (mechanism->cm_type) { in skein_get_digest_bitlen() 336 if (!VALID_SKEIN_DIGEST_MECH(mechanism->cm_type)) in skein_digest_init() 343 SKEIN_CTX(ctx)->sc_mech_type = mechanism->cm_type; in skein_digest_init() 489 if (!VALID_SKEIN_DIGEST_MECH(mechanism->cm_type)) in skein_digest_atomic() 491 skein_ctx.sc_mech_type = mechanism->cm_type; in skein_digest_atomic() 523 if (!VALID_SKEIN_MAC_MECH(mechanism->cm_type)) in skein_mac_ctx_build() 525 ctx->sc_mech_type = mechanism->cm_type; in skein_mac_ctx_build()
|
| /freebsd-14.2/sys/contrib/openzfs/module/icp/api/ |
| H A D | kcf_cipher.c | 80 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, in crypto_encrypt() 91 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_encrypt() 151 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, in crypto_decrypt() 162 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_decrypt()
|
| H A D | kcf_ctxops.c | 87 error = kcf_get_sw_prov(mech->cm_type, &pd, &me, B_TRUE); in crypto_create_ctx_template() 98 prov_mech.cm_type = KCF_TO_PROV_MECHNUM(pd, mech->cm_type); in crypto_create_ctx_template()
|
| H A D | kcf_mac.c | 96 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, in crypto_mac() 107 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_mac() 171 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, real_provider, &lmech); in crypto_mac_init_prov() 202 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, in crypto_mac_init()
|
| /freebsd-14.2/usr.sbin/rtadvd/ |
| H A D | control_client.c | 80 cm->cm_type = cm_orig->cm_type; in cm_handler_client() 110 switch (cm->cm_type) { in cm_handler_client()
|
| H A D | control_server.c | 672 switch (cm->cm_type) { in cm_handler_server() 700 "<%s> cm->cm_type = %d", __func__, cm->cm_type); in cm_handler_server() 704 switch (cm->cm_type) { in cm_handler_server() 708 cm->cm_type = CM_TYPE_ACK; in cm_handler_server() 715 cm->cm_type = CM_TYPE_ERR; in cm_handler_server() 718 cm->cm_type = CM_TYPE_ACK; in cm_handler_server() 729 cm->cm_type = CM_TYPE_ERR; in cm_handler_server() 732 cm->cm_type = CM_TYPE_ACK; in cm_handler_server() 737 cm->cm_type = CM_TYPE_ERR; in cm_handler_server() 741 switch (cm->cm_type) { in cm_handler_server()
|
| H A D | control.h | 53 int cm_type; member
|
| H A D | control.c | 116 if (cm->cm_type >= CM_TYPE_MAX) { in cm_recv() 124 cm->cm_type); in cm_recv() 197 cm->cm_type, iovcnt, iov_len_total); in cm_send()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | hkdf.c | 34 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in hkdf_sha512_extract() 80 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in hkdf_sha512_expand()
|
| /freebsd-14.2/contrib/opencsd/decoder/source/etmv3/ |
| H A D | trc_pkt_elem_etmv3.cpp | 121 const bool cm_type, in SetException() argument 129 m_pkt_data.exception.bits.cm_type = cm_type ? 1 : 0; in SetException() 669 if(m_pkt_data.exception.bits.cm_type) in getExcepStr()
|
| /freebsd-14.2/sys/contrib/openzfs/module/icp/include/sys/crypto/ |
| H A D | sched_impl.h | 108 (mechp)->cm_type = \
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/crypto/ |
| H A D | common.h | 49 crypto_mech_type_t cm_type; /* mechanism type */ member
|
| /freebsd-14.2/contrib/opencsd/decoder/include/opencsd/etmv3/ |
| H A D | trc_pkt_types_etmv3.h | 91 uint32_t cm_type:1; member
|
| H A D | trc_pkt_elem_etmv3.h | 80 const bool cm_type,
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 288 mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname); in zio_crypt_key_init() 294 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_key_init() 415 mech.cm_type = crypto_mech2id(crypt_info.ci_mechname); in zio_do_crypt_uio() 635 mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname); in zio_crypt_key_unwrap() 641 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_key_unwrap() 688 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_do_hmac() 1149 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_do_objset_hmacs()
|
| /freebsd-14.2/usr.sbin/rtadvctl/ |
| H A D | rtadvctl.c | 236 cm->cm_type = action; in action_plgeneric() 290 __func__, cm->cm_type, cm->cm_len); in action_propget()
|