Home
last modified time | relevance | path

Searched refs:key_size (Results 1 – 25 of 70) sorted by relevance

123

/external/chromium_org/net/data/ssl/scripts/
Dgenerate-weak-test-chains.sh75 key_size=$(echo "$key_type" | sed -E 's/-.+//')
80 key_size="-name $key_size"
84 -out out/$key_type-intermediate.key $key_size
89 key_size=$(echo "$key_type" | sed -E 's/-.+//')
94 key_size="-name $key_size"
100 -out out/$key_type-ee-by-$signer_key_type-intermediate.key $key_size
107 key_size=$(echo "$key_type" | sed -E 's/-.+//')
110 CA_COMMON_NAME="$key_size $algo Test intermediate CA" \
113 KEY_SIZE=$key_size \
144 key_size=$(echo "$key_type" | sed -E 's/-.+//')
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_state_cache.c59 assert(item->key_size % 4 == 0); in hash_key()
63 for (i = 0; i < item->key_size/4; i++) { in hash_key()
77 a->key_size == b->key_size && in brw_cache_item_equals()
78 (memcmp(a->key, b->key, a->key_size) == 0); in brw_cache_item_equals()
135 const void *key, GLuint key_size, in brw_search_cache() argument
145 lookup.key_size = key_size; in brw_search_cache()
154 *(void **)out_aux = ((char *)item->key + item->key_size); in brw_search_cache()
205 const void *item_aux = item->key + item->key_size; in brw_try_upload_using_copy()
265 GLuint key_size, in brw_upload_cache() argument
280 item->key_size = key_size; in brw_upload_cache()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state_cache.c59 assert(item->key_size % 4 == 0); in hash_key()
63 for (i = 0; i < item->key_size/4; i++) { in hash_key()
77 a->key_size == b->key_size && in brw_cache_item_equals()
78 (memcmp(a->key, b->key, a->key_size) == 0); in brw_cache_item_equals()
135 const void *key, GLuint key_size, in brw_search_cache() argument
145 lookup.key_size = key_size; in brw_search_cache()
154 *(void **)out_aux = ((char *)item->key + item->key_size); in brw_search_cache()
205 const void *item_aux = item->key + item->key_size; in brw_try_upload_using_copy()
265 GLuint key_size, in brw_upload_cache() argument
280 item->key_size = key_size; in brw_upload_cache()
[all …]
/external/chromium_org/components/crx_file/
Dcrx_file.cc36 scoped_ptr<CrxFile> CrxFile::Create(const uint32 key_size, in Create() argument
42 header.key_size = key_size; in Create()
68 else if (header.key_size > kMaxPublicKeySize) in HeaderIsValid()
70 else if (header.key_size == 0) in HeaderIsValid()
Dcrx_file.h29 uint32 key_size; // The size of the public key, in bytes. member
55 static scoped_ptr<CrxFile> Create(const uint32 key_size,
/external/chromium_org/net/quic/crypto/
Dcrypto_secret_boxer_test.cc19 const size_t key_size = CryptoSecretBoxer::GetKeySize(); in TEST() local
20 scoped_ptr<uint8[]> key(new uint8[key_size]); in TEST()
21 memset(key.get(), 0x11, key_size); in TEST()
24 boxer.SetKey(StringPiece(reinterpret_cast<char*>(key.get()), key_size)); in TEST()
Daead_base_decrypter.h30 size_t key_size,
36 size_t key_size,
Daead_base_encrypter.h30 size_t key_size,
36 size_t key_size,
Daead_base_decrypter_openssl.cc40 size_t key_size, in AeadBaseDecrypter() argument
44 key_size_(key_size), in AeadBaseDecrypter()
Daead_base_encrypter_openssl.cc36 size_t key_size, in AeadBaseEncrypter() argument
40 key_size_(key_size), in AeadBaseEncrypter()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_keymap.c49 unsigned key_size; member
125 map->key_size = keySize; in util_new_keymap()
156 if (!memcmp(item->key, key, map->key_size)) in hash_table_find_iter()
199 key_hash = hash(key, map->key_size); in util_keymap_insert()
213 item->key = mem_dup(key, map->key_size); in util_keymap_insert()
241 key_hash = hash(key, map->key_size); in util_keymap_lookup()
267 key_hash = hash(key, map->key_size); in util_keymap_remove()
/external/mesa3d/src/gallium/auxiliary/util/
Du_keymap.c49 unsigned key_size; member
125 map->key_size = keySize; in util_new_keymap()
156 if (!memcmp(item->key, key, map->key_size)) in hash_table_find_iter()
199 key_hash = hash(key, map->key_size); in util_keymap_insert()
213 item->key = mem_dup(key, map->key_size); in util_keymap_insert()
241 key_hash = hash(key, map->key_size); in util_keymap_lookup()
267 key_hash = hash(key, map->key_size); in util_keymap_remove()
/external/chromium_org/third_party/leveldatabase/src/db/
Dmemtable.cc90 size_t key_size = key.size(); in Add() local
92 size_t internal_key_size = key_size + 8; in Add()
98 memcpy(p, key.data(), key_size); in Add()
99 p += key_size; in Add()
/external/chromium_org/third_party/libxslt/libexslt/
Dcrypto.c594 int key_len = 0, key_size = 0; in exsltCryptoRc4EncryptFunction() local
635 key_size = xmlUTF8Strsize (key, key_len); in exsltCryptoRc4EncryptFunction()
636 if ((key_size > RC4_KEY_LENGTH) || (key_size < 0)) { in exsltCryptoRc4EncryptFunction()
643 memcpy (padkey, key, key_size); in exsltCryptoRc4EncryptFunction()
692 int key_len = 0, key_size = 0; in exsltCryptoRc4DecryptFunction() local
732 key_size = xmlUTF8Strsize (key, key_len); in exsltCryptoRc4DecryptFunction()
733 if ((key_size > RC4_KEY_LENGTH) || (key_size < 0)) { in exsltCryptoRc4DecryptFunction()
740 memcpy (padkey, key, key_size); in exsltCryptoRc4DecryptFunction()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c372 unsigned key_size, hash_key; in cso_set_blend() local
376 key_size = templ->independent_blend_enable ? in cso_set_blend()
379 hash_key = cso_construct_key((void*)templ, key_size); in cso_set_blend()
381 (void*)templ, key_size); in cso_set_blend()
389 memcpy(&cso->state, templ, key_size); in cso_set_blend()
434 unsigned key_size = sizeof(struct pipe_depth_stencil_alpha_state); in cso_set_depth_stencil_alpha() local
435 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_depth_stencil_alpha()
439 (void*)templ, key_size); in cso_set_depth_stencil_alpha()
497 unsigned key_size = sizeof(struct pipe_rasterizer_state); in cso_set_rasterizer() local
498 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_rasterizer()
[all …]
Dcso_cache.c48 static unsigned hash_key(const void *key, unsigned key_size) in hash_key() argument
53 assert(key_size % 4 == 0); in hash_key()
57 for (i = 0; i < key_size/4; i++) in hash_key()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
Dcso_context.c372 unsigned key_size, hash_key; in cso_set_blend() local
376 key_size = templ->independent_blend_enable ? in cso_set_blend()
379 hash_key = cso_construct_key((void*)templ, key_size); in cso_set_blend()
381 (void*)templ, key_size); in cso_set_blend()
389 memcpy(&cso->state, templ, key_size); in cso_set_blend()
434 unsigned key_size = sizeof(struct pipe_depth_stencil_alpha_state); in cso_set_depth_stencil_alpha() local
435 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_depth_stencil_alpha()
439 (void*)templ, key_size); in cso_set_depth_stencil_alpha()
497 unsigned key_size = sizeof(struct pipe_rasterizer_state); in cso_set_rasterizer() local
498 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_rasterizer()
[all …]
Dcso_cache.c48 static unsigned hash_key(const void *key, unsigned key_size) in hash_key() argument
53 assert(key_size % 4 == 0); in hash_key()
57 for (i = 0; i < key_size/4; i++) in hash_key()
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_db.c120 UINT8 key_size) in gatts_check_attr_readability() argument
157 …if ( (perm & GATT_READ_ENCRYPTED_REQUIRED) && (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && (key_size < … in gatts_check_attr_readability()
212 UINT8 key_size) in read_attr_value() argument
227 …atus = gatts_check_attr_readability((tGATT_ATTR16 *)p_attr, offset, read_long, sec_flag, key_size); in read_attr_value()
335 UINT8 key_size, in gatts_db_read_attr_value_by_type() argument
380 …us = read_attr_value ((void *)p_attr, 0, &p, FALSE, (UINT16)(*p_len -2), &len, sec_flag, key_size); in gatts_db_read_attr_value_by_type()
645 UINT8 key_size, in gatts_read_attr_value_by_handle() argument
662 mtu, p_len, sec_flag, key_size); in gatts_read_attr_value_by_handle()
700 UINT8 key_size) in gatts_read_attr_perm_check() argument
715 sec_flag, key_size); in gatts_read_attr_perm_check()
[all …]
Dgatt_sr.c402 UINT8 sec_flag, key_size; in gatt_process_read_multi_req() local
411 &key_size); in gatt_process_read_multi_req()
439 key_size)) in gatt_process_read_multi_req()
488 key_size, in gatt_process_read_multi_req()
985 UINT8 sec_flag, key_size; in gatts_process_read_by_type_req() local
1035 &key_size); in gatts_process_read_by_type_req()
1046 key_size, in gatts_process_read_by_type_req()
1097 UINT8 sec_flag, key_size, *p = p_data; in gatts_process_write_req() local
1130 &key_size); in gatts_process_write_req()
1139 key_size); in gatts_process_write_req()
[all …]
/external/chromium_org/crypto/
Dsymmetric_key_win.cc52 const void* key_data, size_t key_size, in ImportRawKey() argument
54 DCHECK_GT(key_size, 0); in ImportRawKey()
57 static_cast<DWORD>(sizeof(PlaintextBlobHeader) + key_size); in ImportRawKey()
60 memcpy(actual_key + sizeof(PlaintextBlobHeader), key_data, key_size); in ImportRawKey()
69 key_header->cbKeySize = static_cast<DWORD>(key_size); in ImportRawKey()
/external/bluetooth/bluedroid/btif/include/
Dbtif_dm.h68 UINT8 key_size; member
81 UINT8 key_size; member
/external/mesa3d/src/mesa/program/
Dprog_cache.c58 hash_key(const void *key, GLuint key_size) in hash_key() argument
63 assert(key_size >= 4); in hash_key()
67 for (i = 0; i < key_size / sizeof(*ikey); i++) in hash_key()
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprog_cache.c58 hash_key(const void *key, GLuint key_size) in hash_key() argument
63 assert(key_size >= 4); in hash_key()
67 for (i = 0; i < key_size / sizeof(*ikey); i++) in hash_key()
/external/chromium_org/sync/util/
Dcryptographer.cc307 int key_size = bag.key_size(); in InstallKeyBag() local
308 for (int i = 0; i < key_size; ++i) { in InstallKeyBag()
340 if (static_cast<size_t>(bag.key_size()) < nigoris_.size()) in KeybagIsStale()

123