Home
last modified time | relevance | path

Searched refs:checksum_type (Results 1 – 20 of 20) sorted by relevance

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dverify_checksum.c48 if (krb5_cksumtypes_list[i].ctype == cksum->checksum_type) in krb5_c_verify_checksum()
68 if ((ret = krb5_c_checksum_length(context, cksum->checksum_type, &hashsize))) in krb5_c_verify_checksum()
76 if ((ret = krb5_c_make_checksum(context, cksum->checksum_type, key, usage, in krb5_c_verify_checksum()
H A Dmake_checksum.c145 cksum->checksum_type = cksumtype; in krb5_c_make_checksum()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Drd_safe.c69 if (!krb5_c_valid_cksumtype(message->checksum->checksum_type)) { in krb5_rd_safe_basic()
73 if (!krb5_c_is_coll_proof_cksum(message->checksum->checksum_type) || in krb5_rd_safe_basic()
74 !krb5_c_is_keyed_cksum(message->checksum->checksum_type)) { in krb5_rd_safe_basic()
115 our_cksum.checksum_type = 0; in krb5_rd_safe_basic()
H A Dmk_req_ext.c206 checksum.checksum_type = 0x8003; in krb5_mk_req_extended()
260 if (checksump && checksump->checksum_type != 0x8003) in krb5_mk_req_extended()
H A Dmk_safe.c100 safe_checksum.checksum_type = 0; in krb5_mk_safe_basic()
H A Dpac.c707 checksum.checksum_type = load_32_le(p); in k5_pac_verify_server_checksum()
777 checksum.checksum_type = load_32_le(p); in k5_pac_verify_kdc_checksum()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dk5seal.c166 md5cksum.checksum_type = CKSUMTYPE_RSA_MD5; in make_seal_token_v1()
169 md5cksum.checksum_type = CKSUMTYPE_HMAC_SHA1_DES3; in make_seal_token_v1()
172 md5cksum.checksum_type = CKSUMTYPE_HMAC_MD5_ARCFOUR; in make_seal_token_v1()
186 code = krb5_c_checksum_length(context, md5cksum.checksum_type, &sumlen); in make_seal_token_v1()
229 code = krb5_c_make_checksum(context, md5cksum.checksum_type, seq, in make_seal_token_v1()
H A Dk5unseal.c325 md5cksum.checksum_type = CKSUMTYPE_RSA_MD5;
328 md5cksum.checksum_type = CKSUMTYPE_HMAC_MD5_ARCFOUR;
331 md5cksum.checksum_type = CKSUMTYPE_HMAC_SHA1_DES3;
343 code = krb5_c_checksum_length(context, md5cksum.checksum_type, &sumlen);
385 code = krb5_c_make_checksum(context, md5cksum.checksum_type,
480 code = krb5_c_make_checksum(context, md5cksum.checksum_type,
546 code = krb5_c_make_checksum(context, md5cksum.checksum_type,
H A Dk5sealv3.c508 sum.checksum_type = ctx->cksumtype; in gss_krb5int_unseal_token_v3()
559 sum.checksum_type = ctx->cksumtype; in gss_krb5int_unseal_token_v3()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/crc32/
H A Dcrc.c196 outcksum->checksum_type = CKSUMTYPE_CRC32;
221 if (cksum->checksum_type == CKSUMTYPE_CRC32) {
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_cksum.c114 (void) krb5_ser_pack_int32((krb5_int32) checksum->checksum_type, in krb5_checksum_externalize()
166 checksum->checksum_type = (krb5_cksumtype) ibuf; in krb5_checksum_internalize()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_cksum.c56 cksum->checksum_type = CKSUMTYPE_RSA_MD5;
H A Daccept_sec_context.c664 if ((authdat->checksum->checksum_type != CKSUMTYPE_KG_CB) ||
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dold_api_glue.c236 outcksum->checksum_type = cksum.checksum_type; in krb5_calculate_checksum()
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_clnt.c861 if (key_pack->asChecksum.checksum_type == 14)
862 key_pack->asChecksum.checksum_type = CKSUMTYPE_NIST_SHA;
864 key_pack->asChecksum.checksum_type,
885 key_pack->asChecksum.checksum_type,
890 cksum.checksum_type, cksum.length);
H A Dpkinit_srv.c507 auth_pack->pkAuthenticator.paChecksum.checksum_type, in pkinit_server_verify_padata()
512 cksum.checksum_type, cksum.length); in pkinit_server_verify_padata()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c175 if (!krb5_c_valid_cksumtype(his_cksum->checksum_type)) in comp_cksum()
179 if (!krb5_c_is_coll_proof_cksum(his_cksum->checksum_type)) in comp_cksum()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.c464 get_field(val->checksum_type,0,asn1_decode_cksumtype); in asn1_decode_checksum()
H A Dasn1_k_encode.c191 FIELDOF_NORM(krb5_checksum, int32, checksum_type, 0),
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dkrb5.h434 krb5_cksumtype checksum_type; /* checksum type */ member