ct 43 source3/lib/afs.c const struct ClearToken *ct)
ct 48 source3/lib/afs.c DATA_BLOB key = data_blob(ct->HandShakeKey, 8);
ct 65 source3/lib/afs.c ct->AuthHandle, base64_key, ct->ViceId, ct->BeginTimestamp,
ct 66 source3/lib/afs.c ct->EndTimestamp, base64_ticket);
ct 80 source3/lib/afs.c DATA_BLOB *ticket, struct ClearToken *ct)
ct 98 source3/lib/afs.c ct->AuthHandle = key.kvno;
ct 128 source3/lib/afs.c memcpy(ct->HandShakeKey, p, 8);
ct 145 source3/lib/afs.c ct->BeginTimestamp = now;
ct 148 source3/lib/afs.c ct->EndTimestamp = NEVERDATE;
ct 150 source3/lib/afs.c ct->EndTimestamp = now + lp_afs_token_lifetime();
ct 152 source3/lib/afs.c if (((ct->EndTimestamp - ct->BeginTimestamp) & 1) == 1) {
ct 153 source3/lib/afs.c ct->BeginTimestamp += 1; /* Lifetime must be even */
ct 187 source3/lib/afs.c struct ClearToken ct;
ct 190 source3/lib/afs.c if (!afs_createtoken(username, cell, &ticket, &ct))
ct 193 source3/lib/afs.c result = afs_encode_token(cell, ticket, &ct);
ct 225 source3/lib/afs.c struct ClearToken ct;
ct 270 source3/lib/afs.c if (!afs_createtoken(afs_username, cell, &ticket, &ct))
ct 274 source3/lib/afs.c ct.ViceId = getuid();
ct 276 source3/lib/afs.c ticket_str = afs_encode_token(cell, ticket, &ct);
ct 70 source3/lib/afs_settoken.c DATA_BLOB *ticket, struct ClearToken *ct)
ct 158 source3/lib/afs_settoken.c *ct = result_ct;
ct 232 source3/lib/afs_settoken.c struct ClearToken ct;
ct 236 source3/lib/afs_settoken.c if (!afs_decode_token(token_string, &cell, &ticket, &ct))
ct 240 source3/lib/afs_settoken.c ct.ViceId = getuid();
ct 242 source3/lib/afs_settoken.c result = afs_settoken(cell, &ct, ticket);
ct 740 source3/lib/smbldap.c int ct = lp_ldap_connection_timeout()*1000;
ct 741 source3/lib/smbldap.c rc = ldap_set_option(*ldap_struct, LDAP_X_OPT_CONNECT_TIMEOUT, &ct);
ct 744 source3/lib/smbldap.c ct, ldap_err2string(rc)));
ct 749 source3/lib/smbldap.c struct timeval ct;
ct 750 source3/lib/smbldap.c ct.tv_usec = 0;
ct 751 source3/lib/smbldap.c ct.tv_sec = lp_ldap_connection_timeout();
ct 752 source3/lib/smbldap.c rc = ldap_set_option(*ldap_struct, LDAP_OPT_NETWORK_TIMEOUT, &ct);
ct 755 source3/lib/smbldap.c (int)ct.tv_sec, ldap_err2string(rc)));
ct 2792 source4/heimdal/lib/asn1/parse.c new_constraint_spec(enum ctype ct)
ct 2795 source4/heimdal/lib/asn1/parse.c c->ctype = ct;
ct 977 source4/heimdal/lib/asn1/parse.y new_constraint_spec(enum ctype ct)
ct 980 source4/heimdal/lib/asn1/parse.y c->ctype = ct;
ct 42 source4/heimdal/lib/gssapi/mech/gss_decapsulate_token.c GSSAPIContextToken ct;
ct 55 source4/heimdal/lib/gssapi/mech/gss_decapsulate_token.c &ct, NULL);
ct 61 source4/heimdal/lib/gssapi/mech/gss_decapsulate_token.c if (der_heim_oid_cmp(&ct.thisMech, &o) == 0) {
ct 63 source4/heimdal/lib/gssapi/mech/gss_decapsulate_token.c output_token->value = ct.innerContextToken.data;
ct 64 source4/heimdal/lib/gssapi/mech/gss_decapsulate_token.c output_token->length = ct.innerContextToken.length;
ct 65 source4/heimdal/lib/gssapi/mech/gss_decapsulate_token.c der_free_oid(&ct.thisMech);
ct 67 source4/heimdal/lib/gssapi/mech/gss_decapsulate_token.c free_GSSAPIContextToken(&ct);
ct 42 source4/heimdal/lib/gssapi/mech/gss_encapsulate_token.c GSSAPIContextToken ct;
ct 46 source4/heimdal/lib/gssapi/mech/gss_encapsulate_token.c ret = der_get_oid (oid->elements, oid->length, &ct.thisMech, &size);
ct 52 source4/heimdal/lib/gssapi/mech/gss_encapsulate_token.c ct.innerContextToken.data = input_token->value;
ct 53 source4/heimdal/lib/gssapi/mech/gss_encapsulate_token.c ct.innerContextToken.length = input_token->length;
ct 57 source4/heimdal/lib/gssapi/mech/gss_encapsulate_token.c &ct, &size, ret);
ct 58 source4/heimdal/lib/gssapi/mech/gss_encapsulate_token.c der_free_oid(&ct.thisMech);
ct 62 source4/heimdal/lib/hcrypto/camellia-ntt.c # define PUTU32(ct, st) {*((u32 *)(ct)) = SWAP((st));}
ct 72 source4/heimdal/lib/hcrypto/camellia-ntt.c # define PUTU32(ct, st) { \
ct 73 source4/heimdal/lib/hcrypto/camellia-ntt.c (ct)[0] = (u8)((st) >> 24); \
ct 74 source4/heimdal/lib/hcrypto/camellia-ntt.c (ct)[1] = (u8)((st) >> 16); \
ct 75 source4/heimdal/lib/hcrypto/camellia-ntt.c (ct)[2] = (u8)((st) >> 8); \
ct 76 source4/heimdal/lib/hcrypto/camellia-ntt.c (ct)[3] = (u8)(st); }
ct 734 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
ct 737 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
ct 871 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 ct[16]) {
ct 1028 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c PUTU32(ct , s0);
ct 1035 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c PUTU32(ct + 4, s1);
ct 1042 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c PUTU32(ct + 8, s2);
ct 1049 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c PUTU32(ct + 12, s3);
ct 1052 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c void rijndaelDecrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 ct[16], u8 pt[16]) {
ct 1062 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s0 = GETU32(ct ) ^ rk[0];
ct 1063 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s1 = GETU32(ct + 4) ^ rk[1];
ct 1064 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s2 = GETU32(ct + 8) ^ rk[2];
ct 1065 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c s3 = GETU32(ct + 12) ^ rk[3];
ct 43 source4/heimdal/lib/hcrypto/rijndael-alg-fst.h void rijndaelEncrypt(const uint32_t rk[/*4*(Nr + 1)*/], int Nr, const uint8_t pt[16], uint8_t ct[16]);
ct 44 source4/heimdal/lib/hcrypto/rijndael-alg-fst.h void rijndaelDecrypt(const uint32_t rk[/*4*(Nr + 1)*/], int Nr, const uint8_t ct[16], uint8_t pt[16]);
ct 1707 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct,
ct 1712 source4/heimdal/lib/krb5/crypto.c if(ct->flags & F_DERIVED)
ct 1714 source4/heimdal/lib/krb5/crypto.c else if(ct->flags & F_VARIANT) {
ct 1737 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct,
ct 1748 source4/heimdal/lib/krb5/crypto.c if (ct->flags & F_DISABLED) {
ct 1752 source4/heimdal/lib/krb5/crypto.c keyed_checksum = (ct->flags & F_KEYED) != 0;
ct 1757 source4/heimdal/lib/krb5/crypto.c ct->name);
ct 1761 source4/heimdal/lib/krb5/crypto.c ret = get_checksum_key(context, crypto, usage, ct, &dkey);
ct 1766 source4/heimdal/lib/krb5/crypto.c result->cksumtype = ct->type;
ct 1767 source4/heimdal/lib/krb5/crypto.c ret = krb5_data_alloc(&result->checksum, ct->checksumsize);
ct 1770 source4/heimdal/lib/krb5/crypto.c return (*ct->checksum)(context, dkey, data, len, usage, result);
ct 1774 source4/heimdal/lib/krb5/crypto.c arcfour_checksum_p(struct checksum_type *ct, krb5_crypto crypto)
ct 1776 source4/heimdal/lib/krb5/crypto.c return (ct->type == CKSUMTYPE_HMAC_MD5) &&
ct 1789 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct = NULL;
ct 1794 source4/heimdal/lib/krb5/crypto.c ct = _find_checksum(type);
ct 1796 source4/heimdal/lib/krb5/crypto.c ct = crypto->et->keyed_checksum;
ct 1797 source4/heimdal/lib/krb5/crypto.c if (ct == NULL)
ct 1798 source4/heimdal/lib/krb5/crypto.c ct = crypto->et->checksum;
ct 1801 source4/heimdal/lib/krb5/crypto.c if(ct == NULL) {
ct 1808 source4/heimdal/lib/krb5/crypto.c if (arcfour_checksum_p(ct, crypto)) {
ct 1814 source4/heimdal/lib/krb5/crypto.c return create_checksum(context, ct, crypto, keyusage,
ct 1830 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct;
ct 1832 source4/heimdal/lib/krb5/crypto.c ct = _find_checksum(cksum->cksumtype);
ct 1833 source4/heimdal/lib/krb5/crypto.c if (ct == NULL || (ct->flags & F_DISABLED)) {
ct 1839 source4/heimdal/lib/krb5/crypto.c if(ct->checksumsize != cksum->checksum.length) {
ct 1843 source4/heimdal/lib/krb5/crypto.c keyed_checksum = (ct->flags & F_KEYED) != 0;
ct 1848 source4/heimdal/lib/krb5/crypto.c ct->name);
ct 1852 source4/heimdal/lib/krb5/crypto.c ret = get_checksum_key(context, crypto, usage, ct, &dkey);
ct 1857 source4/heimdal/lib/krb5/crypto.c if(ct->verify)
ct 1858 source4/heimdal/lib/krb5/crypto.c return (*ct->verify)(context, dkey, data, len, usage, cksum);
ct 1860 source4/heimdal/lib/krb5/crypto.c ret = krb5_data_alloc (&c.checksum, ct->checksumsize);
ct 1864 source4/heimdal/lib/krb5/crypto.c ret = (*ct->checksum)(context, dkey, data, len, usage, &c);
ct 1889 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct;
ct 1892 source4/heimdal/lib/krb5/crypto.c ct = _find_checksum(cksum->cksumtype);
ct 1893 source4/heimdal/lib/krb5/crypto.c if(ct == NULL) {
ct 1900 source4/heimdal/lib/krb5/crypto.c if (arcfour_checksum_p(ct, crypto)) {
ct 1915 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct = NULL;
ct 1918 source4/heimdal/lib/krb5/crypto.c ct = crypto->et->keyed_checksum;
ct 1919 source4/heimdal/lib/krb5/crypto.c if (ct == NULL)
ct 1920 source4/heimdal/lib/krb5/crypto.c ct = crypto->et->checksum;
ct 1923 source4/heimdal/lib/krb5/crypto.c if (ct == NULL) {
ct 1929 source4/heimdal/lib/krb5/crypto.c *type = ct->type;
ct 1940 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct = _find_checksum(type);
ct 1941 source4/heimdal/lib/krb5/crypto.c if(ct == NULL) {
ct 1947 source4/heimdal/lib/krb5/crypto.c *size = ct->checksumsize;
ct 1955 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct = _find_checksum(type);
ct 1956 source4/heimdal/lib/krb5/crypto.c if(ct == NULL) {
ct 1963 source4/heimdal/lib/krb5/crypto.c return ct->flags & F_KEYED;
ct 1970 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct = _find_checksum(type);
ct 1971 source4/heimdal/lib/krb5/crypto.c if(ct == NULL) {
ct 1978 source4/heimdal/lib/krb5/crypto.c return ct->flags & F_CPROOF;
ct 1985 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct = _find_checksum(type);
ct 1986 source4/heimdal/lib/krb5/crypto.c if(ct == NULL) {
ct 1993 source4/heimdal/lib/krb5/crypto.c ct->flags |= F_DISABLED;
ct 2317 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct = crypto->et->checksum;
ct 2322 source4/heimdal/lib/krb5/crypto.c result.cksumtype = ct->type;
ct 2323 source4/heimdal/lib/krb5/crypto.c ret = krb5_data_alloc(&result.checksum, ct->checksumsize);
ct 2329 source4/heimdal/lib/krb5/crypto.c ret = (*ct->checksum)(context, NULL, in->data, in->length, 0, &result);