Home
last modified time | relevance | path

Searched refs:keysize (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/mesa/program/
Dprog_cache.c41 unsigned keysize; member
177 const void *key, GLuint keysize) in _mesa_search_program_cache() argument
180 cache->last->keysize == keysize && in _mesa_search_program_cache()
181 memcmp(cache->last->key, key, keysize) == 0) { in _mesa_search_program_cache()
185 const GLuint hash = hash_key(key, keysize); in _mesa_search_program_cache()
190 c->keysize == keysize && in _mesa_search_program_cache()
191 memcmp(c->key, key, keysize) == 0) { in _mesa_search_program_cache()
206 const void *key, GLuint keysize, in _mesa_program_cache_insert() argument
209 const GLuint hash = hash_key(key, keysize); in _mesa_program_cache_insert()
214 c->key = malloc(keysize); in _mesa_program_cache_insert()
[all …]
Dprog_cache.h59 const void *key, GLuint keysize);
64 const void *key, GLuint keysize,
70 const void *key, GLuint keysize,
/third_party/mbedtls/programs/test/
Dbenchmark.c718 int keysize; in main() local
721 for( keysize = 128; keysize <= 256; keysize += 64 ) in main()
723 mbedtls_snprintf( title, sizeof( title ), "AES-CBC-%d", keysize ); in main()
727 CHECK_AND_CONTINUE( mbedtls_aes_setkey_enc( &aes, tmp, keysize ) ); in main()
738 int keysize; in main() local
742 for( keysize = 128; keysize <= 256; keysize += 128 ) in main()
744 mbedtls_snprintf( title, sizeof( title ), "AES-XTS-%d", keysize ); in main()
748 CHECK_AND_CONTINUE( mbedtls_aes_xts_setkey_enc( &ctx, tmp, keysize * 2 ) ); in main()
761 int keysize; in main() local
765 for( keysize = 128; keysize <= 256; keysize += 64 ) in main()
[all …]
/third_party/openssl/apps/
Drsautl.c76 int rsa_inlen, keyformat = FORMAT_PEM, keysize, ret = 1; in rsautl_main() local
212 keysize = RSA_size(rsa); in rsautl_main()
214 rsa_in = app_malloc(keysize * 2, "hold rsa key"); in rsautl_main()
215 rsa_out = app_malloc(keysize, "output rsa key"); in rsautl_main()
218 rsa_inlen = BIO_read(in, rsa_in, keysize * 2); in rsautl_main()
Dpkeyutl.c88 int keysize = -1, pkey_op = EVP_PKEY_OP_SIGN, key_type = KEY_PRIVKEY; in pkeyutl_main() local
216 ctx = init_ctx(kdfalg, &keysize, inkey, keyform, key_type, in pkeyutl_main()
272 siglen = bio_to_mem(&sig, keysize * 10, sigbio); in pkeyutl_main()
282 buf_inlen = bio_to_mem(&buf_in, keysize * 10, in); in pkeyutl_main()
/third_party/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h161 int keysize = translate_keysize(a); in translate_key_sanitize() local
163 memset(ptr + keysize, 0, sizeof(*a) - keysize); in translate_key_sanitize()
/third_party/skia/third_party/externals/angle2/extensions/
DEGL_ANGLE_program_cache_control.txt58 EGLint *keysize,
65 EGLint keysize,
126 void *key, EGLint *keysize, void *binary, EGLint *binarysize);
132 and 'keysize' are non-null, and 'binary' and 'key' are null, the size of the
133 binary at 'index' is written to 'binarysize', and the key size to 'keysize'.
135 'binary' out parameter, and if 'keysize' is not null, the size of the 'key'
136 out parameter. Any attempt to write more than 'binarysize' or 'keysize'
137 bytes will produce an EGL_BAD_ACCESS error in this case. If 'keysize' or
149 EGLint keysize, const void *binary, EGLint binarysize);
153 maximum size, EGL_BAD_PARAMETER is generated. If 'keysize' does not equal
/third_party/flutter/skia/third_party/externals/angle2/extensions/
DEGL_ANGLE_program_cache_control.txt58 EGLint *keysize,
65 EGLint keysize,
126 void *key, EGLint *keysize, void *binary, EGLint *binarysize);
132 and 'keysize' are non-null, and 'binary' and 'key' are null, the size of the
133 binary at 'index' is written to 'binarysize', and the key size to 'keysize'.
135 'binary' out parameter, and if 'keysize' is not null, the size of the 'key'
136 out parameter. Any attempt to write more than 'binarysize' or 'keysize'
137 bytes will produce an EGL_BAD_ACCESS error in this case. If 'keysize' or
149 EGLint keysize, const void *binary, EGLint binarysize);
153 maximum size, EGL_BAD_PARAMETER is generated. If 'keysize' does not equal
/third_party/flutter/skia/third_party/externals/angle2/include/EGL/
Deglext_angle.h164 …AMCACHEQUERYANGLEPROC) (EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EG…
165 …LPROGRAMCACHEPOPULATEANGLEPROC) (EGLDisplay dpy, const void *key, EGLint keysize, const void *bina…
169 …lProgramCacheQueryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EG…
170 …TRY eglProgramCachePopulateANGLE(EGLDisplay dpy, const void *key, EGLint keysize, const void *bina…
/third_party/glib/glib/
Dgvarianttype.c1265 gsize keysize, valsize; in g_variant_type_new_dict_entry() local
1271 keysize = g_variant_type_get_string_length (key); in g_variant_type_new_dict_entry()
1274 new = g_malloc (1 + keysize + valsize + 1); in g_variant_type_new_dict_entry()
1277 memcpy (new + 1, key, keysize); in g_variant_type_new_dict_entry()
1278 memcpy (new + 1 + keysize, value, valsize); in g_variant_type_new_dict_entry()
1279 new[1 + keysize + valsize] = '}'; in g_variant_type_new_dict_entry()
/third_party/skia/third_party/externals/angle2/include/EGL/
Deglext_angle.h202 …AMCACHEQUERYANGLEPROC) (EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EG…
203 …LPROGRAMCACHEPOPULATEANGLEPROC) (EGLDisplay dpy, const void *key, EGLint keysize, const void *bina…
207 …lProgramCacheQueryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EG…
208 …TRY eglProgramCachePopulateANGLE(EGLDisplay dpy, const void *key, EGLint keysize, const void *bina…
/third_party/openssl/test/
Digetest.c81 const size_t keysize; member
197 AES_set_encrypt_key(v->key1, 8 * v->keysize, &key1); in test_bi_ige_vectors()
198 AES_set_encrypt_key(v->key2, 8 * v->keysize, &key2); in test_bi_ige_vectors()
200 AES_set_decrypt_key(v->key1, 8 * v->keysize, &key1); in test_bi_ige_vectors()
201 AES_set_decrypt_key(v->key2, 8 * v->keysize, &key2); in test_bi_ige_vectors()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs.h202 int keysize = draw_vs_variant_keysize(a); in draw_vs_variant_key_compare() local
203 return memcmp(a, b, keysize); in draw_vs_variant_key_compare()
/third_party/openssl/include/crypto/
Devp.h368 #define IMPLEMENT_CFBR(cipher,cprefix,kstruct,ksched,keysize,cbits,iv_len,fl) \ argument
369 BLOCK_CIPHER_func_cfb(cipher##_##keysize,cprefix,cbits,kstruct,ksched) \
370 BLOCK_CIPHER_def_cfb(cipher##_##keysize,kstruct, \
371 NID_##cipher##_##keysize, keysize/8, iv_len, cbits, \
/third_party/flutter/skia/third_party/externals/angle2/src/libEGL/
DlibEGL.cpp601 EGLint *keysize, in eglProgramCacheQueryANGLE() argument
605 EGL_ProgramCacheQueryANGLE(dpy, index, key, keysize, binary, binarysize); in eglProgramCacheQueryANGLE()
610 EGLint keysize, in eglProgramCachePopulateANGLE() argument
614 EGL_ProgramCachePopulateANGLE(dpy, key, keysize, binary, binarysize); in eglProgramCachePopulateANGLE()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DDisplay.h178 EGLint *keysize,
182 EGLint keysize,
DDisplay.cpp1442 EGLint *keysize, in programCacheQuery() argument
1458 ASSERT(keysize && binarysize); in programCacheQuery()
1462 ASSERT(*keysize == static_cast<EGLint>(BlobCache::kKeyLength)); in programCacheQuery()
1480 *keysize = static_cast<EGLint>(BlobCache::kKeyLength); in programCacheQuery()
1486 EGLint keysize, in programCachePopulate() argument
1490 ASSERT(keysize == static_cast<EGLint>(BlobCache::kKeyLength)); in programCachePopulate()
/third_party/flutter/skia/third_party/externals/angle2/src/libGLESv2/
Dentry_points_egl_ext.h159 EGLint *keysize,
164 EGLint keysize,
Dentry_points_egl_ext.cpp1135 EGLint *keysize, in EGL_ProgramCacheQueryANGLE() argument
1143 (uintptr_t)dpy, index, (uintptr_t)key, (uintptr_t)keysize, (uintptr_t)binary, in EGL_ProgramCacheQueryANGLE()
1150 ValidateProgramCacheQueryANGLE(display, index, key, keysize, binary, binarysize), in EGL_ProgramCacheQueryANGLE()
1153 ANGLE_EGL_TRY(thread, display->programCacheQuery(index, key, keysize, binary, binarysize), in EGL_ProgramCacheQueryANGLE()
1161 EGLint keysize, in EGL_ProgramCachePopulateANGLE() argument
1169 (uintptr_t)dpy, (uintptr_t)key, keysize, (uintptr_t)binary, binarysize); in EGL_ProgramCachePopulateANGLE()
1175 ValidateProgramCachePopulateANGLE(display, key, keysize, binary, binarysize), in EGL_ProgramCachePopulateANGLE()
1178 ANGLE_EGL_TRY(thread, display->programCachePopulate(key, keysize, binary, binarysize), in EGL_ProgramCachePopulateANGLE()
/third_party/libnl/lib/xfrm/
Dsa.c1687 size_t keysize = sizeof (uint8_t) * ((key_len + 7)/8); in xfrmnl_sa_set_aead_params() local
1688 uint32_t newlen = sizeof (struct xfrmnl_algo_aead) + keysize; in xfrmnl_sa_set_aead_params()
1699 memcpy (b->alg_key, key, keysize); in xfrmnl_sa_set_aead_params()
1745 size_t keysize = sizeof (uint8_t) * ((key_len + 7)/8); in xfrmnl_sa_set_auth_params() local
1746 uint32_t newlen = sizeof (struct xfrmnl_algo_auth) + keysize; in xfrmnl_sa_set_auth_params()
1756 memcpy (b->alg_key, key, keysize); in xfrmnl_sa_set_auth_params()
1799 size_t keysize = sizeof (uint8_t) * ((key_len + 7)/8); in xfrmnl_sa_set_crypto_params() local
1800 uint32_t newlen = sizeof (struct xfrmnl_algo) + keysize; in xfrmnl_sa_set_crypto_params()
1809 memcpy (b->alg_key, key, keysize); in xfrmnl_sa_set_crypto_params()
1852 size_t keysize = sizeof (uint8_t) * ((key_len + 7)/8); in xfrmnl_sa_set_comp_params() local
[all …]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dentry_points_egl_ext_autogen.cpp364 EGLint *keysize, in EGL_ProgramCacheQueryANGLE() argument
373 (uintptr_t)dpy, index, (uintptr_t)key, (uintptr_t)keysize, (uintptr_t)binary, in EGL_ProgramCacheQueryANGLE()
381 index, key, keysize, binary, binarysize); in EGL_ProgramCacheQueryANGLE()
383 ProgramCacheQueryANGLE(thread, dpyPacked, index, key, keysize, binary, binarysize); in EGL_ProgramCacheQueryANGLE()
388 EGLint keysize, in EGL_ProgramCachePopulateANGLE() argument
396 (uintptr_t)dpy, (uintptr_t)key, keysize, (uintptr_t)binary, binarysize); in EGL_ProgramCachePopulateANGLE()
403 dpyPacked, key, keysize, binary, binarysize); in EGL_ProgramCachePopulateANGLE()
405 ProgramCachePopulateANGLE(thread, dpyPacked, key, keysize, binary, binarysize); in EGL_ProgramCachePopulateANGLE()
Dentry_points_egl_ext_autogen.h87 EGLint *keysize,
92 EGLint keysize,
Degl_ext_stubs.cpp697 EGLint *keysize, in ProgramCacheQueryANGLE() argument
703 ANGLE_EGL_TRY(thread, display->programCacheQuery(index, key, keysize, binary, binarysize), in ProgramCacheQueryANGLE()
712 EGLint keysize, in ProgramCachePopulateANGLE() argument
718 ANGLE_EGL_TRY(thread, display->programCachePopulate(key, keysize, binary, binarysize), in ProgramCachePopulateANGLE()
/third_party/skia/third_party/externals/angle2/src/libEGL/
DlibEGL_autogen.cpp531 EGLint *keysize, in eglProgramCacheQueryANGLE() argument
536 return EGL_ProgramCacheQueryANGLE(dpy, index, key, keysize, binary, binarysize); in eglProgramCacheQueryANGLE()
541 EGLint keysize, in eglProgramCachePopulateANGLE() argument
546 return EGL_ProgramCachePopulateANGLE(dpy, key, keysize, binary, binarysize); in eglProgramCachePopulateANGLE()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DDisplay.h267 EGLint *keysize,
271 EGLint keysize,

12