| /trueos/crypto/heimdal/lib/hdb/ |
| HD | mkey.c | 46 hdb_free_master_key(krb5_context context, hdb_master_key mkey) in hdb_free_master_key() argument 49 while(mkey) { in hdb_free_master_key() 50 krb5_kt_free_entry(context, &mkey->keytab); in hdb_free_master_key() 51 if (mkey->crypto) in hdb_free_master_key() 52 krb5_crypto_destroy(context, mkey->crypto); in hdb_free_master_key() 53 ptr = mkey; in hdb_free_master_key() 54 mkey = mkey->next; in hdb_free_master_key() 62 hdb_master_key *mkey) in hdb_process_master_key() argument 66 *mkey = calloc(1, sizeof(**mkey)); in hdb_process_master_key() 67 if(*mkey == NULL) { in hdb_process_master_key() [all …]
|
| HD | keytab.c | 40 char *mkey; member 59 const char *db, *mkey; in hdb_resolve() local 67 mkey = strstr(name, ":mkey="); in hdb_resolve() 68 if(mkey == NULL || mkey[5] == '\0') { in hdb_resolve() 79 d->mkey = NULL; in hdb_resolve() 81 d->dbname = malloc(mkey - db + 1); in hdb_resolve() 87 memmove(d->dbname, db, mkey - db); in hdb_resolve() 88 d->dbname[mkey - db] = '\0'; in hdb_resolve() 90 d->mkey = strdup(mkey + 5); in hdb_resolve() 91 if(d->mkey == NULL) { in hdb_resolve() [all …]
|
| /trueos/sys/geom/eli/ |
| HD | g_eli_key.c | 55 g_eli_mkey_verify(const unsigned char *mkey, const unsigned char *key) in g_eli_mkey_verify() argument 66 odhmac = mkey + G_ELI_DATAIVKEYLEN; in g_eli_mkey_verify() 69 g_eli_crypto_hmac(hmkey, sizeof(hmkey), mkey, G_ELI_DATAIVKEYLEN, in g_eli_mkey_verify() 85 g_eli_mkey_hmac(unsigned char *mkey, const unsigned char *key) in g_eli_mkey_hmac() argument 95 odhmac = mkey + G_ELI_DATAIVKEYLEN; in g_eli_mkey_hmac() 97 g_eli_crypto_hmac(hmkey, sizeof(hmkey), mkey, G_ELI_DATAIVKEYLEN, in g_eli_mkey_hmac() 110 unsigned char *mkey, unsigned *nkeyp) in g_eli_mkey_decrypt() argument 139 bcopy(tmpmkey, mkey, G_ELI_DATAIVKEYLEN); in g_eli_mkey_decrypt() 158 unsigned char *mkey) in g_eli_mkey_encrypt() argument 167 g_eli_mkey_hmac(mkey, key); in g_eli_mkey_encrypt() [all …]
|
| HD | g_eli_ctl.c | 59 u_char *key, mkey[G_ELI_DATAIVKEYLEN]; in g_eli_ctl_attach() local 119 error = g_eli_mkey_decrypt(&md, key, mkey, &nkey); in g_eli_ctl_attach() 142 g_eli_create(req, mp, pp, &md, mkey, nkey); in g_eli_ctl_attach() 143 bzero(mkey, sizeof(mkey)); in g_eli_ctl_attach() 238 u_char mkey[G_ELI_DATAIVKEYLEN]; in g_eli_ctl_onetime() local 328 arc4rand(mkey, sizeof(mkey), 0); in g_eli_ctl_onetime() 365 g_eli_create(req, mp, pp, &md, mkey, -1); in g_eli_ctl_onetime() 366 bzero(mkey, sizeof(mkey)); in g_eli_ctl_onetime() 818 u_char *key, mkey[G_ELI_DATAIVKEYLEN]; in g_eli_ctl_resume() local 865 error = g_eli_mkey_decrypt(&md, key, mkey, &nkey); in g_eli_ctl_resume() [all …]
|
| HD | g_eli_key_cache.c | 196 uint8_t *mkey; in g_eli_key_init() local 200 mkey = sc->sc_mkey + sizeof(sc->sc_ivkey); in g_eli_key_init() 202 bcopy(mkey, sc->sc_ekey, G_ELI_DATAKEYLEN); in g_eli_key_init() 207 g_eli_crypto_hmac(mkey, G_ELI_MAXKEYLEN, "\x10", 1, in g_eli_key_init()
|
| HD | g_eli.h | 574 const u_char *mkey, int nkey); 593 void g_eli_mkey_hmac(unsigned char *mkey, const unsigned char *key); 595 const unsigned char *key, unsigned char *mkey, unsigned *nkeyp); 597 unsigned char *mkey); 599 void g_eli_mkey_propagate(struct g_eli_softc *sc, const unsigned char *mkey);
|
| HD | g_eli.c | 701 const struct g_eli_metadata *md, const u_char *mkey, int nkey) in g_eli_create() argument 826 g_eli_mkey_propagate(sc, mkey); in g_eli_create() 1045 u_char key[G_ELI_USERKEYLEN], mkey[G_ELI_DATAIVKEYLEN]; in g_eli_taste() local 1149 error = g_eli_mkey_decrypt(&md, key, mkey, &nkey); in g_eli_taste() 1181 gp = g_eli_create(NULL, mp, pp, &md, mkey, nkey); in g_eli_taste() 1182 bzero(mkey, sizeof(mkey)); in g_eli_taste()
|
| /trueos/crypto/heimdal/kadmin/ |
| HD | stash.c | 47 hdb_master_key mkey; in stash() local 66 ret = hdb_read_master_key(context, opt->key_file_string, &mkey); in stash() 101 hdb_free_master_key(context, mkey); in stash() 106 ret = hdb_add_master_key(context, &key, &mkey); in stash() 124 ret = hdb_write_master_key(context, new, mkey); in stash() 149 hdb_free_master_key(context, mkey); in stash()
|
| /trueos/crypto/heimdal/kdc/ |
| HD | kstash.c | 72 hdb_master_key mkey; in main() local 94 ret = hdb_read_master_key(context, keyfile, &mkey); in main() 128 ret = hdb_add_master_key(context, &key, &mkey); in main() 143 ret = hdb_write_master_key(context, new, mkey); in main() 168 hdb_free_master_key(context, mkey); in main()
|
| /trueos/lib/libc/rpc/ |
| HD | getpublickey.c | 99 char *mkey; local 146 mkey = strsep(&res, "\t "); 147 if (mkey == NULL) { 160 if (strcmp(mkey, key) == 0) {
|
| HD | netnamer.c | 247 char *mkey; local 307 mkey = strsep(&res, "\t "); 308 if (mkey == NULL) { 321 if (strcmp(mkey, key) == 0) {
|
| /trueos/sys/geom/bde/ |
| HD | g_bde_lock.c | 195 bcopy(gl->mkey, p, sizeof gl->mkey); in g_bde_encode_lock() 196 p += sizeof gl->mkey; in g_bde_encode_lock() 265 bcopy(p, gl->mkey, sizeof gl->mkey); in g_bde_decode_lock() 266 p += sizeof gl->mkey; in g_bde_decode_lock() 425 for (i = 0; i < (int)sizeof(gl->mkey); i++) in g_bde_decrypt_lockx() 426 q1 += gl->mkey[i]; in g_bde_decrypt_lockx()
|
| HD | g_bde.h | 116 uint8_t mkey[G_BDE_MKEYLEN]; member
|
| HD | g_bde_crypt.c | 98 MD5Update(&ct, &sc->key.mkey[buf[t]], 1); in g_bde_kkey()
|
| /trueos/sys/ofed/include/rdma/ |
| HD | ib_smi.h | 58 __be64 mkey; member 88 __be64 mkey; member
|
| /trueos/contrib/ofed/management/doc/ |
| HD | diagtools-proposal.txt | 31 ibroute [-multi] [-m mkey] [-pa path] [-I mthca0] [-p port] LID 46 ibtracert [-m mkey] [-pa path] [-sg SGID] [-sl SLID] [-dg DGID] [-dl DLID] \ 62 smpquery [-m mkey] [-l LID] [-pa path] [-I mthca0] [-p port] \ 76 smpdump [-m mkey] [-l LID] [-p path] [-I mthca0] [-p port] \
|
| /trueos/crypto/openssl/ssl/ |
| HD | ssl_ciph.c | 696 static void ssl_cipher_get_disabled(unsigned long *mkey, unsigned long *auth, in ssl_cipher_get_disabled() argument 700 *mkey = 0; in ssl_cipher_get_disabled() 707 *mkey |= SSL_kRSA; in ssl_cipher_get_disabled() 713 *mkey |= SSL_kDHr | SSL_kDHd; /* no such ciphersuites supported! */ in ssl_cipher_get_disabled() 716 *mkey |= SSL_kDHr | SSL_kDHd | SSL_kEDH; in ssl_cipher_get_disabled() 720 *mkey |= SSL_kKRB5; in ssl_cipher_get_disabled() 727 *mkey |= SSL_kECDHe | SSL_kECDHr; in ssl_cipher_get_disabled() 731 *mkey |= SSL_kPSK; in ssl_cipher_get_disabled() 735 *mkey |= SSL_kSRP; in ssl_cipher_get_disabled() 751 *mkey |= SSL_kGOST; in ssl_cipher_get_disabled()
|
| /trueos/contrib/ofed/management/libibmad/src/ |
| HD | mad.c | 142 mad_set_field(buf, 0, IB_MAD_MKEY_F, rpc->mkey >> 32); in mad_encode() 143 mad_set_field(buf, 4, IB_MAD_MKEY_F, rpc->mkey & 0xffffffff); in mad_encode()
|
| /trueos/contrib/file/magic/Magdir/ |
| HD | basis | 18 >>8 string \000 (mkey)
|
| /trueos/sbin/geom/class/eli/ |
| HD | geom_eli.c | 998 unsigned char key[G_ELI_USERKEYLEN], mkey[G_ELI_DATAIVKEYLEN]; in eli_setkey_detached() local 1016 error = g_eli_mkey_decrypt(md, key, mkey, &nkey); in eli_setkey_detached() 1062 bcopy(mkey, mkeydst, sizeof(mkey)); in eli_setkey_detached() 1063 bzero(mkey, sizeof(mkey)); in eli_setkey_detached()
|
| /trueos/sbin/gbde/ |
| HD | gbde.c | 497 bzero(gl->mkey, sizeof gl->mkey); in cmd_destroy() 722 random_bits(gl->mkey, sizeof gl->mkey); in cmd_init()
|
| /trueos/kerberos5/lib/libhdb/ |
| HD | Makefile | 53 mkey.c \
|
| /trueos/lib/libasl/ |
| HD | asl_memory.c | 771 mem_string_t *mkey, *mval; in asl_memory_query_to_record() local 1089 mkey = asl_memory_string_retain(s, key, 0); in asl_memory_query_to_record() 1090 if (mkey == NULL) in asl_memory_query_to_record() 1099 if (out->kvlist[i] == mkey) in asl_memory_query_to_record() 1125 out->kvlist[out->kvcount++] = mkey; in asl_memory_query_to_record()
|
| /trueos/crypto/heimdal/ |
| HD | ChangeLog.2000 | 596 * lib/hdb/mkey.c (_hdb_unseal_keys_int, _hdb_seal_keys_int): 610 * lib/hdb/mkey.c: add key usage 616 * lib/hdb/mkey.c (read_master_encryptionkey): handle old keytype 619 * lib/hdb/mkey.c (hdb_read_master_key): set mkey to NULL before 665 * lib/hdb/mkey.c (read_master_mit): fix this 667 * kdc/kstash.c: make this work with the new mkey code 669 * lib/hdb/Makefile.am: add mkey.c, and bump version number 673 * lib/hdb/mkey.c: rewrite master key handling
|
| /trueos/contrib/ofed/management/infiniband-diags/src/ |
| HD | smpdump.c | 96 uint64_t mkey; member
|