crypto 1000 source3/libsmb/clikrb5.c krb5_crypto crypto;
crypto 1004 source3/libsmb/clikrb5.c &crypto);
crypto 1012 source3/libsmb/clikrb5.c crypto,
crypto 1018 source3/libsmb/clikrb5.c krb5_crypto_destroy(context, crypto);
crypto 41 source4/auth/kerberos/kerberos_pac.c krb5_crypto crypto;
crypto 51 source4/auth/kerberos/kerberos_pac.c &crypto);
crypto 58 source4/auth/kerberos/kerberos_pac.c crypto,
crypto 63 source4/auth/kerberos/kerberos_pac.c krb5_crypto_destroy(context, crypto);
crypto 390 source4/auth/kerberos/kerberos_pac.c krb5_crypto crypto;
crypto 397 source4/auth/kerberos/kerberos_pac.c &crypto);
crypto 404 source4/auth/kerberos/kerberos_pac.c crypto,
crypto 415 source4/auth/kerberos/kerberos_pac.c krb5_crypto_destroy(context, crypto);
crypto 197 source4/heimdal/kdc/524.c krb5_crypto crypto;
crypto 199 source4/heimdal/kdc/524.c ret = krb5_crypto_init(context, skey, ETYPE_DES_PCBC_NONE, &crypto);
crypto 208 source4/heimdal/kdc/524.c crypto,
crypto 214 source4/heimdal/kdc/524.c krb5_crypto_destroy(context, crypto);
crypto 298 source4/heimdal/kdc/524.c krb5_crypto crypto;
crypto 328 source4/heimdal/kdc/524.c ret = krb5_crypto_init(context, &skey->key, 0, &crypto);
crypto 335 source4/heimdal/kdc/524.c crypto,
crypto 339 source4/heimdal/kdc/524.c krb5_crypto_destroy(context, crypto);
crypto 61 source4/heimdal/kdc/digest.c krb5_crypto *crypto)
crypto 75 source4/heimdal/kdc/digest.c return krb5_crypto_init(context, &key->key, 0, crypto);
crypto 211 source4/heimdal/kdc/digest.c krb5_crypto crypto = NULL;
crypto 346 source4/heimdal/kdc/digest.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 352 source4/heimdal/kdc/digest.c ret = krb5_decrypt_EncryptedData(context, crypto, KRB5_KU_DIGEST_ENCRYPT,
crypto 354 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
crypto 355 source4/heimdal/kdc/digest.c crypto = NULL;
crypto 461 source4/heimdal/kdc/digest.c ret = get_digest_key(context, config, server, &crypto);
crypto 466 source4/heimdal/kdc/digest.c crypto,
crypto 472 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
crypto 473 source4/heimdal/kdc/digest.c crypto = NULL;
crypto 578 source4/heimdal/kdc/digest.c ret = get_digest_key(context, config, server, &crypto);
crypto 582 source4/heimdal/kdc/digest.c ret = krb5_verify_checksum(context, crypto,
crypto 585 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
crypto 586 source4/heimdal/kdc/digest.c crypto = NULL;
crypto 1089 source4/heimdal/kdc/digest.c ret = get_digest_key(context, config, server, &crypto);
crypto 1093 source4/heimdal/kdc/digest.c ret = krb5_encrypt(context, crypto, KRB5_KU_DIGEST_OPAQUE,
crypto 1096 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
crypto 1097 source4/heimdal/kdc/digest.c crypto = NULL;
crypto 1135 source4/heimdal/kdc/digest.c ret = get_digest_key(context, config, server, &crypto);
crypto 1139 source4/heimdal/kdc/digest.c ret = krb5_decrypt(context, crypto, KRB5_KU_DIGEST_OPAQUE,
crypto 1142 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
crypto 1143 source4/heimdal/kdc/digest.c crypto = NULL;
crypto 1407 source4/heimdal/kdc/digest.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 1413 source4/heimdal/kdc/digest.c ret = krb5_encrypt_EncryptedData(context, crypto, KRB5_KU_DIGEST_ENCRYPT,
crypto 1435 source4/heimdal/kdc/digest.c if (crypto)
crypto 1436 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
crypto 271 source4/heimdal/kdc/kerberos5.c krb5_crypto crypto;
crypto 286 source4/heimdal/kdc/kerberos5.c ret = krb5_crypto_init(context, skey, etype, &crypto);
crypto 295 source4/heimdal/kdc/kerberos5.c crypto,
crypto 302 source4/heimdal/kdc/kerberos5.c krb5_crypto_destroy(context, crypto);
crypto 324 source4/heimdal/kdc/kerberos5.c ret = krb5_crypto_init(context, ckey, 0, &crypto);
crypto 333 source4/heimdal/kdc/kerberos5.c crypto,
crypto 343 source4/heimdal/kdc/kerberos5.c crypto,
crypto 352 source4/heimdal/kdc/kerberos5.c krb5_crypto_destroy(context, crypto);
crypto 985 source4/heimdal/kdc/kerberos5.c krb5_crypto crypto;
crypto 1195 source4/heimdal/kdc/kerberos5.c ret = krb5_crypto_init(context, &pa_key->key, 0, &crypto);
crypto 1204 source4/heimdal/kdc/kerberos5.c crypto,
crypto 1208 source4/heimdal/kdc/kerberos5.c krb5_crypto_destroy(context, crypto);
crypto 1664 source4/heimdal/kdc/kerberos5.c krb5_crypto crypto;
crypto 1680 source4/heimdal/kdc/kerberos5.c ret = krb5_crypto_init(context, &et.key, 0, &crypto);
crypto 1686 source4/heimdal/kdc/kerberos5.c ret = krb5_create_checksum(context, crypto,
crypto 1691 source4/heimdal/kdc/kerberos5.c krb5_crypto_destroy(context, crypto);
crypto 116 source4/heimdal/kdc/krb5tgs.c krb5_crypto crypto = NULL;
crypto 143 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, &key->key, 0, &crypto);
crypto 157 source4/heimdal/kdc/krb5tgs.c ret = krb5_create_checksum(context, crypto, KRB5_KU_KRB5SIGNEDPATH, 0,
crypto 159 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
crypto 194 source4/heimdal/kdc/krb5tgs.c krb5_crypto crypto = NULL;
crypto 233 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, &key->key, 0, &crypto);
crypto 240 source4/heimdal/kdc/krb5tgs.c ret = krb5_verify_checksum(context, crypto, KRB5_KU_KRB5SIGNEDPATH,
crypto 243 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
crypto 945 source4/heimdal/kdc/krb5tgs.c krb5_crypto crypto;
crypto 983 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 991 source4/heimdal/kdc/krb5tgs.c crypto,
crypto 997 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
crypto 1069 source4/heimdal/kdc/krb5tgs.c krb5_crypto crypto;
crypto 1234 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, subkey, 0, &crypto);
crypto 1242 source4/heimdal/kdc/krb5tgs.c crypto,
crypto 1246 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
crypto 1677 source4/heimdal/kdc/krb5tgs.c krb5_crypto crypto;
crypto 1695 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, &tgt->key, 0, &crypto);
crypto 1705 source4/heimdal/kdc/krb5tgs.c crypto,
crypto 1711 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
crypto 1899 source4/heimdal/kdc/krb5tgs.c krb5_crypto crypto;
crypto 1904 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, &sessionkey, 0, &crypto);
crypto 1908 source4/heimdal/kdc/krb5tgs.c ret = build_server_referral(context, config, crypto, ref_realm,
crypto 1910 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
crypto 487 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_crypto crypto;
crypto 491 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c 0, &crypto);
crypto 506 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c crypto, KRB5_KU_AP_REQ_AUTH_CKSUM, NULL, 0,
crypto 509 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_crypto_destroy(context, crypto);
crypto 127 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto crypto;
crypto 142 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 149 source4/heimdal/lib/gssapi/krb5/arcfour.c crypto,
crypto 159 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto_destroy(context, crypto);
crypto 689 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto crypto,
crypto 741 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto crypto;
crypto 743 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 749 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = max_wrap_length_arcfour(ctx, crypto,
crypto 753 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto_destroy(context, crypto);
crypto 757 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto_destroy(context, crypto);
crypto 48 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto crypto,
crypto 62 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_get_checksum_type(context, crypto, &type);
crypto 77 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_getblocksize(context, crypto, &padsize);
crypto 79 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_getpadsize(context, crypto, &padsize);
crypto 93 source4/heimdal/lib/gssapi/krb5/cfx.c crypto, input_length);
crypto 106 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto crypto,
crypto 127 source4/heimdal/lib/gssapi/krb5/cfx.c crypto, wrapped_size);
crypto 146 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_get_checksum_type(context, crypto, &type);
crypto 175 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto crypto;
crypto 177 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 183 source4/heimdal/lib/gssapi/krb5/cfx.c ret = _gsskrb5cfx_max_wrap_length_cfx(context, crypto, conf_req_flag,
crypto 187 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 191 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 250 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto crypto;
crypto 260 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 267 source4/heimdal/lib/gssapi/krb5/cfx.c crypto, conf_req_flag,
crypto 272 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 283 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 373 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_encrypt(context, crypto,
crypto 380 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 399 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 412 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 419 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_create_checksum(context, crypto,
crypto 426 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 449 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 457 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 476 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto crypto;
crypto 553 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 580 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 584 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_decrypt(context, crypto, usage,
crypto 588 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 594 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 607 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 620 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 626 source4/heimdal/lib/gssapi/krb5/cfx.c crypto, &cksum.cksumtype);
crypto 629 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 638 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 650 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 667 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_verify_checksum(context, crypto,
crypto 674 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 680 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 698 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto crypto;
crypto 707 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 717 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 750 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_create_checksum(context, crypto,
crypto 754 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 758 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 790 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto crypto;
crypto 854 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 860 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_get_checksum_type(context, crypto,
crypto 864 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 880 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 886 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_verify_checksum(context, crypto,
crypto 891 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
crypto 145 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_crypto crypto;
crypto 185 source4/heimdal/lib/gssapi/krb5/get_mic.c kret = krb5_crypto_init(context, key, 0, &crypto);
crypto 196 source4/heimdal/lib/gssapi/krb5/get_mic.c crypto,
crypto 203 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_crypto_destroy (context, crypto);
crypto 229 source4/heimdal/lib/gssapi/krb5/get_mic.c ETYPE_DES3_CBC_NONE, &crypto);
crypto 244 source4/heimdal/lib/gssapi/krb5/get_mic.c crypto,
crypto 247 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_crypto_destroy (context, crypto);
crypto 49 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto crypto;
crypto 86 source4/heimdal/lib/gssapi/krb5/prf.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 97 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto_destroy(context, crypto);
crypto 111 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto_destroy(context, crypto);
crypto 121 source4/heimdal/lib/gssapi/krb5/prf.c ret = krb5_crypto_prf(context, crypto, &input, &output);
crypto 127 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto_destroy(context, crypto);
crypto 138 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto_destroy(context, crypto);
crypto 207 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_crypto crypto;
crypto 250 source4/heimdal/lib/gssapi/krb5/unwrap.c ETYPE_DES3_CBC_NONE, &crypto);
crypto 255 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_decrypt(context, crypto, KRB5_KU_USAGE_SEAL,
crypto 257 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_crypto_destroy(context, crypto);
crypto 286 source4/heimdal/lib/gssapi/krb5/unwrap.c ETYPE_DES3_CBC_NONE, &crypto);
crypto 297 source4/heimdal/lib/gssapi/krb5/unwrap.c crypto,
crypto 302 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_crypto_destroy (context, crypto);
crypto 349 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 355 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_verify_checksum (context, crypto,
crypto 360 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_crypto_destroy (context, crypto);
crypto 147 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto crypto;
crypto 170 source4/heimdal/lib/gssapi/krb5/verify_mic.c ETYPE_DES3_CBC_NONE, &crypto);
crypto 185 source4/heimdal/lib/gssapi/krb5/verify_mic.c crypto,
crypto 190 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
crypto 200 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
crypto 218 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
crypto 226 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
crypto 236 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
crypto 249 source4/heimdal/lib/gssapi/krb5/verify_mic.c ret = krb5_verify_checksum (context, crypto,
crypto 255 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
crypto 262 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
crypto 344 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_crypto crypto;
crypto 396 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 406 source4/heimdal/lib/gssapi/krb5/wrap.c crypto,
crypto 412 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_crypto_destroy (context, crypto);
crypto 443 source4/heimdal/lib/gssapi/krb5/wrap.c &crypto);
crypto 457 source4/heimdal/lib/gssapi/krb5/wrap.c crypto,
crypto 462 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_crypto_destroy (context, crypto);
crypto 488 source4/heimdal/lib/gssapi/krb5/wrap.c ETYPE_DES3_CBC_NONE, &crypto);
crypto 496 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_encrypt(context, crypto, KRB5_KU_USAGE_SEAL,
crypto 498 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_crypto_destroy(context, crypto);
crypto 43 source4/heimdal/lib/hdb/mkey.c krb5_crypto crypto;
crypto 53 source4/heimdal/lib/hdb/mkey.c if (mkey->crypto)
crypto 54 source4/heimdal/lib/hdb/mkey.c krb5_crypto_destroy(context, mkey->crypto);
crypto 83 source4/heimdal/lib/hdb/mkey.c ret = krb5_crypto_init(context, key, etype, &(*mkey)->crypto);
crypto 138 source4/heimdal/lib/hdb/mkey.c ret = krb5_crypto_init(context, &p->keytab.keyblock, 0, &p->crypto);
crypto 391 source4/heimdal/lib/hdb/mkey.c return krb5_decrypt(context, key->crypto, usage,
crypto 400 source4/heimdal/lib/hdb/mkey.c return krb5_encrypt(context, key->crypto, usage,
crypto 471 source4/heimdal/lib/hx509/cms.c hx509_crypto crypto;
crypto 473 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_init(context, NULL, &ai->algorithm, &crypto);
crypto 478 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_set_params(context, crypto, params, &ivec);
crypto 480 source4/heimdal/lib/hx509/cms.c hx509_crypto_destroy(crypto);
crypto 485 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_set_key_data(crypto, key.data, key.length);
crypto 487 source4/heimdal/lib/hx509/cms.c hx509_crypto_destroy(crypto);
crypto 494 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_decrypt(crypto,
crypto 499 source4/heimdal/lib/hx509/cms.c hx509_crypto_destroy(crypto);
crypto 557 source4/heimdal/lib/hx509/cms.c hx509_crypto crypto = NULL;
crypto 574 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_init(context, NULL, encryption_type, &crypto);
crypto 578 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_set_random_key(crypto, &key);
crypto 585 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_random_iv(crypto, &ivec);
crypto 592 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_encrypt(crypto,
crypto 623 source4/heimdal/lib/hx509/cms.c crypto,
crypto 690 source4/heimdal/lib/hx509/cms.c if (crypto)
crypto 691 source4/heimdal/lib/hx509/cms.c hx509_crypto_destroy(crypto);
crypto 1723 source4/heimdal/lib/hx509/crypto.c CMSCBCParam_get(hx509_context context, const hx509_crypto crypto,
crypto 1729 source4/heimdal/lib/hx509/crypto.c assert(crypto->param == NULL);
crypto 1744 source4/heimdal/lib/hx509/crypto.c hx509_crypto crypto, heim_octet_string *ivec)
crypto 1762 source4/heimdal/lib/hx509/crypto.c CMSRC2CBCParam_get(hx509_context context, const hx509_crypto crypto,
crypto 1766 source4/heimdal/lib/hx509/crypto.c const struct _RC2_params *p = crypto->param;
crypto 1799 source4/heimdal/lib/hx509/crypto.c hx509_crypto crypto, heim_octet_string *ivec)
crypto 1821 source4/heimdal/lib/hx509/crypto.c crypto->c = EVP_rc2_40_cbc();
crypto 1825 source4/heimdal/lib/hx509/crypto.c crypto->c = EVP_rc2_64_cbc();
crypto 1829 source4/heimdal/lib/hx509/crypto.c crypto->c = EVP_rc2_cbc();
crypto 1844 source4/heimdal/lib/hx509/crypto.c crypto->param = p;
crypto 1960 source4/heimdal/lib/hx509/crypto.c hx509_crypto *crypto)
crypto 1964 source4/heimdal/lib/hx509/crypto.c *crypto = NULL;
crypto 1973 source4/heimdal/lib/hx509/crypto.c *crypto = calloc(1, sizeof(**crypto));
crypto 1974 source4/heimdal/lib/hx509/crypto.c if (*crypto == NULL) {
crypto 1979 source4/heimdal/lib/hx509/crypto.c (*crypto)->cipher = cipher;
crypto 1980 source4/heimdal/lib/hx509/crypto.c (*crypto)->c = (*cipher->evp_func)();
crypto 1982 source4/heimdal/lib/hx509/crypto.c if (der_copy_oid(enctype, &(*crypto)->oid)) {
crypto 1983 source4/heimdal/lib/hx509/crypto.c hx509_crypto_destroy(*crypto);
crypto 1984 source4/heimdal/lib/hx509/crypto.c *crypto = NULL;
crypto 1993 source4/heimdal/lib/hx509/crypto.c hx509_crypto_provider(hx509_crypto crypto)
crypto 1999 source4/heimdal/lib/hx509/crypto.c hx509_crypto_destroy(hx509_crypto crypto)
crypto 2001 source4/heimdal/lib/hx509/crypto.c if (crypto->name)
crypto 2002 source4/heimdal/lib/hx509/crypto.c free(crypto->name);
crypto 2003 source4/heimdal/lib/hx509/crypto.c if (crypto->key.data)
crypto 2004 source4/heimdal/lib/hx509/crypto.c free(crypto->key.data);
crypto 2005 source4/heimdal/lib/hx509/crypto.c if (crypto->param)
crypto 2006 source4/heimdal/lib/hx509/crypto.c free(crypto->param);
crypto 2007 source4/heimdal/lib/hx509/crypto.c der_free_oid(&crypto->oid);
crypto 2008 source4/heimdal/lib/hx509/crypto.c memset(crypto, 0, sizeof(*crypto));
crypto 2009 source4/heimdal/lib/hx509/crypto.c free(crypto);
crypto 2013 source4/heimdal/lib/hx509/crypto.c hx509_crypto_set_key_name(hx509_crypto crypto, const char *name)
crypto 2019 source4/heimdal/lib/hx509/crypto.c hx509_crypto_set_key_data(hx509_crypto crypto, const void *data, size_t length)
crypto 2021 source4/heimdal/lib/hx509/crypto.c if (EVP_CIPHER_key_length(crypto->c) > length)
crypto 2024 source4/heimdal/lib/hx509/crypto.c if (crypto->key.data) {
crypto 2025 source4/heimdal/lib/hx509/crypto.c free(crypto->key.data);
crypto 2026 source4/heimdal/lib/hx509/crypto.c crypto->key.data = NULL;
crypto 2027 source4/heimdal/lib/hx509/crypto.c crypto->key.length = 0;
crypto 2029 source4/heimdal/lib/hx509/crypto.c crypto->key.data = malloc(length);
crypto 2030 source4/heimdal/lib/hx509/crypto.c if (crypto->key.data == NULL)
crypto 2032 source4/heimdal/lib/hx509/crypto.c memcpy(crypto->key.data, data, length);
crypto 2033 source4/heimdal/lib/hx509/crypto.c crypto->key.length = length;
crypto 2039 source4/heimdal/lib/hx509/crypto.c hx509_crypto_set_random_key(hx509_crypto crypto, heim_octet_string *key)
crypto 2041 source4/heimdal/lib/hx509/crypto.c if (crypto->key.data) {
crypto 2042 source4/heimdal/lib/hx509/crypto.c free(crypto->key.data);
crypto 2043 source4/heimdal/lib/hx509/crypto.c crypto->key.length = 0;
crypto 2046 source4/heimdal/lib/hx509/crypto.c crypto->key.length = EVP_CIPHER_key_length(crypto->c);
crypto 2047 source4/heimdal/lib/hx509/crypto.c crypto->key.data = malloc(crypto->key.length);
crypto 2048 source4/heimdal/lib/hx509/crypto.c if (crypto->key.data == NULL) {
crypto 2049 source4/heimdal/lib/hx509/crypto.c crypto->key.length = 0;
crypto 2052 source4/heimdal/lib/hx509/crypto.c if (RAND_bytes(crypto->key.data, crypto->key.length) <= 0) {
crypto 2053 source4/heimdal/lib/hx509/crypto.c free(crypto->key.data);
crypto 2054 source4/heimdal/lib/hx509/crypto.c crypto->key.data = NULL;
crypto 2055 source4/heimdal/lib/hx509/crypto.c crypto->key.length = 0;
crypto 2059 source4/heimdal/lib/hx509/crypto.c return der_copy_octet_string(&crypto->key, key);
crypto 2066 source4/heimdal/lib/hx509/crypto.c hx509_crypto crypto,
crypto 2070 source4/heimdal/lib/hx509/crypto.c return (*crypto->cipher->set_params)(context, param, crypto, ivec);
crypto 2075 source4/heimdal/lib/hx509/crypto.c hx509_crypto crypto,
crypto 2079 source4/heimdal/lib/hx509/crypto.c return (*crypto->cipher->get_params)(context, crypto, ivec, param);
crypto 2083 source4/heimdal/lib/hx509/crypto.c hx509_crypto_random_iv(hx509_crypto crypto, heim_octet_string *ivec)
crypto 2085 source4/heimdal/lib/hx509/crypto.c ivec->length = EVP_CIPHER_iv_length(crypto->c);
crypto 2102 source4/heimdal/lib/hx509/crypto.c hx509_crypto_encrypt(hx509_crypto crypto,
crypto 2114 source4/heimdal/lib/hx509/crypto.c assert(EVP_CIPHER_iv_length(crypto->c) == ivec->length);
crypto 2118 source4/heimdal/lib/hx509/crypto.c ret = EVP_CipherInit_ex(&evp, crypto->c, NULL,
crypto 2119 source4/heimdal/lib/hx509/crypto.c crypto->key.data, ivec->data, 1);
crypto 2132 source4/heimdal/lib/hx509/crypto.c if (EVP_CIPHER_block_size(crypto->c) == 1) {
crypto 2135 source4/heimdal/lib/hx509/crypto.c int bsize = EVP_CIPHER_block_size(crypto->c);
crypto 2179 source4/heimdal/lib/hx509/crypto.c hx509_crypto_decrypt(hx509_crypto crypto,
crypto 2192 source4/heimdal/lib/hx509/crypto.c if (ivec && EVP_CIPHER_iv_length(crypto->c) < ivec->length)
crypto 2195 source4/heimdal/lib/hx509/crypto.c if (crypto->key.data == NULL)
crypto 2203 source4/heimdal/lib/hx509/crypto.c ret = EVP_CipherInit_ex(&evp, crypto->c, NULL,
crypto 2204 source4/heimdal/lib/hx509/crypto.c crypto->key.data, idata, 0);
crypto 2223 source4/heimdal/lib/hx509/crypto.c if (EVP_CIPHER_block_size(crypto->c) > 1) {
crypto 2226 source4/heimdal/lib/hx509/crypto.c int j, bsize = EVP_CIPHER_block_size(crypto->c);
crypto 2270 source4/heimdal/lib/hx509/crypto.c hx509_crypto *crypto,
crypto 2321 source4/heimdal/lib/hx509/crypto.c *crypto = c;
crypto 2432 source4/heimdal/lib/hx509/crypto.c hx509_crypto crypto;
crypto 2442 source4/heimdal/lib/hx509/crypto.c ret = (*s2k)(context, password, ai->parameters, &crypto,
crypto 2447 source4/heimdal/lib/hx509/crypto.c ret = hx509_crypto_decrypt(crypto,
crypto 2452 source4/heimdal/lib/hx509/crypto.c hx509_crypto_destroy(crypto);
crypto 117 source4/heimdal/lib/krb5/build_auth.c krb5_crypto crypto;
crypto 172 source4/heimdal/lib/krb5/build_auth.c ret = krb5_crypto_init(context, &cred->session, enctype, &crypto);
crypto 176 source4/heimdal/lib/krb5/build_auth.c crypto,
crypto 181 source4/heimdal/lib/krb5/build_auth.c krb5_crypto_destroy(context, crypto);
crypto 151 source4/heimdal/lib/krb5/crypto.c static struct key_data *_new_derived_key(krb5_crypto crypto, unsigned usage);
crypto 1705 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 1713 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, usage, key);
crypto 1717 source4/heimdal/lib/krb5/crypto.c *key = _new_derived_key(crypto, 0xff/* KRB5_KU_RFC1510_VARIANT */);
crypto 1722 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock(context, crypto->key.key, &(*key)->key);
crypto 1728 source4/heimdal/lib/krb5/crypto.c *key = &crypto->key;
crypto 1738 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 1753 source4/heimdal/lib/krb5/crypto.c if(keyed_checksum && crypto == NULL) {
crypto 1761 source4/heimdal/lib/krb5/crypto.c ret = get_checksum_key(context, crypto, usage, ct, &dkey);
crypto 1774 source4/heimdal/lib/krb5/crypto.c arcfour_checksum_p(struct checksum_type *ct, krb5_crypto crypto)
crypto 1777 source4/heimdal/lib/krb5/crypto.c (crypto->key.key->keytype == KEYTYPE_ARCFOUR);
crypto 1782 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 1795 source4/heimdal/lib/krb5/crypto.c } else if (crypto) {
crypto 1796 source4/heimdal/lib/krb5/crypto.c ct = crypto->et->keyed_checksum;
crypto 1798 source4/heimdal/lib/krb5/crypto.c ct = crypto->et->checksum;
crypto 1808 source4/heimdal/lib/krb5/crypto.c if (arcfour_checksum_p(ct, crypto)) {
crypto 1814 source4/heimdal/lib/krb5/crypto.c return create_checksum(context, ct, crypto, keyusage,
crypto 1820 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 1844 source4/heimdal/lib/krb5/crypto.c if(keyed_checksum && crypto == NULL) {
crypto 1852 source4/heimdal/lib/krb5/crypto.c ret = get_checksum_key(context, crypto, usage, ct, &dkey);
crypto 1883 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 1900 source4/heimdal/lib/krb5/crypto.c if (arcfour_checksum_p(ct, crypto)) {
crypto 1906 source4/heimdal/lib/krb5/crypto.c return verify_checksum(context, crypto, keyusage,
crypto 1912 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 1917 source4/heimdal/lib/krb5/crypto.c if (crypto != NULL) {
crypto 1918 source4/heimdal/lib/krb5/crypto.c ct = crypto->et->keyed_checksum;
crypto 1920 source4/heimdal/lib/krb5/crypto.c ct = crypto->et->checksum;
crypto 2313 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 2317 source4/heimdal/lib/krb5/crypto.c struct checksum_type *ct = crypto->et->checksum;
crypto 2335 source4/heimdal/lib/krb5/crypto.c if (result.checksum.length < crypto->et->blocksize)
crypto 2339 source4/heimdal/lib/krb5/crypto.c ret = krb5_derive_key(context, crypto->key.key,
crypto 2340 source4/heimdal/lib/krb5/crypto.c crypto->et->type, "prf", 3, &derived);
crypto 2344 source4/heimdal/lib/krb5/crypto.c ret = krb5_data_alloc(out, crypto->et->blocksize);
crypto 2349 source4/heimdal/lib/krb5/crypto.c const EVP_CIPHER *c = (*crypto->et->keytype->evp)();
crypto 2753 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto)
crypto 2755 source4/heimdal/lib/krb5/crypto.c return (crypto->et->flags & F_DERIVED) != 0;
crypto 2760 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto)
crypto 2762 source4/heimdal/lib/krb5/crypto.c return (crypto->et->flags & F_SPECIAL) != 0;
crypto 2770 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 2782 source4/heimdal/lib/krb5/crypto.c const struct encryption_type *et = crypto->et;
crypto 2802 source4/heimdal/lib/krb5/crypto.c crypto,
crypto 2816 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
crypto 2837 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 2847 source4/heimdal/lib/krb5/crypto.c const struct encryption_type *et = crypto->et;
crypto 2868 source4/heimdal/lib/krb5/crypto.c crypto,
crypto 2882 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, &crypto->key);
crypto 2885 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, &crypto->key, p, block_sz, 1, 0, ivec);
crypto 2902 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 2909 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 2926 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, &crypto->key, tmp, sz, TRUE, usage, ivec);
crypto 2939 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 2951 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 2976 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
crypto 2997 source4/heimdal/lib/krb5/crypto.c crypto,
crypto 3020 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3030 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 3045 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, &crypto->key);
crypto 3050 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, &crypto->key, p, len, 0, 0, ivec);
crypto 3082 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3089 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 3107 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, &crypto->key, p, len, FALSE, usage, ivec);
crypto 3160 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3172 source4/heimdal/lib/krb5/crypto.c const struct encryption_type *et = crypto->et;
crypto 3175 source4/heimdal/lib/krb5/crypto.c if(!derived_crypto(context, crypto)) {
crypto 3252 source4/heimdal/lib/krb5/crypto.c crypto,
crypto 3272 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
crypto 3303 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
crypto 3360 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3372 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 3375 source4/heimdal/lib/krb5/crypto.c if(!derived_crypto(context, crypto)) {
crypto 3431 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
crypto 3492 source4/heimdal/lib/krb5/crypto.c crypto,
crypto 3517 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3530 source4/heimdal/lib/krb5/crypto.c if(!derived_crypto(context, crypto)) {
crypto 3557 source4/heimdal/lib/krb5/crypto.c ret = krb5_create_checksum(context, crypto, usage, 0, p, len, &cksum);
crypto 3582 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3585 source4/heimdal/lib/krb5/crypto.c if (!derived_crypto(context, crypto))
crypto 3591 source4/heimdal/lib/krb5/crypto.c return crypto->et->blocksize;
crypto 3593 source4/heimdal/lib/krb5/crypto.c if (crypto->et->padsize > 1)
crypto 3594 source4/heimdal/lib/krb5/crypto.c return crypto->et->padsize;
crypto 3597 source4/heimdal/lib/krb5/crypto.c return CHECKSUMSIZE(crypto->et->keyed_checksum);
crypto 3599 source4/heimdal/lib/krb5/crypto.c if (crypto->et->keyed_checksum)
crypto 3600 source4/heimdal/lib/krb5/crypto.c return CHECKSUMSIZE(crypto->et->keyed_checksum);
crypto 3601 source4/heimdal/lib/krb5/crypto.c return CHECKSUMSIZE(crypto->et->checksum);
crypto 3608 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3615 source4/heimdal/lib/krb5/crypto.c if(derived_crypto(context, crypto))
crypto 3616 source4/heimdal/lib/krb5/crypto.c return encrypt_internal_derived(context, crypto, usage,
crypto 3618 source4/heimdal/lib/krb5/crypto.c else if (special_crypto(context, crypto))
crypto 3619 source4/heimdal/lib/krb5/crypto.c return encrypt_internal_special (context, crypto, usage,
crypto 3622 source4/heimdal/lib/krb5/crypto.c return encrypt_internal(context, crypto, data, len, result, ivec);
crypto 3627 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3633 source4/heimdal/lib/krb5/crypto.c return krb5_encrypt_ivec(context, crypto, usage, data, len, result, NULL);
crypto 3638 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3645 source4/heimdal/lib/krb5/crypto.c result->etype = CRYPTO_ETYPE(crypto);
crypto 3651 source4/heimdal/lib/krb5/crypto.c return krb5_encrypt(context, crypto, usage, data, len, &result->cipher);
crypto 3656 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3663 source4/heimdal/lib/krb5/crypto.c if(derived_crypto(context, crypto))
crypto 3664 source4/heimdal/lib/krb5/crypto.c return decrypt_internal_derived(context, crypto, usage,
crypto 3666 source4/heimdal/lib/krb5/crypto.c else if (special_crypto (context, crypto))
crypto 3667 source4/heimdal/lib/krb5/crypto.c return decrypt_internal_special(context, crypto, usage,
crypto 3670 source4/heimdal/lib/krb5/crypto.c return decrypt_internal(context, crypto, data, len, result, ivec);
crypto 3675 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3681 source4/heimdal/lib/krb5/crypto.c return krb5_decrypt_ivec (context, crypto, usage, data, len, result,
crypto 3687 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3692 source4/heimdal/lib/krb5/crypto.c return krb5_decrypt(context, crypto, usage,
crypto 3868 source4/heimdal/lib/krb5/crypto.c _new_derived_key(krb5_crypto crypto, unsigned usage)
crypto 3870 source4/heimdal/lib/krb5/crypto.c struct key_usage *d = crypto->key_usage;
crypto 3871 source4/heimdal/lib/krb5/crypto.c d = realloc(d, (crypto->num_key_usage + 1) * sizeof(*d));
crypto 3874 source4/heimdal/lib/krb5/crypto.c crypto->key_usage = d;
crypto 3875 source4/heimdal/lib/krb5/crypto.c d += crypto->num_key_usage++;
crypto 3917 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 3925 source4/heimdal/lib/krb5/crypto.c for(i = 0; i < crypto->num_key_usage; i++)
crypto 3926 source4/heimdal/lib/krb5/crypto.c if(crypto->key_usage[i].usage == usage) {
crypto 3927 source4/heimdal/lib/krb5/crypto.c *key = &crypto->key_usage[i].key;
crypto 3930 source4/heimdal/lib/krb5/crypto.c d = _new_derived_key(crypto, usage);
crypto 3935 source4/heimdal/lib/krb5/crypto.c krb5_copy_keyblock(context, crypto->key.key, &d->key);
crypto 3937 source4/heimdal/lib/krb5/crypto.c derive_key(context, crypto->et, d, constant, sizeof(constant));
crypto 3947 source4/heimdal/lib/krb5/crypto.c krb5_crypto *crypto)
crypto 3950 source4/heimdal/lib/krb5/crypto.c ALLOC(*crypto, 1);
crypto 3951 source4/heimdal/lib/krb5/crypto.c if(*crypto == NULL) {
crypto 3957 source4/heimdal/lib/krb5/crypto.c (*crypto)->et = _find_enctype(etype);
crypto 3958 source4/heimdal/lib/krb5/crypto.c if((*crypto)->et == NULL || ((*crypto)->et->flags & F_DISABLED)) {
crypto 3959 source4/heimdal/lib/krb5/crypto.c free(*crypto);
crypto 3960 source4/heimdal/lib/krb5/crypto.c *crypto = NULL;
crypto 3966 source4/heimdal/lib/krb5/crypto.c if((*crypto)->et->keytype->size != key->keyvalue.length) {
crypto 3967 source4/heimdal/lib/krb5/crypto.c free(*crypto);
crypto 3968 source4/heimdal/lib/krb5/crypto.c *crypto = NULL;
crypto 3973 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock(context, key, &(*crypto)->key.key);
crypto 3975 source4/heimdal/lib/krb5/crypto.c free(*crypto);
crypto 3976 source4/heimdal/lib/krb5/crypto.c *crypto = NULL;
crypto 3979 source4/heimdal/lib/krb5/crypto.c (*crypto)->key.schedule = NULL;
crypto 3980 source4/heimdal/lib/krb5/crypto.c (*crypto)->num_key_usage = 0;
crypto 3981 source4/heimdal/lib/krb5/crypto.c (*crypto)->key_usage = NULL;
crypto 4007 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto)
crypto 4011 source4/heimdal/lib/krb5/crypto.c for(i = 0; i < crypto->num_key_usage; i++)
crypto 4012 source4/heimdal/lib/krb5/crypto.c free_key_usage(context, &crypto->key_usage[i], crypto->et);
crypto 4013 source4/heimdal/lib/krb5/crypto.c free(crypto->key_usage);
crypto 4014 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &crypto->key, crypto->et);
crypto 4015 source4/heimdal/lib/krb5/crypto.c free (crypto);
crypto 4021 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 4024 source4/heimdal/lib/krb5/crypto.c *blocksize = crypto->et->blocksize;
crypto 4030 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 4033 source4/heimdal/lib/krb5/crypto.c *enctype = crypto->et->type;
crypto 4039 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 4042 source4/heimdal/lib/krb5/crypto.c *padsize = crypto->et->padsize;
crypto 4048 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 4051 source4/heimdal/lib/krb5/crypto.c *confoundersize = crypto->et->confoundersize;
crypto 4176 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 4179 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 4191 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 4194 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 4213 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto,
crypto 4216 source4/heimdal/lib/krb5/crypto.c if (derived_crypto (context, crypto))
crypto 4217 source4/heimdal/lib/krb5/crypto.c return wrapped_length_dervied (context, crypto, data_len);
crypto 4219 source4/heimdal/lib/krb5/crypto.c return wrapped_length (context, crypto, data_len);
crypto 4228 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto)
crypto 4230 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 4242 source4/heimdal/lib/krb5/crypto.c krb5_crypto crypto)
crypto 4244 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 4258 source4/heimdal/lib/krb5/crypto.c krb5_crypto_overhead (krb5_context context, krb5_crypto crypto)
crypto 4260 source4/heimdal/lib/krb5/crypto.c if (derived_crypto (context, crypto))
crypto 4261 source4/heimdal/lib/krb5/crypto.c return crypto_overhead_dervied (context, crypto);
crypto 4263 source4/heimdal/lib/krb5/crypto.c return crypto_overhead (context, crypto);
crypto 4557 source4/heimdal/lib/krb5/crypto.c const krb5_crypto crypto,
crypto 4561 source4/heimdal/lib/krb5/crypto.c struct encryption_type *et = crypto->et;
crypto 4572 source4/heimdal/lib/krb5/crypto.c return (*et->prf)(context, crypto, input, output);
crypto 89 source4/heimdal/lib/krb5/get_cred.c krb5_crypto crypto;
crypto 106 source4/heimdal/lib/krb5/get_cred.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 114 source4/heimdal/lib/krb5/get_cred.c crypto,
crypto 122 source4/heimdal/lib/krb5/get_cred.c krb5_crypto_destroy(context, crypto);
crypto 352 source4/heimdal/lib/krb5/get_cred.c krb5_crypto crypto;
crypto 354 source4/heimdal/lib/krb5/get_cred.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 358 source4/heimdal/lib/krb5/get_cred.c crypto,
crypto 362 source4/heimdal/lib/krb5/get_cred.c krb5_crypto_destroy(context, crypto);
crypto 365 source4/heimdal/lib/krb5/get_cred.c ret = krb5_crypto_init(context, subkey, 0, &crypto);
crypto 369 source4/heimdal/lib/krb5/get_cred.c crypto,
crypto 373 source4/heimdal/lib/krb5/get_cred.c krb5_crypto_destroy(context, crypto);
crypto 435 source4/heimdal/lib/krb5/get_cred.c krb5_crypto crypto;
crypto 451 source4/heimdal/lib/krb5/get_cred.c ret = krb5_crypto_init(context, &krbtgt->session, 0, &crypto);
crypto 459 source4/heimdal/lib/krb5/get_cred.c crypto,
crypto 465 source4/heimdal/lib/krb5/get_cred.c krb5_crypto_destroy(context, crypto);
crypto 208 source4/heimdal/lib/krb5/get_for_creds.c krb5_crypto crypto;
crypto 425 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_crypto_init(context, auth_context->keyblock, 0, &crypto);
crypto 432 source4/heimdal/lib/krb5/get_for_creds.c crypto,
crypto 439 source4/heimdal/lib/krb5/get_for_creds.c krb5_crypto_destroy(context, crypto);
crypto 213 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto crypto;
crypto 247 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 254 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_verify_checksum(context, crypto, KRB5_KU_CANONICALIZED_NAMES,
crypto 257 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto_destroy(context, crypto);
crypto 313 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto crypto;
crypto 315 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 320 source4/heimdal/lib/krb5/get_in_tkt.c crypto,
crypto 324 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto_destroy(context, crypto);
crypto 570 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto crypto;
crypto 581 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 587 source4/heimdal/lib/krb5/get_in_tkt.c crypto,
crypto 594 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto_destroy(context, crypto);
crypto 881 source4/heimdal/lib/krb5/init_creds_pw.c krb5_crypto crypto;
crypto 893 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 899 source4/heimdal/lib/krb5/init_creds_pw.c crypto,
crypto 906 source4/heimdal/lib/krb5/init_creds_pw.c krb5_crypto_destroy(context, crypto);
crypto 52 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto crypto;
crypto 54 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 58 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_create_checksum(context, crypto, usage, cksumtype,
crypto 60 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 189 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto crypto;
crypto 196 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, &key, 0, &crypto);
crypto 200 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_getblocksize(context, crypto, blocksize);
crypto 201 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 215 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto crypto;
crypto 217 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, &key, input->enctype, &crypto);
crypto 224 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_getblocksize(context, crypto, &blocksize);
crypto 226 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 231 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 236 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_decrypt_ivec(context, crypto, usage,
crypto 241 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 255 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto crypto;
crypto 257 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 264 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_getblocksize(context, crypto, &blocksize);
crypto 266 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 271 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 276 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_encrypt_ivec(context, crypto, usage,
crypto 281 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_getenctype(context, crypto, &output->enctype);
crypto 283 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 295 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto crypto;
crypto 302 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, &key, 0, &crypto);
crypto 307 source4/heimdal/lib/krb5/mit_glue.c *length = krb5_get_wrapped_length(context, crypto, inputlen);
crypto 308 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 360 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto crypto;
crypto 363 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 367 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_prf(context, crypto, input, output);
crypto 368 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
crypto 52 source4/heimdal/lib/krb5/mk_priv.c krb5_crypto crypto;
crypto 112 source4/heimdal/lib/krb5/mk_priv.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 118 source4/heimdal/lib/krb5/mk_priv.c crypto,
crypto 123 source4/heimdal/lib/krb5/mk_priv.c krb5_crypto_destroy(context, crypto);
crypto 49 source4/heimdal/lib/krb5/mk_rep.c krb5_crypto crypto;
crypto 103 source4/heimdal/lib/krb5/mk_rep.c 0 /* ap.enc_part.etype */, &crypto);
crypto 109 source4/heimdal/lib/krb5/mk_rep.c crypto,
crypto 114 source4/heimdal/lib/krb5/mk_rep.c krb5_crypto_destroy(context, crypto);
crypto 106 source4/heimdal/lib/krb5/mk_req_ext.c krb5_crypto crypto;
crypto 108 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_crypto_init(context, ac->keyblock, 0, &crypto);
crypto 112 source4/heimdal/lib/krb5/mk_req_ext.c crypto,
crypto 118 source4/heimdal/lib/krb5/mk_req_ext.c krb5_crypto_destroy(context, crypto);
crypto 417 source4/heimdal/lib/krb5/pac.c krb5_crypto crypto = NULL;
crypto 457 source4/heimdal/lib/krb5/pac.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 461 source4/heimdal/lib/krb5/pac.c ret = krb5_verify_checksum(context, crypto, KRB5_KU_OTHER_CKSUM,
crypto 464 source4/heimdal/lib/krb5/pac.c krb5_crypto_destroy(context, crypto);
crypto 474 source4/heimdal/lib/krb5/pac.c if (crypto)
crypto 475 source4/heimdal/lib/krb5/pac.c krb5_crypto_destroy(context, crypto);
crypto 485 source4/heimdal/lib/krb5/pac.c krb5_crypto crypto = NULL;
crypto 489 source4/heimdal/lib/krb5/pac.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 493 source4/heimdal/lib/krb5/pac.c ret = krb5_create_checksum(context, crypto, KRB5_KU_OTHER_CKSUM, 0,
crypto 495 source4/heimdal/lib/krb5/pac.c krb5_crypto_destroy(context, crypto);
crypto 837 source4/heimdal/lib/krb5/pac.c krb5_crypto crypto = NULL;
crypto 839 source4/heimdal/lib/krb5/pac.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 843 source4/heimdal/lib/krb5/pac.c ret = krb5_crypto_get_checksum_type(context, crypto, &cktype);
crypto 844 source4/heimdal/lib/krb5/pac.c krb5_crypto_destroy(context, crypto);
crypto 850 source4/heimdal/lib/krb5/pkinit.c krb5_crypto crypto;
crypto 857 source4/heimdal/lib/krb5/pkinit.c ret = krb5_crypto_init(context, &key_pack.replyKey, 0, &crypto);
crypto 863 source4/heimdal/lib/krb5/pkinit.c ret = krb5_verify_checksum(context, crypto, 6,
crypto 866 source4/heimdal/lib/krb5/pkinit.c krb5_crypto_destroy(context, crypto);
crypto 69 source4/heimdal/lib/krb5/rd_cred.c krb5_crypto crypto;
crypto 114 source4/heimdal/lib/krb5/rd_cred.c 0, &crypto);
crypto 119 source4/heimdal/lib/krb5/rd_cred.c crypto,
crypto 124 source4/heimdal/lib/krb5/rd_cred.c krb5_crypto_destroy(context, crypto);
crypto 135 source4/heimdal/lib/krb5/rd_cred.c 0, &crypto);
crypto 141 source4/heimdal/lib/krb5/rd_cred.c crypto,
crypto 146 source4/heimdal/lib/krb5/rd_cred.c krb5_crypto_destroy(context, crypto);
crypto 51 source4/heimdal/lib/krb5/rd_priv.c krb5_crypto crypto;
crypto 91 source4/heimdal/lib/krb5/rd_priv.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 95 source4/heimdal/lib/krb5/rd_priv.c crypto,
crypto 99 source4/heimdal/lib/krb5/rd_priv.c krb5_crypto_destroy(context, crypto);
crypto 48 source4/heimdal/lib/krb5/rd_rep.c krb5_crypto crypto;
crypto 67 source4/heimdal/lib/krb5/rd_rep.c ret = krb5_crypto_init(context, auth_context->keyblock, 0, &crypto);
crypto 71 source4/heimdal/lib/krb5/rd_rep.c crypto,
crypto 75 source4/heimdal/lib/krb5/rd_rep.c krb5_crypto_destroy(context, crypto);
crypto 47 source4/heimdal/lib/krb5/rd_req.c krb5_crypto crypto;
crypto 49 source4/heimdal/lib/krb5/rd_req.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 53 source4/heimdal/lib/krb5/rd_req.c crypto,
crypto 57 source4/heimdal/lib/krb5/rd_req.c krb5_crypto_destroy(context, crypto);
crypto 77 source4/heimdal/lib/krb5/rd_req.c krb5_crypto crypto;
crypto 79 source4/heimdal/lib/krb5/rd_req.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 83 source4/heimdal/lib/krb5/rd_req.c crypto,
crypto 90 source4/heimdal/lib/krb5/rd_req.c crypto,
crypto 94 source4/heimdal/lib/krb5/rd_req.c krb5_crypto_destroy(context, crypto);
crypto 277 source4/heimdal/lib/krb5/rd_req.c krb5_crypto crypto;
crypto 293 source4/heimdal/lib/krb5/rd_req.c ret = krb5_crypto_init(context, key, 0, &crypto);
crypto 297 source4/heimdal/lib/krb5/rd_req.c crypto,
crypto 302 source4/heimdal/lib/krb5/rd_req.c krb5_crypto_destroy(context, crypto);
crypto 325 source4/heimdal/lib/krb5/v4_glue.c krb5_crypto crypto;
crypto 327 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_crypto_init(context, key, ETYPE_DES_PCBC_NONE, &crypto);
crypto 331 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_decrypt(context, crypto, 0, cdata->data, cdata->length, data);
crypto 332 source4/heimdal/lib/krb5/v4_glue.c krb5_crypto_destroy(context, crypto);
crypto 351 source4/heimdal/lib/krb5/v4_glue.c krb5_crypto crypto;
crypto 370 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_crypto_init(context, key, ETYPE_DES_PCBC_NONE, &crypto);
crypto 376 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_encrypt(context, crypto, 0, data.data, data.length, enc_data);
crypto 379 source4/heimdal/lib/krb5/v4_glue.c krb5_crypto_destroy(context, crypto);