Home
last modified time | relevance | path

Searched refs:key_bytes (Results 1 – 8 of 8) sorted by relevance

/third_party/glib/glib/glib-mirroring-tab/
Dgen-mirroring-tab.c176 int key_bytes; in gen_mirroring_tab() local
188 key_bytes = max_dist <= 0x7f ? 1 : max_dist < 0x7fff ? 2 : 4; in gen_mirroring_tab()
189 key_type = key_bytes == 1 ? "gint8" : key_bytes == 2 ? in gen_mirroring_tab()
193 (table, UNICODE_CHARS, key_bytes, 0, max_depth, 1, NULL, in gen_mirroring_tab()
Dpacktab.c149 long key_bytes; in bt() local
203 key_bytes = k * cluster; in bt()
204 key_bytes = key_bytes < 0xff ? 1 : key_bytes < 0xffff ? 2 : 4; in bt()
206 bt (key_bytes); in bt()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genec.c82 el[LWS_GENCRYPTO_EC_KEYEL_D].len != curve->key_bytes) || in lws_genec_keypair_import()
83 el[LWS_GENCRYPTO_EC_KEYEL_X].len != curve->key_bytes || in lws_genec_keypair_import()
84 el[LWS_GENCRYPTO_EC_KEYEL_Y].len != curve->key_bytes) in lws_genec_keypair_import()
294 el[n].len = curve->key_bytes; in lws_genecdh_new_keypair()
295 el[n].buf = lws_malloc(curve->key_bytes, "ec"); in lws_genecdh_new_keypair()
300 curve->key_bytes)) in lws_genecdh_new_keypair()
368 el[n].len = curve->key_bytes; in lws_genecdsa_new_keypair()
369 el[n].buf = lws_malloc(curve->key_bytes, "ec"); in lws_genecdsa_new_keypair()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genec.c237 el[LWS_GENCRYPTO_EC_KEYEL_D].len != curve->key_bytes) || in lws_genec_keypair_import()
238 el[LWS_GENCRYPTO_EC_KEYEL_X].len != curve->key_bytes || in lws_genec_keypair_import()
239 el[LWS_GENCRYPTO_EC_KEYEL_Y].len != curve->key_bytes) in lws_genec_keypair_import()
426 el[n].len = curve->key_bytes; in lws_genec_new_keypair()
427 el[n].buf = lws_malloc(curve->key_bytes, "ec"); in lws_genec_new_keypair()
/third_party/libwebsockets/include/libwebsockets/
Dlws-genec.h63 uint16_t key_bytes; member
/third_party/flatbuffers/tests/
Dpy_flexbuffers_test.py115 def key_bytes(value): function
810 *key_bytes(vector[0]),
811 *key_bytes(vector[1]),
812 *key_bytes(vector[2]),
1007 *key_bytes('foo'), # 4 bytes
1008 *key_bytes('bar'), # 4 bytes
1065 *key_bytes('test'), # 5 bytes: 'test' and \0
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto.function143 const unsigned char *key_bytes,
155 PSA_ASSERT( psa_import_key( &attributes, key_bytes, key_length, &key ) );
176 const unsigned char *key_bytes,
188 PSA_ASSERT( psa_import_key( &attributes, key_bytes, key_length, &key ) );
/third_party/mbedtls/docs/proposed/
Dpsa-driver-interface.md645 base_size + symmetric_factor * key_bytes
647 where `key_bytes = ((key_bits + 7) / 8)` is the key size in bytes.