HomeSort by: relevance | last modified time | path
    Searched refs:ak (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/bsd/wpa/dist/src/eap_common/
eap_psk_common.c 19 int eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk)
21 os_memset(ak, 0, aes_block_size);
22 if (aes_128_encrypt_block(psk, ak, ak))
24 os_memcpy(kdk, ak, aes_block_size);
25 ak[aes_block_size - 1] ^= 0x01;
27 if (aes_128_encrypt_block(psk, ak, ak) ||
eap_pax_common.c 121 * @ak: Authentication Key
129 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
133 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key",
143 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: AK", ak, EAP_PAX_AK_LEN);
eap_psk_common.h 68 int __must_check eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk);
eap_pax_common.h 89 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
  /src/usr.bin/sort/
radix_sort.c 75 RECHEADER **ak, **tai, **lim; local
106 for (ak = a, tai = ta; ak < lim; ak++) {
107 hdr = *ak;
141 ak = a;
150 push(ak, c, data_index+1);
152 ak += c;
153 top[cp-count] = ak;
159 for (ak = ta+n; --ak >= ta;) /* Deal to piles. *
170 RECHEADER **ak, **ai; local
    [all...]
  /src/lib/libc/stdlib/
radixsort.c 153 const u_char **ak, *r; local
175 for (ak = a; ak < an;) {
176 c = tr[(*ak++)[i]];
199 top[0] = ak = a + count[0];
201 ak = a;
212 push(ak, *cp, i+1);
214 top[cp-count] = ak += *cp;
224 * ak = top[r[i]] = location to put the next element.
227 * Once the 1st disordered bin is done, ie. aj >= ak,
244 const u_char **ak, **ai; local
316 const u_char **ak, **ai, *s, *t; local
    [all...]
  /src/external/bsd/wpa/dist/src/crypto/
milenage.c 84 * @ak: Buffer for AK = 48-bit anonymity key (f5), or %NULL
85 * @akstar: Buffer for AK = 48-bit anonymity key (f5*), or %NULL
89 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar)
117 if (ak)
118 os_memcpy(ak, tmp3, 6); /* f5 */
178 u8 mac_a[8], ak[6]; local
185 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) {
191 /* AUTN = (SQN ^ AK) || AMF || MAC */
193 autn[i] = sqn[i] ^ ak[i]
212 u8 ak[6], mac_s[8]; local
275 u8 mac_a[8], ak[6], rx_sqn[6]; local
    [all...]
milenage.h 25 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar);
  /src/external/bsd/libfido2/dist/src/
ecdh.c 171 es256_pk_t *ak = NULL; /* authenticator's public key */ local
185 if ((ak = es256_pk_new()) == NULL ||
186 fido_dev_authkey(dev, ak, ms) != FIDO_OK) {
191 if (do_ecdh(dev, sk, ak, ecdh) < 0) {
200 es256_pk_free(&ak);
  /src/external/bsd/unbound/dist/daemon/
cachedump.c 508 struct ub_packed_rrset_key* ak; local
514 ak = alloc_special_obtain(worker->alloc);
515 if(!ak) {
519 ak->entry.data = NULL;
520 ak->rk = k->rk;
521 ak->entry.hash = rrset_key_hash(&k->rk);
522 ak->rk.dname = (uint8_t*)memdup(k->rk.dname, k->rk.dname_len);
523 if(!ak->rk.dname) {
525 ub_packed_rrset_parsedelete(ak, worker->alloc);
535 ub_packed_rrset_parsedelete(ak, worker->alloc)
    [all...]
  /src/external/bsd/unbound/dist/iterator/
iter_delegpt.c 486 struct ub_packed_rrset_key* ak, uint8_t lame, int* additions)
488 struct packed_rrset_data* d=(struct packed_rrset_data*)ak->entry.data;
499 if(!delegpt_add_target(dp, region, ak->rk.dname,
500 ak->rk.dname_len, (struct sockaddr_storage*)&sa,
509 struct ub_packed_rrset_key* ak, uint8_t lame, int* additions)
511 struct packed_rrset_data* d=(struct packed_rrset_data*)ak->entry.data;
522 if(!delegpt_add_target(dp, region, ak->rk.dname,
523 ak->rk.dname_len, (struct sockaddr_storage*)&sa,
  /src/external/bsd/wpa/dist/src/eap_peer/
eap_psk.c 25 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member in struct:eap_psk_data
49 if (eap_psk_key_setup(password, data->ak, data->kdk)) {
53 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: AK", data->ak, EAP_PSK_AK_LEN);
145 /* MAC_P = OMAC1-AES-128(AK, ID_P||ID_S||RAND_S||RAND_P) */
159 if (omac1_aes_128(data->ak, buf, buflen, hdr2->mac_p)) {
227 /* MAC_S = OMAC1-AES-128(AK, ID_S||RAND_P) */
234 if (omac1_aes_128(data->ak, buf, buflen, mac)) {
eap_pax.c 37 u8 ak[EAP_PAX_AK_LEN]; member in struct:eap_pax_data
79 os_memcpy(data->ak, password, EAP_PAX_AK_LEN);
180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e,
  /src/external/bsd/wpa/dist/src/eap_server/
eap_server_psk.c 27 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member in struct:eap_psk_data
112 /* MAC_S = OMAC1-AES-128(AK, ID_S||RAND_P) */
120 if (omac1_aes_128(data->ak, buf, buflen, psk->mac_s)) {
284 if (eap_psk_key_setup(sm->user->password, data->ak, data->kdk)) {
288 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: AK", data->ak, EAP_PSK_AK_LEN);
295 /* MAC_P = OMAC1-AES-128(AK, ID_P||ID_S||RAND_S||RAND_P) */
309 if (omac1_aes_128(data->ak, buf, buflen, mac)) {
eap_server_pax.c 35 u8 ak[EAP_PAX_AK_LEN]; member in struct:eap_pax_data
406 os_memcpy(data->ak, sm->user->password, EAP_PAX_AK_LEN);
408 if (eap_pax_initial_key_derivation(data->mac_id, data->ak,
  /src/sys/crypto/aes/arch/x86/
aes_ssse3.c 198 __m128i k, i, ak, j; local
201 ak = gf16_inva(k);
203 *io = j ^ gf16_inv(ak ^ gf16_inv(i));
204 *jo = i ^ gf16_inv(ak ^ gf16_inv(j));
  /src/external/gpl3/gdb.old/dist/gdb/
addrmap.c 322 splay_compare_CORE_ADDR_ptr (splay_tree_key ak, splay_tree_key bk)
324 CORE_ADDR a = * (CORE_ADDR *) ak;
  /src/external/gpl3/gdb/dist/gdb/
addrmap.c 185 splay_compare_CORE_ADDR_ptr (splay_tree_key ak, splay_tree_key bk)
187 CORE_ADDR a = * (CORE_ADDR *) ak;
  /src/usr.sbin/npf/npfctl/
npf_show.c 640 const struct attr_keyword_mapent *ak = &attr_keyword_map[i]; local
645 if ((attr & ak->mask) == ak->flags) {
646 ctx->fpos += fprintf(ctx->fp, "%s ", ak->val);
  /src/sys/crypto/aes/arch/arm/
aes_neon.c 239 uint8x16_t k, i, ak, j; local
242 ak = vqtbl1q_u8(inva_, k);
244 *io = j ^ vqtbl1q_u8(inv_, ak ^ vqtbl1q_u8(inv_, i));
245 *jo = i ^ vqtbl1q_u8(inv_, ak ^ vqtbl1q_u8(inv_, j));
  /src/crypto/external/bsd/openssl.old/dist/test/
evp_extra_test.c 1074 const APK_DATA *ak = &keydata[i]; local
1075 const unsigned char *input = ak->kder;
1076 size_t input_len = ak->size;
1077 int expected_id = ak->evptype;
1512 const APK_DATA *ak = &keycheckdata[i]; local
1513 const unsigned char *input = ak->kder;
1514 size_t input_len = ak->size;
1515 int expected_id = ak->evptype;
1516 int expected_check = ak->check;
1517 int expected_pub_check = ak->pub_check
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
IntervalMap.h 2123 KeyType ak = a().start();
2125 return Traits::startLess(ak, bk) ? bk : ak;
2130 KeyType ak = a().stop();
2132 return Traits::startLess(ak, bk) ? ak : bk;
  /src/crypto/external/bsd/openssl/dist/test/
evp_extra_test.c 1696 const APK_DATA *ak = &keydata[i]; local
1697 const unsigned char *input = ak->kder;
1698 size_t input_len = ak->size;
1699 int expected_id = ak->evptype;
2371 const APK_DATA *ak = &keycheckdata[i]; local
2372 const unsigned char *input = ak->kder;
2373 size_t input_len = ak->size;
2374 int expected_id = ak->evptype;
2375 int expected_check = ak->check;
2376 int expected_pub_check = ak->pub_check
    [all...]
evp_extra_test2.c 451 const APK_DATA *ak = &keydata[i]; local
452 const unsigned char *input = ak->kder;
453 size_t input_len = ak->size;
454 int expected_id = ak->evptype;
466 if (ak->evptype == EVP_PKEY_RSA) {
470 } else if (ak->evptype == EVP_PKEY_X25519) {
485 if (ak->evptype == EVP_PKEY_DH) {
  /src/crypto/external/apache2/openssl/dist/test/
evp_extra_test2.c 620 const APK_DATA *ak = &keydata[i]; local
621 const unsigned char *input = ak->kder;
622 size_t input_len = ak->size;
623 int expected_id = ak->evptype;
635 if (ak->evptype == EVP_PKEY_RSA) {
639 } else if (ak->evptype == EVP_PKEY_X25519) {
654 if (ak->evptype == EVP_PKEY_DH) {

Completed in 103 milliseconds

1 2