Home
last modified time | relevance | path

Searched refs:cksumtype (Results 1 – 23 of 23) sorted by relevance

/freebsd/crypto/heimdal/lib/krb5/
H A Dmit_glue.c44 krb5_cksumtype cksumtype, in krb5_c_make_checksum() argument
57 ret = krb5_create_checksum(context, crypto, usage, cksumtype, in krb5_c_make_checksum()
74 ret = krb5_c_make_checksum(context, cksum->cksumtype, in krb5_c_verify_checksum()
79 if (data_cksum.cksumtype == cksum->cksumtype in krb5_c_verify_checksum()
95 *type = cksum->cksumtype; in krb5_c_get_checksum()
115 cksum->cksumtype = type; in krb5_c_set_checksum()
175 krb5_c_checksum_length (krb5_context context, krb5_cksumtype cksumtype, in krb5_c_checksum_length() argument
178 return krb5_checksumsize(context, cksumtype, length); in krb5_c_checksum_length()
H A Dauth_context.c62 p->cksumtype = CKSUMTYPE_NONE; in krb5_auth_con_init()
355 krb5_cksumtype cksumtype) in krb5_auth_con_setcksumtype() argument
357 auth_context->cksumtype = cksumtype; in krb5_auth_con_setcksumtype()
364 krb5_cksumtype *cksumtype) in krb5_auth_con_getcksumtype() argument
366 *cksumtype = auth_context->cksumtype; in krb5_auth_con_getcksumtype()
H A Drd_safe.c50 safe->cksum.cksumtype = 0; in verify_checksum()
123 if (!krb5_checksum_is_keyed(context, safe.cksum.cksumtype) in krb5_rd_safe()
124 || !krb5_checksum_is_collision_proof(context, safe.cksum.cksumtype)) { in krb5_rd_safe()
H A Dpac.c105 result->cksumtype = CKSUMTYPE_HMAC_MD5; in HMAC_MD5_any_checksum()
539 cksum.cksumtype = type; in verify_checksum()
554 if (!krb5_checksum_is_keyed(context, cksum.cksumtype)) { in verify_checksum()
557 cksum.cksumtype); in verify_checksum()
570 if (cksum.cksumtype == CKSUMTYPE_HMAC_MD5) { in verify_checksum()
613 uint32_t cksumtype, in create_checksum() argument
630 if (cksumtype == (uint32_t)CKSUMTYPE_HMAC_MD5) { in create_checksum()
1002 uint32_t *cksumtype, in pac_checksum() argument
1019 *cksumtype = CKSUMTYPE_HMAC_MD5; in pac_checksum()
1027 *cksumtype = (uint32_t)cktype; in pac_checksum()
H A Dcrypto.c376 result->cksumtype = ct->type; in create_checksum()
442 ct = _krb5_find_checksum(cksum->cksumtype); in verify_checksum()
446 cksum->cksumtype); in verify_checksum()
534 ct = _krb5_find_checksum(cksum->cksumtype); in krb5_verify_checksum()
538 cksum->cksumtype); in krb5_verify_checksum()
1037 cksum.cksumtype = CHECKSUMTYPE(et->keyed_checksum); in decrypt_internal_derived()
1110 cksum.cksumtype = CHECKSUMTYPE(et->checksum); in decrypt_internal()
1523 cksum.cksumtype = CHECKSUMTYPE(et->keyed_checksum); in krb5_decrypt_iov_ivec()
1597 *type = cksum.cksumtype; in krb5_create_checksum_iov()
1670 cksum.cksumtype = CHECKSUMTYPE(et->keyed_checksum); in krb5_verify_checksum_iov()
[all …]
H A Dcrypto-aes.c99 result.cksumtype = ct->type; in AES_PRF()
H A Dmk_safe.c98 s.cksum.cksumtype = 0; in krb5_mk_safe()
H A Dbuild_auth.c157 if (auth.cksum->cksumtype == CKSUMTYPE_GSSAPI) { in _krb5_build_authenticator()
H A Dkrb5.h643 krb5_cksumtype cksumtype; /* ¡requested checksum type! */ member
/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A D8003.c129 result->cksumtype = CKSUMTYPE_GSSAPI; in _gsskrb5_create_8003_checksum()
186 if(cksum->cksumtype != CKSUMTYPE_GSSAPI || cksum->checksum.length < 24) { in _gsskrb5_verify_8003_checksum()
H A Dexport_sec_context.c160 kret = krb5_store_int32 (sp, ac->cksumtype); in _gsskrb5_export_sec_context()
H A Dimport_sec_context.c149 ac->cksumtype = tmp; in _gsskrb5_import_sec_context()
H A Dverify_mic.c257 csum.cksumtype = CKSUMTYPE_HMAC_SHA1_DES3; in verify_mic_des3()
H A Dunwrap.c379 csum.cksumtype = CKSUMTYPE_HMAC_SHA1_DES3; in unwrap_des3()
H A Daccept_sec_context.c520 if (authenticator->cksum->cksumtype == CKSUMTYPE_GSSAPI) { in gsskrb5_acceptor_start()
H A Dcfx.c1518 &cksum.cksumtype); in _gssapi_unwrap_cfx()
1728 &cksum.cksumtype); in _gssapi_verify_mic_cfx()
/freebsd/usr.sbin/makefs/zfs/
H A Dvdev.c112 vdev_pwrite_data(zfs_opt_t *zfs, uint8_t datatype, uint8_t cksumtype, in vdev_pwrite_data() argument
118 assert(cksumtype == ZIO_CHECKSUM_FLETCHER_4); in vdev_pwrite_data()
121 blkptr_set(bp, loc, sz, datatype, level, fill, cksumtype, &cksum); in vdev_pwrite_data()
H A Dzfs.h149 void vdev_pwrite_data(zfs_opt_t *zfs, uint8_t datatype, uint8_t cksumtype,
/freebsd/crypto/heimdal/kdc/
H A Dkrb5tgs.c1047 !krb5_checksum_is_keyed(context, auth->cksum->cksumtype) in tgs_check_authenticator()
1050 !krb5_checksum_is_collision_proof(context, auth->cksum->cksumtype)) { in tgs_check_authenticator()
1052 auth->cksum->cksumtype); in tgs_check_authenticator()
1895 if (!krb5_checksum_is_keyed(context, self.cksum.cksumtype)) { in tgs_build_reply()
/freebsd/crypto/heimdal/lib/asn1/
H A Dkrb5.asn1401 cksumtype[0] CKSUMTYPE,
/freebsd/crypto/heimdal/
H A DChangeLog.1998171 * lib/krb5/auth_context.c: remove enctype and cksumtype from
1407 * lib/krb5/mk_safe.c (krb5_mk_safe): figure out what cksumtype to
1411 cksumtype to use from the keytype.
1430 * lib/krb5/auth_context.c (krb5_auth_con_init): set `cksumtype'
H A DChangeLog.19991276 `cksumtype'
1292 and cksumtype
H A DChangeLog.20041133 krb5_{enctype,cksumtype}_valid