Lines Matching refs:crypto_digest
3424 * ASSUMPTION: crypto_digest, crypto_sign, crypto_sign_recover,
3432 STRUCT_DECL(crypto_digest, crypto_digest);
3444 STRUCT_INIT(crypto_digest, mode);
3451 if (copyin(arg, STRUCT_BUF(crypto_digest),
3452 STRUCT_SIZE(crypto_digest)) != 0) {
3460 datalen = STRUCT_FGET(crypto_digest, cd_datalen);
3461 digestlen = STRUCT_FGET(crypto_digest, cd_digestlen);
3467 digestbuf = STRUCT_FGETP(crypto_digest, cd_digestbuf);
3480 session_id = STRUCT_FGET(crypto_digest, cd_session);
3495 if (datalen != 0 && copyin(STRUCT_FGETP(crypto_digest, cd_databuf),
3528 STRUCT_FSET(crypto_digest, cd_digestlen,
3538 if (STRUCT_FGETP(crypto_digest, cd_digestbuf) == NULL)
3540 STRUCT_FSET(crypto_digest, cd_digestlen,
3558 STRUCT_FSET(crypto_digest, cd_return_value, rv);
3559 if (copyout(STRUCT_BUF(crypto_digest), arg,
3560 STRUCT_SIZE(crypto_digest)) != 0) {