Home
last modified time | relevance | path

Searched refs:ccm (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb3_encrypt_kcf.c78 ctx->param.ccm.ulMACSize = SMB2_SIG_SIZE; in smb3_crypto_init_ccm_param()
79 ctx->param.ccm.ulNonceSize = SMB3_AES_CCM_NONCE_SIZE; in smb3_crypto_init_ccm_param()
80 ctx->param.ccm.nonce = nonce; in smb3_crypto_init_ccm_param()
81 ctx->param.ccm.ulDataSize = datasize; in smb3_crypto_init_ccm_param()
82 ctx->param.ccm.ulAuthDataSize = authsize; in smb3_crypto_init_ccm_param()
83 ctx->param.ccm.authData = auth; in smb3_crypto_init_ccm_param()
85 ctx->mech.cm_param = (caddr_t)&ctx->param.ccm; in smb3_crypto_init_ccm_param()
86 ctx->mech.cm_param_len = sizeof (ctx->param.ccm); in smb3_crypto_init_ccm_param()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dnsmb_crypt_kcf.c82 ctx->param.ccm.ulMACSize = SMB2_SIG_SIZE; in nsmb_crypto_init_ccm_param()
83 ctx->param.ccm.ulNonceSize = SMB3_AES_CCM_NONCE_SIZE; in nsmb_crypto_init_ccm_param()
84 ctx->param.ccm.nonce = nonce; in nsmb_crypto_init_ccm_param()
85 ctx->param.ccm.ulDataSize = datasize; in nsmb_crypto_init_ccm_param()
86 ctx->param.ccm.ulAuthDataSize = authsize; in nsmb_crypto_init_ccm_param()
87 ctx->param.ccm.authData = auth; in nsmb_crypto_init_ccm_param()
89 ctx->mech.cm_param = (caddr_t)&ctx->param.ccm; in nsmb_crypto_init_ccm_param()
90 ctx->mech.cm_param_len = sizeof (ctx->param.ccm); in nsmb_crypto_init_ccm_param()
H A Dnsmb_kcrypt.h62 CK_AES_CCM_PARAMS ccm; member
82 CK_CCM_PARAMS ccm;
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_encrypt_pkcs.c97 ctx->param.ccm.ulDataLen = datasize; in smb3_crypto_init_ccm_param()
98 ctx->param.ccm.pNonce = nonce; in smb3_crypto_init_ccm_param()
99 ctx->param.ccm.ulNonceLen = SMB3_AES_CCM_NONCE_SIZE; in smb3_crypto_init_ccm_param()
100 ctx->param.ccm.pAAD = auth; in smb3_crypto_init_ccm_param()
101 ctx->param.ccm.ulAADLen = authsize; in smb3_crypto_init_ccm_param()
102 ctx->param.ccm.ulMACLen = SMB2_SIG_SIZE; in smb3_crypto_init_ccm_param()
104 ctx->mech.pParameter = (caddr_t)&ctx->param.ccm; in smb3_crypto_init_ccm_param()
105 ctx->mech.ulParameterLen = sizeof (ctx->param.ccm); in smb3_crypto_init_ccm_param()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfksmb_crypt_pkcs.c102 ctx->param.ccm.ulDataLen = datasize; in nsmb_crypto_init_ccm_param()
103 ctx->param.ccm.pNonce = nonce; in nsmb_crypto_init_ccm_param()
104 ctx->param.ccm.ulNonceLen = SMB3_AES_CCM_NONCE_SIZE; in nsmb_crypto_init_ccm_param()
105 ctx->param.ccm.pAAD = auth; in nsmb_crypto_init_ccm_param()
106 ctx->param.ccm.ulAADLen = authsize; in nsmb_crypto_init_ccm_param()
107 ctx->param.ccm.ulMACLen = SMB2_SIG_SIZE; in nsmb_crypto_init_ccm_param()
109 ctx->mech.pParameter = (caddr_t)&ctx->param.ccm; in nsmb_crypto_init_ccm_param()
110 ctx->mech.ulParameterLen = sizeof (ctx->param.ccm); in nsmb_crypto_init_ccm_param()
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kcrypt.h58 CK_AES_CCM_PARAMS ccm; member
77 CK_CCM_PARAMS ccm;
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Damdzen.c1147 amdzen_ccm_data_t *ccm = &dfe->adfe_data.aded_ccm; in amdzen_setup_df_ccm() local
1172 ccm->acd_ccd_en[i] = (ccd_en & (1 << i)) != 0; in amdzen_setup_df_ccm()
1173 if (ccm->acd_ccd_en[i] == 0) in amdzen_setup_df_ccm()
1175 ccm->acd_ccd_id[i] = ccmno + i * df->adf_nccm; in amdzen_setup_df_ccm()
1176 ccm->acd_nccds++; in amdzen_setup_df_ccm()
2456 const amdzen_ccm_data_t *ccm = &ent->adfe_data.aded_ccm; in amdzen_topo_ioctl_df_fill_ccm() local
2459 topo_ccm->atcd_nccds = ccm->acd_nccds; in amdzen_topo_ioctl_df_fill_ccm()
2461 topo_ccm->atcd_ccd_en[i] = ccm->acd_ccd_en[i]; in amdzen_topo_ioctl_df_fill_ccm()
2462 topo_ccm->atcd_ccd_ids[i] = ccm->acd_ccd_id[i]; in amdzen_topo_ioctl_df_fill_ccm()
2599 amdzen_ccm_data_t *ccm; in amdzen_topo_ioctl_ccd() local
[all …]
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/
H A DMakefile20 SUBDIRS = cbc cbc_pad ccm cmac ctr ecb gcm
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/
H A Dtopo_zen.c203 const amdzen_topo_ccm_data_t *ccm; in topo_zen_enum_chip_gather() local
209 ccm = &dfe->atde_data.atded_ccm; in topo_zen_enum_chip_gather()
210 for (uint32_t ccm_ccdno = 0; ccm_ccdno < ccm->atcd_nccds; in topo_zen_enum_chip_gather()
212 if (ccm->atcd_ccd_en[ccm_ccdno] == 0) { in topo_zen_enum_chip_gather()
217 ccdno, ccm->atcd_ccd_ids[ccm_ccdno]) != 0) { in topo_zen_enum_chip_gather()
/illumos-gate/usr/src/lib/pkcs11/libsoftcrypto/
H A DMakefile.com60 MODES_COMMON_OBJS = modes.o ecb.o cbc.o ctr.o ccm.o gcm.o
/illumos-gate/usr/src/cmd/cmd-inet/etc/
H A Dipsecalgs57 ALG|3|16|aes-ccm,aes-ccm16|CKM_AES_CCM|128/128-256,64|16|8,16,3|15
/illumos-gate/usr/src/uts/common/
H A DMakefile.files1622 kcf_random.o modes.o ecb.o cbc.o ctr.o ccm.o gcm.o \