Home
last modified time | relevance | path

Searched refs:subkey (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-10-stable/sys/crypto/camellia/
Dcamellia.h38 uint32_t subkey[CAMELLIA_SUBKEYWORD]; /* encrypt/decrypt key schedule */ member
48 uint32_t *subkey);
52 const uint32_t *subkey,
57 const uint32_t *subkey,
60 void camellia_setup128(const unsigned char *key, uint32_t *subkey);
61 void camellia_setup192(const unsigned char *key, uint32_t *subkey);
62 void camellia_setup256(const unsigned char *key, uint32_t *subkey);
63 void camellia_encrypt128(const uint32_t *subkey, uint32_t *io);
64 void camellia_encrypt256(const uint32_t *subkey, uint32_t *io);
65 void camellia_decrypt128(const uint32_t *subkey, uint32_t *io);
[all …]
Dcamellia-api.c42 Camellia_Ekeygen(bits, key, ctx->subkey); in camellia_set_key()
50 Camellia_DecryptBlock(ctx->bits, src, ctx->subkey, dst); in camellia_decrypt()
57 Camellia_EncryptBlock(ctx->bits, src, ctx->subkey, dst); in camellia_encrypt()
Dcamellia.c77 #define SUBL(INDEX) (subkey[(INDEX)*2+1])
78 #define SUBR(INDEX) (subkey[(INDEX)*2])
440 camellia_setup128(const unsigned char *key, uint32_t *subkey) in camellia_setup128() argument
646 camellia_setup256(const unsigned char *key, uint32_t *subkey) in camellia_setup256() argument
926 camellia_setup192(const unsigned char *key, uint32_t *subkey) in camellia_setup192() argument
938 camellia_setup256(kk, subkey); in camellia_setup192()
946 camellia_encrypt128(const uint32_t *subkey, uint32_t *io) in camellia_encrypt128() argument
1013 camellia_decrypt128(const uint32_t *subkey, uint32_t *io) in camellia_decrypt128() argument
1083 camellia_encrypt256(const uint32_t *subkey, uint32_t *io) in camellia_encrypt256() argument
1166 camellia_decrypt256(const uint32_t *subkey, uint32_t *io) in camellia_decrypt256() argument
[all …]
/freebsd-10-stable/contrib/jemalloc/include/jemalloc/internal/
Drtree.h62 uintptr_t subkey; \
71 subkey = (key << lshift) >> ((ZU(1) << (LG_SIZEOF_PTR + \
73 child = (void**)node[subkey]; \
85 subkey = (key << lshift) >> ((ZU(1) << (LG_SIZEOF_PTR+3)) - \
87 ret = node[subkey]; \
128 uintptr_t subkey; in RTREE_GET_GENERATE() local
137 subkey = (key << lshift) >> ((ZU(1) << (LG_SIZEOF_PTR+3)) - in RTREE_GET_GENERATE()
139 child = (void**)node[subkey]; in RTREE_GET_GENERATE()
149 node[subkey] = child; in RTREE_GET_GENERATE()
155 subkey = (key << lshift) >> ((ZU(1) << (LG_SIZEOF_PTR+3)) - bits); in RTREE_GET_GENERATE()
[all …]
/freebsd-10-stable/crypto/heimdal/lib/krb5/
Dgenerate_subkey.c53 krb5_keyblock **subkey) in krb5_generate_subkey_extended() argument
57 ALLOC(*subkey, 1); in krb5_generate_subkey_extended()
58 if (*subkey == NULL) { in krb5_generate_subkey_extended()
67 ret = krb5_generate_random_keyblock(context, etype, *subkey); in krb5_generate_subkey_extended()
69 free(*subkey); in krb5_generate_subkey_extended()
70 *subkey = NULL; in krb5_generate_subkey_extended()
Dget_cred.c90 krb5_keyblock *subkey) in set_auth_data() argument
112 ret = krb5_crypto_init(context, subkey, 0, &crypto); in set_auth_data()
150 krb5_keyblock **subkey, in init_tgs_req() argument
271 ret = krb5_auth_con_getlocalsubkey(context, ac, subkey); in init_tgs_req()
330 const krb5_keyblock *subkey = skey; in decrypt_tkt_with_subkey() local
343 if (subkey) { in decrypt_tkt_with_subkey()
344 ret = krb5_crypto_init(context, subkey, 0, &crypto); in decrypt_tkt_with_subkey()
356 if (ret && subkey->keytype == ETYPE_ARCFOUR_HMAC_MD5) { in decrypt_tkt_with_subkey()
365 if (subkey == NULL || ret) { in decrypt_tkt_with_subkey()
413 krb5_keyblock *subkey = NULL; in get_cred_kdc() local
[all …]
Drd_rep.c102 if ((*repl)->subkey) in krb5_rd_rep()
103 krb5_auth_con_setremotesubkey(context, auth_context, (*repl)->subkey); in krb5_rd_rep()
Dmk_rep.c67 &body.subkey); in krb5_mk_rep()
75 body.subkey = NULL; in krb5_mk_rep()
Dauth_context.c328 krb5_keyblock *subkey; in krb5_auth_con_generatelocalsubkey() local
332 &subkey); in krb5_auth_con_generatelocalsubkey()
337 auth_context->local_subkey = subkey; in krb5_auth_con_generatelocalsubkey()
Ddeprecated.c587 krb5_keyblock **subkey) in krb5_generate_subkey() argument
590 return krb5_generate_subkey_extended(context, key, ETYPE_NULL, subkey); in krb5_generate_subkey()
Dbuild_auth.c128 ret = krb5_auth_con_getlocalsubkey(context, auth_context, &auth.subkey); in _krb5_build_authenticator()
Drd_req.c457 if (ac->authenticator->subkey) { in krb5_verify_ap_req2()
459 ac->authenticator->subkey); in krb5_verify_ap_req2()
/freebsd-10-stable/usr.sbin/ndiscvt/
Dinf.c580 if (reg->subkey == NULL) { in dump_addreg()
586 } else if (strncasecmp(reg->subkey, in dump_addreg()
603 sprintf(enumkey, "%s\\enum", r->subkey); in dump_enumreg()
607 if (reg->subkey == NULL || strcasecmp(reg->subkey, enumkey)) in dump_enumreg()
623 if (reg->subkey == NULL || strcasecmp(reg->subkey, r->subkey)) in dump_editreg()
645 if (reg->subkey == NULL || strcasecmp(reg->subkey, r->subkey)) in dump_dwordreg()
664 if (reg->subkey == NULL || strcasecmp(reg->subkey, r->subkey)) in dump_defaultinfo()
684 if (reg->subkey == NULL || strcasecmp(reg->subkey, r->subkey)) in dump_paramdesc()
701 if (reg->subkey == NULL || strcasecmp(reg->subkey, r->subkey)) in dump_typeinfo()
723 keyname = r->subkey + strlen("Ndi\\params\\"); in dump_paramreg()
[all …]
Dinf.h30 const char * subkey; member
/freebsd-10-stable/sys/kgssapi/krb5/
Dkcrypto_des3.c109 int subkey; in des3_random_to_key() local
111 for (subkey = 0, outkey = ks->ks_key, inkey = in; subkey < 3; in des3_random_to_key()
112 subkey++, outkey += 8, inkey += 7) { in des3_random_to_key()
/freebsd-10-stable/crypto/openssl/crypto/krb5/
Dkrb5_asn.h200 KRB5_ENCKEY *subkey; member
Dkrb5_asn.c149 ASN1_EXP_OPT(KRB5_AUTHENTBODY, subkey, KRB5_ENCKEY, 6),
/freebsd-10-stable/crypto/heimdal/lib/gssapi/krb5/
Dgkrb5_err.et26 error_code KG_NO_SUBKEY, "Authenticator has no subkey"
/freebsd-10-stable/lib/libnv/tests/
Dnv_tests.cc199 const char *key, *subkey; in ATF_TEST_CASE_BODY() local
205 subkey = "subkey"; in ATF_TEST_CASE_BODY()
212 nvlist_add_null(sublist, subkey); in ATF_TEST_CASE_BODY()
222 ATF_REQUIRE(nvlist_exists_null(value, subkey)); in ATF_TEST_CASE_BODY()
/freebsd-10-stable/crypto/heimdal/kdc/
Dkrb5tgs.c1160 krb5_keyblock *subkey = NULL; in tgs_parse_request() local
1312 ret = krb5_auth_con_getremotesubkey(context, ac, &subkey); in tgs_parse_request()
1320 if(subkey == NULL){ in tgs_parse_request()
1324 ret = krb5_auth_con_getkey(context, ac, &subkey); in tgs_parse_request()
1333 if(subkey == NULL){ in tgs_parse_request()
1341 *replykey = subkey; in tgs_parse_request()
1346 ret = krb5_crypto_init(context, subkey, 0, &crypto); in tgs_parse_request()
/freebsd-10-stable/crypto/heimdal/lib/gssapi/
DChangeLog3 * krb5/accept_sec_context.c: If there is a initiator subkey, copy
4 that to acceptor subkey to match windows behavior. From Metze.
889 token subkey
897 right enum for acceptor subkey. From Andrew Bartlett.
1731 that subkey should be used
1827 * wrap.c: support cfx, try to handle acceptor asserted subkey
1829 * unwrap.c: support cfx, try to handle acceptor asserted subkey
1838 * import_sec_context.c: handle acceptor asserted subkey
1840 * init_sec_context.c: handle acceptor asserted subkey
1842 * accept_sec_context.c: handle acceptor asserted subkey
[all …]
/freebsd-10-stable/crypto/heimdal/
DChangeLog.2002180 blindly use the local subkey
202 * lib/krb5/mk_req_ext.c: generate a local subkey if
206 whether to generate a local subkey here, so don't try to
DNEWS298 uses subkey for sending for compatibility reasons, this will change
409 * telnet: use the session key if there is no subkey
/freebsd-10-stable/crypto/heimdal/lib/asn1/
Dkrb5.asn1412 subkey[6] EncryptionKey OPTIONAL,
542 subkey[2] EncryptionKey OPTIONAL,
/freebsd-10-stable/sys/compat/ndis/
Dsubr_ndis.c521 NdisOpenConfigurationKeyByName(status, cfg, subkey, subhandle) in NdisOpenConfigurationKeyByName() argument
524 unicode_string *subkey;
532 NdisOpenConfigurationKeyByIndex(status, cfg, idx, subkey, subhandle) in NdisOpenConfigurationKeyByIndex() argument
536 unicode_string *subkey;

12