Home
last modified time | relevance | path

Searched refs:key_p (Results 1 – 25 of 209) sorted by relevance

123456789

/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pci/n8/common/api/
H A Dn8_rsa.c1184 key_p->key = key_p->n + NEXT_WORD_SIZE(key_p->privateKeyLength); in initPrivateKey()
1324 key_p->pPad = PKDIGITS_TO_BYTES(key_p->pDigits) - key_p->pLength; in initPrivateKeyCRT()
1325 key_p->qPad = PKDIGITS_TO_BYTES(key_p->qDigits) - key_p->qLength; in initPrivateKeyCRT()
1356 key_p->p = key_p->paramBlock + PK_RSA_P_Param_Byte_Offset(key_p); in initPrivateKeyCRT()
1357 key_p->q = key_p->paramBlock + PK_RSA_Q_Param_Byte_Offset(key_p); in initPrivateKeyCRT()
1420 ret = cb_computeU(req_p, key_p->p, key_p->q, key_p->u, in initPrivateKeyCRT()
1427 ret = cb_computeDX(req_p, key_p->p, key_p->key, key_p->dp, in initPrivateKeyCRT()
1435 ret = cb_computeDX(req_p, key_p->q, key_p->key, key_p->dq, in initPrivateKeyCRT()
1577 key_p->pPad = PKDIGITS_TO_BYTES(key_p->pDigits) - key_p->pLength;
1578 key_p->qPad = PKDIGITS_TO_BYTES(key_p->qDigits) - key_p->qLength;
[all …]
H A Dn8_dh.c168 key_p->p = key_p->g + NEXT_WORD_SIZE(key_p->modulusLength); in N8_DHInitializeKey()
169 key_p->R_mod_p = key_p->p + NEXT_WORD_SIZE(key_p->modulusLength); in N8_DHInitializeKey()
170 key_p->gR_mod_p = key_p->R_mod_p + NEXT_WORD_SIZE(key_p->modulusLength); in N8_DHInitializeKey()
171 key_p->cp = key_p->gR_mod_p + NEXT_WORD_SIZE(key_p->modulusLength); in N8_DHInitializeKey()
174 key_p->g_a = key_p->kmem_p->PhysicalAddress; in N8_DHInitializeKey()
175 key_p->p_a = key_p->g_a + NEXT_WORD_SIZE(key_p->modulusLength); in N8_DHInitializeKey()
176 key_p->RmodP_a = key_p->p_a + NEXT_WORD_SIZE(key_p->modulusLength); in N8_DHInitializeKey()
177 key_p->gRmodP_a = key_p->RmodP_a + NEXT_WORD_SIZE(key_p->modulusLength); in N8_DHInitializeKey()
178 key_p->cp_a = key_p->gRmodP_a + NEXT_WORD_SIZE(key_p->modulusLength); in N8_DHInitializeKey()
194 ret = cb_precomputeDHValues(req_p, key_p->g_a, key_p->p_a, in N8_DHInitializeKey()
[all …]
H A Dn8_dsa.c543 key_p->keyType = type; in N8_DSAInitializeKey()
1145 key_p->q = (N8_Buffer_t *) key_p->kmem_p->VirtualAddress; in initDSAPublicKey()
1148 key_p->cp = key_p->q + in initDSAPublicKey()
1153 key_p->gR_mod_p = key_p->cp + in initDSAPublicKey()
1158 key_p->p = key_p->gR_mod_p + in initDSAPublicKey()
1163 key_p->publicKey = key_p->p + in initDSAPublicKey()
1168 key_p->g = key_p->publicKey + in initDSAPublicKey()
1322 key_p->paramBlock = (N8_Buffer_t *) key_p->kmem_p->VirtualAddress; in initDSAPrivateKey()
1332 key_p->p = key_p->paramBlock + PK_DSA_P_Param_Offset; in initDSAPrivateKey()
1334 key_p->q = key_p->paramBlock + PK_DSA_Q_Param_Offset(modulusDigits); in initDSAPrivateKey()
[all …]
H A Dn8_key_works.c133 N8_Boolean_t checkKeyForWeakness (key_cblock_t *key_p) in checkKeyForWeakness() argument
142 if (memcmp(weak_keys[i], key_p, sizeof(*key_p)) == 0) in checkKeyForWeakness()
171 N8_Boolean_t checkKeyParity(key_cblock_t *key_p) in checkKeyParity() argument
179 if ((*key_p)[i] != odd_parity[(*key_p)[i]]) in checkKeyParity()
201 void forceParity(key_cblock_t *key_p) in forceParity() argument
206 (*key_p)[i]=odd_parity[(*key_p)[i]]; in forceParity()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c562 assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && in test_lpm_get_next_key()
569 key_p->prefixlen = 8; in test_lpm_get_next_key()
571 assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && in test_lpm_get_next_key()
581 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
582 key_p->data[1] == 168 && key_p->data[2] == 128); in test_lpm_get_next_key()
600 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
601 key_p->data[1] == 168 && key_p->data[2] == 0); in test_lpm_get_next_key()
624 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
625 key_p->data[1] == 168 && key_p->data[2] == 0); in test_lpm_get_next_key()
653 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c562 assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && in test_lpm_get_next_key()
569 key_p->prefixlen = 8; in test_lpm_get_next_key()
571 assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && in test_lpm_get_next_key()
581 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
582 key_p->data[1] == 168 && key_p->data[2] == 128); in test_lpm_get_next_key()
600 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
601 key_p->data[1] == 168 && key_p->data[2] == 0); in test_lpm_get_next_key()
624 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
625 key_p->data[1] == 168 && key_p->data[2] == 0); in test_lpm_get_next_key()
653 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c562 assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && in test_lpm_get_next_key()
569 key_p->prefixlen = 8; in test_lpm_get_next_key()
571 assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && in test_lpm_get_next_key()
581 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
582 key_p->data[1] == 168 && key_p->data[2] == 128); in test_lpm_get_next_key()
600 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
601 key_p->data[1] == 168 && key_p->data[2] == 0); in test_lpm_get_next_key()
624 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
625 key_p->data[1] == 168 && key_p->data[2] == 0); in test_lpm_get_next_key()
653 assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && in test_lpm_get_next_key()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pci/n8/common/api/commands/
H A Dn8_cb_rsa.c964 if (key_p->keyType == N8_PRIVATE) in cb_rsaDecrypt()
976 key_length_bytes = key_p->privateKeyLength; in cb_rsaDecrypt()
1004 if (key_p->keyType != N8_PRIVATE_SKS) in cb_rsaDecrypt()
1021 if (key_p->keyType == N8_PRIVATE_SKS || in cb_rsaDecrypt()
1022 cb_RSAOperationSupported(key_p)) in cb_rsaDecrypt()
1169 if (key_p->keyType == N8_PRIVATE_SKS) in cb_RSADecryptOperations()
1173 else if (key_p->keyType == N8_PRIVATE) in cb_RSADecryptOperations()
1177 else if (cb_RSAOperationSupported(key_p)) in cb_RSADecryptOperations()
1438 if ((key_p->pLength == key_p->qLength) && in cb_RSAOperationSupported()
1439 ((key_p->pLength+key_p->qLength) == key_p->privateKeyLength) && in cb_RSAOperationSupported()
[all …]
/dports/devel/color/color-a04952cf27cc315e31811f2e940221bf8cf9f8ca/src/color/cmyk/fix/
H A Dintegrity.hpp36 , key_p = ::color::place::_internal::key<category_type>::position_enum enumerator
41 if( result.template get<key_p>() == bound_type::template maximum<key_p>() ) in process()
54 … scalar_type key = normalize_type::template process<key_p>( result.template get<key_p>() ); in process()
60 … result.template set<key_p>( diverse_type::template process<key_p>( ( 1- ( 1- cyan)*(1-key) ) ) ); in process()
65 if( result.template get<key_p>() == bound_type::template maximum<key_p>() ) in process()
70 result.template set<key_p>( bound_type::template maximum<key_p>() ); in process()
81 … scalar_type key = normalize_type::template process<key_p>( result.template get<key_p>() ); in process()
87 … result.template set<key_p>( diverse_type::template process<key_p>( ( 1- ( 1- cyan)*(1-key) ) ) ); in process()
/dports/devel/dmalloc/dmalloc-5.6.5/
H A Ddmalloc_tab.c82 const unsigned char *key_p = key; in hash() local
92 a += (key_p[0] in hash()
93 + ((unsigned int)key_p[1] << 8) in hash()
94 + ((unsigned int)key_p[2] << 16) in hash()
96 b += (key_p[4] in hash()
97 + ((unsigned int)key_p[5] << 8) in hash()
100 c += (key_p[8] in hash()
101 + ((unsigned int)key_p[9] << 8) in hash()
105 key_p += 12; in hash()
126 b += key_p[4]; in hash()
[all …]
/dports/devel/color/color-a04952cf27cc315e31811f2e940221bf8cf9f8ca/src/color/cmyk/check/
H A Dintegrity.hpp36 , key_p = ::color::place::_internal::key<category_type>::position_enum enumerator
42 … if( m.template get<key_p>() == bound_type::template maximum<key_p>() ) { return false; } in process()
75 , key_p = ::color::place::_internal::key<category_type>::position_enum enumerator
80 if( m.template get<key_p>() == bound_type::template maximum<key_p>() ) { return false; } in process()
84 … == scalar_trait_type::is_small( m.template get< key_p>() - bound_type::template minimum< ke… in process()
105 , key_p = ::color::place::_internal::key<category_type>::position_enum enumerator
110 if( m.template get<key_p>() == bound_type::template maximum<key_p>() ) { return false; } in process()
135 , key_p = ::color::place::_internal::key<category_type>::position_enum enumerator
140 if( m.template get<key_p>() == bound_type::template maximum<key_p>() ) { return false; } in process()
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/utils/weather_adjuster/
H A Dadjust.c84 char *key_p = chunk_p->lines[i]; in process_chunk() local
85 char *eol_p = (char*)ltx_find_eol(key_p); in process_chunk()
89 for (; isspace(*key_p); key_p++); in process_chunk()
91 if (eol_p == key_p) in process_chunk()
96 if ((str_p = strstr(key_p, "clouds_color")) == key_p) in process_chunk()
98 else if ((str_p = strstr(key_p, "fog_color")) == key_p) in process_chunk()
100 else if ((str_p = strstr(key_p, "rain_color")) == key_p) in process_chunk()
102 else if ((str_p = strstr(key_p, "ambient")) == key_p) in process_chunk()
104 else if ((str_p = strstr(key_p, "hemi_color")) == key_p) in process_chunk()
/dports/devel/p5-Glib-Object-Introspection/Glib-Object-Introspection-0.049/
H A Dgperl-i11n-marshal-hash.c14 gpointer key_p, value_p; in ghash_to_sv() local
44 while (g_hash_table_iter_next (&iter, &key_p, &value_p)) { in ghash_to_sv()
48 dwarn (" key pointer %p\n", key_p); in ghash_to_sv()
49 arg.v_pointer = key_p; in ghash_to_sv()
151 gpointer key_p, value_p; in sv_to_ghash() local
153 key_p = value_p = NULL; in sv_to_ghash()
161 key_p = arg.v_pointer; in sv_to_ghash()
172 if (key_p != NULL && value_p != NULL) in sv_to_ghash()
173 g_hash_table_insert (hash, key_p, value_p); in sv_to_ghash()
/dports/mail/exim-mysql/exim-4.95/src/lookups/
H A Ddbmdb.c144 uschar *key_item, *key_buffer, *key_p; in dbmjz_find() local
156 key_p = key_buffer; in dbmjz_find()
163 while ((key_item = string_nextinlist(&key_elems, &sep, key_p, bufleft)) != NULL) in dbmjz_find()
168 key_p[0] = '\0'; in dbmjz_find()
169 if (key_p == key_buffer) in dbmjz_find()
171 key_p[1] = '\0'; in dbmjz_find()
184 key_p += key_item_len; in dbmjz_find()
187 if (key_p == key_buffer) in dbmjz_find()
195 key_item_len = key_p - key_buffer - 1; in dbmjz_find()
/dports/mail/exim-sa-exim/exim-4.95/src/lookups/
H A Ddbmdb.c144 uschar *key_item, *key_buffer, *key_p; in dbmjz_find() local
156 key_p = key_buffer; in dbmjz_find()
163 while ((key_item = string_nextinlist(&key_elems, &sep, key_p, bufleft)) != NULL) in dbmjz_find()
168 key_p[0] = '\0'; in dbmjz_find()
169 if (key_p == key_buffer) in dbmjz_find()
171 key_p[1] = '\0'; in dbmjz_find()
184 key_p += key_item_len; in dbmjz_find()
187 if (key_p == key_buffer) in dbmjz_find()
195 key_item_len = key_p - key_buffer - 1; in dbmjz_find()
/dports/mail/exim-monitor/exim-4.95/src/lookups/
H A Ddbmdb.c144 uschar *key_item, *key_buffer, *key_p; in dbmjz_find() local
156 key_p = key_buffer; in dbmjz_find()
163 while ((key_item = string_nextinlist(&key_elems, &sep, key_p, bufleft)) != NULL) in dbmjz_find()
168 key_p[0] = '\0'; in dbmjz_find()
169 if (key_p == key_buffer) in dbmjz_find()
171 key_p[1] = '\0'; in dbmjz_find()
184 key_p += key_item_len; in dbmjz_find()
187 if (key_p == key_buffer) in dbmjz_find()
195 key_item_len = key_p - key_buffer - 1; in dbmjz_find()
/dports/mail/exim/exim-4.95/src/lookups/
H A Ddbmdb.c144 uschar *key_item, *key_buffer, *key_p; in dbmjz_find() local
156 key_p = key_buffer; in dbmjz_find()
163 while ((key_item = string_nextinlist(&key_elems, &sep, key_p, bufleft)) != NULL) in dbmjz_find()
168 key_p[0] = '\0'; in dbmjz_find()
169 if (key_p == key_buffer) in dbmjz_find()
171 key_p[1] = '\0'; in dbmjz_find()
184 key_p += key_item_len; in dbmjz_find()
187 if (key_p == key_buffer) in dbmjz_find()
195 key_item_len = key_p - key_buffer - 1; in dbmjz_find()
/dports/mail/exim-ldap2/exim-4.95/src/lookups/
H A Ddbmdb.c144 uschar *key_item, *key_buffer, *key_p; in dbmjz_find() local
156 key_p = key_buffer; in dbmjz_find()
163 while ((key_item = string_nextinlist(&key_elems, &sep, key_p, bufleft)) != NULL) in dbmjz_find()
168 key_p[0] = '\0'; in dbmjz_find()
169 if (key_p == key_buffer) in dbmjz_find()
171 key_p[1] = '\0'; in dbmjz_find()
184 key_p += key_item_len; in dbmjz_find()
187 if (key_p == key_buffer) in dbmjz_find()
195 key_item_len = key_p - key_buffer - 1; in dbmjz_find()
/dports/mail/exim-sqlite/exim-4.95/src/lookups/
H A Ddbmdb.c144 uschar *key_item, *key_buffer, *key_p; in dbmjz_find() local
156 key_p = key_buffer; in dbmjz_find()
163 while ((key_item = string_nextinlist(&key_elems, &sep, key_p, bufleft)) != NULL) in dbmjz_find()
168 key_p[0] = '\0'; in dbmjz_find()
169 if (key_p == key_buffer) in dbmjz_find()
171 key_p[1] = '\0'; in dbmjz_find()
184 key_p += key_item_len; in dbmjz_find()
187 if (key_p == key_buffer) in dbmjz_find()
195 key_item_len = key_p - key_buffer - 1; in dbmjz_find()
/dports/mail/exim-postgresql/exim-4.95/src/lookups/
H A Ddbmdb.c144 uschar *key_item, *key_buffer, *key_p; in dbmjz_find() local
156 key_p = key_buffer; in dbmjz_find()
163 while ((key_item = string_nextinlist(&key_elems, &sep, key_p, bufleft)) != NULL) in dbmjz_find()
168 key_p[0] = '\0'; in dbmjz_find()
169 if (key_p == key_buffer) in dbmjz_find()
171 key_p[1] = '\0'; in dbmjz_find()
184 key_p += key_item_len; in dbmjz_find()
187 if (key_p == key_buffer) in dbmjz_find()
195 key_item_len = key_p - key_buffer - 1; in dbmjz_find()
/dports/cad/abc/abc-a4518e6f833885c905964f1233d11e5b941ec24c/src/misc/avl/
H A Davl.doc47 avl_first(tree, key_p, value_p)
49 char **key_p;
55 avl_last(tree, key_p, value_p)
57 char **key_p;
80 avl_delete(tree, key_p, value_p)
82 char **key_p;
85 `key_p' and `value_p' to point to the key and value of item,
140 avl_gen(gen, key_p, value_p)
142 char **key_p;
158 avl_foreach_item(tree, gen, direction, key_p, value_p)
[all …]
H A Davl.c85 avl_first (tree, key_p, value_p) in avl_first() argument
87 char **key_p;
103 *key_p = node->key;
111 avl_last (tree, key_p, value_p) in avl_last() argument
113 char **key_p;
129 *key_p = node->key;
209 char **key_p;
214 char *key = *key_p;
233 *key_p = node->key;
314 avl_gen (gen, key_p, value_p) in avl_gen() argument
[all …]
/dports/x11-toolkits/tepl6/tepl-6.00.0/tepl/
H A Dtepl-metadata-attic.c123 gpointer key_p; in append_entries_to_string() local
127 while (g_hash_table_iter_next (&iter, &key_p, &value_p)) in append_entries_to_string()
129 const gchar *key = key_p; in append_entries_to_string()
184 gpointer key_p; in _tepl_metadata_attic_copy_from() local
191 while (g_hash_table_iter_next (&iter, &key_p, &value_p)) in _tepl_metadata_attic_copy_from()
193 const gchar *key = key_p; in _tepl_metadata_attic_copy_from()
203 merge_into__from_metadata_foreach_cb (gpointer key_p, in merge_into__from_metadata_foreach_cb() argument
207 const gchar *key = key_p; in merge_into__from_metadata_foreach_cb()
/dports/x11-toolkits/tepl/tepl-5.1.1/tepl/
H A Dtepl-metadata-attic.c123 gpointer key_p; in append_entries_to_string() local
127 while (g_hash_table_iter_next (&iter, &key_p, &value_p)) in append_entries_to_string()
129 const gchar *key = key_p; in append_entries_to_string()
184 gpointer key_p; in _tepl_metadata_attic_copy_from() local
191 while (g_hash_table_iter_next (&iter, &key_p, &value_p)) in _tepl_metadata_attic_copy_from()
193 const gchar *key = key_p; in _tepl_metadata_attic_copy_from()
203 merge_into__from_metadata_foreach_cb (gpointer key_p, in merge_into__from_metadata_foreach_cb() argument
207 const gchar *key = key_p; in merge_into__from_metadata_foreach_cb()
/dports/misc/hashdb/hashdb-3.1.0-8-g1da1b9f/src_libhashdb/
H A Dlmdb_source_name_manager.hpp110 uint8_t* key_p = key; in insert() local
111 key_p = lmdb_helper::encode_uint64_t(source_id, key_p); in insert()
112 context.key.mv_size = key_p - key; in insert()
170 uint8_t* key_p = key_start; in find() local
171 key_p = lmdb_helper::encode_uint64_t(source_id, key_p); in find()
172 const size_t key_size = key_p - key_start; in find()

123456789