Searched refs:modlen (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_rsa.c87 * should not be smaller than modlen since PKCS or X_509
90 if (dca_length(out) < reqp->dr_ctx.modlen) {
93 dca_length(out), reqp->dr_ctx.modlen);
94 out->cd_length = reqp->dr_ctx.modlen;
99 if (out != in && out->cd_length > reqp->dr_ctx.modlen)
100 out->cd_length = reqp->dr_ctx.modlen;
103 if (len > reqp->dr_ctx.modlen) {
113 if (len < reqp->dr_ctx.modlen && (mode == DCA_RSA_DEC ||
124 if (out->cd_length < reqp->dr_ctx.modlen && (mode == DCA_RSA_DEC ||
127 out->cd_length = reqp->dr_ctx.modlen;
[all...]
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_cmdk.c170 int modlen; local
177 modlen = xdfs_get_modser(xsp, DIOCTL_GETMODEL, hwid, CMDK_HWIDLEN);
178 if (modlen == 0)
181 hwid[modlen++] = '=';
183 hwid + modlen, CMDK_HWIDLEN - modlen);
187 hwid[modlen + serlen] = 0;
190 rc = ddi_devid_init(xsp->xdfss_dip, DEVID_ATA_SERIAL, modlen + serlen,
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c1640 int modlen; local
1647 modlen = cmdk_get_modser(dkp, DIOCTL_GETMODEL, hwid, CMDK_HWIDLEN);
1648 if (modlen == 0) {
1652 hwid[modlen++] = '=';
1654 hwid + modlen, CMDK_HWIDLEN - modlen);
1659 hwid[modlen + serlen] = 0;
1662 rc = ddi_devid_init(dkp->dk_dip, DEVID_ATA_SERIAL, modlen + serlen,
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c699 get_path_info(struct iodev_snapshot *io, char *mod, size_t modlen, int *type, argument
729 (void) strlcpy(mod, lname, modlen);
732 (void) strlcpy(mod, io->is_module, modlen);
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c60 size_t modlen);
1256 eventmodifier2string(au_emod_t emodifier, char *modstring, size_t modlen) argument
1289 (void) strlcat(modstring, ":", modlen);
1290 (void) strlcat(modstring, em_map[i].string, modlen);
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Ddca.h212 unsigned modlen; /* RSA modulus length */ member in struct:dca_ctx
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c1963 int i, modlen; local
1978 modlen = strlen(model);
1979 for (i = 0, pid = model; i < modlen; i++, pid++)
1986 if (i < modlen && i <= 8) {
16424 int modlen; local
16436 modlen = sata_check_modser(hwid, sizeof (sdinfo->satadrv_id.ai_model));
16437 if (modlen == 0)
16439 hwid[modlen++] = '=';
16440 bcopy(&sdinfo->satadrv_id.ai_drvser, &hwid[modlen],
16442 swab(&hwid[modlen],
[all...]

Completed in 101 milliseconds