/freebsd/sys/contrib/openzfs/module/icp/io/ |
H A D | aes.c | 126 switch (mechanism->cm_type) { in aes_check_mech_param() 194 switch (mechanism->cm_type) { in aes_encrypt_atomic() 232 if (mechanism->cm_type == AES_CCM_MECH_INFO_TYPE) { in aes_encrypt_atomic() 239 } else if (mechanism->cm_type == AES_GCM_MECH_INFO_TYPE) { in aes_encrypt_atomic() 293 switch (mechanism->cm_type) { in aes_decrypt_atomic() 331 if (mechanism->cm_type == AES_CCM_MECH_INFO_TYPE) { in aes_decrypt_atomic() 347 } else if (mechanism->cm_type == AES_GCM_MECH_INFO_TYPE) { in aes_decrypt_atomic() 394 if (mechanism->cm_type != AES_CCM_MECH_INFO_TYPE && in aes_create_ctx_template() 395 mechanism->cm_type != AES_GCM_MECH_INFO_TYPE) in aes_create_ctx_template() 468 switch (mechanism->cm_type) { in aes_common_init_ctx()
|
H A D | sha2_mod.c | 378 switch (mechanism->cm_type) { in sha2_mac_init() 392 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_mac_init() 408 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_init() 568 switch (mechanism->cm_type) { in sha2_mac_atomic() 581 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_atomic() 589 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_atomic() 615 ASSERT3U(mechanism->cm_type, ==, SHA512_HMAC_MECH_INFO_TYPE); in sha2_mac_atomic() 671 switch (mechanism->cm_type) { in sha2_mac_verify_atomic() 684 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_verify_atomic() 692 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_verify_atomic() [all …]
|
/freebsd/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/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 in cm_handler_server() [all...] |
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()
|
H A D | control.h | 53 int cm_type; member
|
/freebsd/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/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/sys/contrib/openzfs/module/icp/include/sys/crypto/ |
H A D | sched_impl.h | 108 (mechp)->cm_type = \
|
/freebsd/sys/contrib/openzfs/include/sys/crypto/ |
H A D | common.h | 49 crypto_mech_type_t cm_type; /* mechanism type */ member
|
/freebsd/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/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/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()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | crypto_test.c | 609 mech->cm_type = crypto_mech2id(SUN_CKM_AES_GCM); in init_mech() 621 mech->cm_type = crypto_mech2id(SUN_CKM_AES_CCM); in init_mech()
|