| /freebsd/sys/contrib/openzfs/module/icp/io/ |
| H A D | aes.c | 127 switch (mechanism->cm_type) { in aes_check_mech_param() 195 switch (mechanism->cm_type) { in aes_encrypt_atomic() 233 if (mechanism->cm_type == AES_CCM_MECH_INFO_TYPE) { in aes_encrypt_atomic() 240 } else if (mechanism->cm_type == AES_GCM_MECH_INFO_TYPE) { in aes_encrypt_atomic() 294 switch (mechanism->cm_type) { in aes_decrypt_atomic() 332 if (mechanism->cm_type == AES_CCM_MECH_INFO_TYPE) { in aes_decrypt_atomic() 348 } else if (mechanism->cm_type == AES_GCM_MECH_INFO_TYPE) { in aes_decrypt_atomic() 395 if (mechanism->cm_type != AES_CCM_MECH_INFO_TYPE && in aes_create_ctx_template() 396 mechanism->cm_type != AES_GCM_MECH_INFO_TYPE) in aes_create_ctx_template() 469 switch (mechanism->cm_type) { in aes_common_init_ctx()
|
| H A D | sha2_mod.c | 379 switch (mechanism->cm_type) { in sha2_mac_init() 393 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_mac_init() 409 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_init() 569 switch (mechanism->cm_type) { in sha2_mac_atomic() 582 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_atomic() 590 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_atomic() 616 ASSERT3U(mechanism->cm_type, ==, SHA512_HMAC_MECH_INFO_TYPE); in sha2_mac_atomic() 672 switch (mechanism->cm_type) { in sha2_mac_verify_atomic() 685 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_verify_atomic() 693 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 | 81 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, in crypto_encrypt() 92 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_encrypt() 152 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, in crypto_decrypt() 163 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_decrypt()
|
| H A D | kcf_ctxops.c | 88 error = kcf_get_sw_prov(mech->cm_type, &pd, &me, B_TRUE); in crypto_create_ctx_template() 99 prov_mech.cm_type = KCF_TO_PROV_MECHNUM(pd, mech->cm_type); in crypto_create_ctx_template()
|
| H A D | kcf_mac.c | 97 if ((pd = kcf_get_mech_provider(mech->cm_type, &me, &error, in crypto_mac() 108 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_mac() 172 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, real_provider, &lmech); in crypto_mac_init_prov() 203 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.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/sys/contrib/openzfs/module/zfs/ |
| H A D | hkdf.c | 35 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in hkdf_sha512_extract() 81 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 | 109 (mechp)->cm_type = \
|
| /freebsd/sys/contrib/openzfs/include/sys/crypto/ |
| H A D | common.h | 52 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 | 289 mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname); in zio_crypt_key_init() 295 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_key_init() 416 mech.cm_type = crypto_mech2id(crypt_info.ci_mechname); in zio_do_crypt_uio() 636 mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname); in zio_crypt_key_unwrap() 642 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_key_unwrap() 689 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_do_hmac() 1150 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 | 611 mech->cm_type = crypto_mech2id(SUN_CKM_AES_GCM); in init_mech() 623 mech->cm_type = crypto_mech2id(SUN_CKM_AES_CCM); in init_mech()
|