/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_key_management.c | 136 size_t key_length, in mbedtls_test_opaque_wrap_key() argument 144 if( key_length + opaque_key_base_size > wrapped_key_buffer_size ) in mbedtls_test_opaque_wrap_key() 150 *wrapped_key_buffer_length = key_length + opaque_key_base_size; in mbedtls_test_opaque_wrap_key() 152 while( key_length-- ) in mbedtls_test_opaque_wrap_key() 153 wrapped_key_buffer[key_length] = key[key_length] ^ 0xFF; in mbedtls_test_opaque_wrap_key() 194 uint8_t *key, size_t key_size, size_t *key_length ) in mbedtls_test_transparent_generate_key() argument 208 *key_length = mbedtls_test_driver_key_management_hooks.forced_output_length; in mbedtls_test_transparent_generate_key() 219 key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key() 222 attributes, key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key() 231 key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key() [all …]
|
D | test_driver_cipher.c | 139 const uint8_t *key, size_t key_length, in mbedtls_test_transparent_cipher_encrypt_setup() argument 158 key, key_length, alg ) ); in mbedtls_test_transparent_cipher_encrypt_setup() 161 operation, attributes, key, key_length, alg ) ); in mbedtls_test_transparent_cipher_encrypt_setup() 170 const uint8_t *key, size_t key_length, in mbedtls_test_transparent_cipher_decrypt_setup() argument 183 key, key_length, alg ) ); in mbedtls_test_transparent_cipher_decrypt_setup() 186 operation, attributes, key, key_length, alg ) ); in mbedtls_test_transparent_cipher_decrypt_setup() 315 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_cipher_encrypt() argument 323 (void) key_length; in mbedtls_test_opaque_cipher_encrypt() 337 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_cipher_decrypt() argument 344 (void) key_length; in mbedtls_test_opaque_cipher_decrypt() [all …]
|
D | test_driver_signature.c | 263 size_t key_length, in mbedtls_test_opaque_signature_sign_message() argument 273 (void) key_length; in mbedtls_test_opaque_signature_sign_message() 328 size_t key_length, in mbedtls_test_opaque_signature_verify_message() argument 337 (void) key_length; in mbedtls_test_opaque_signature_verify_message() 376 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_signature_sign_hash() argument 383 (void) key_length; in mbedtls_test_opaque_signature_sign_hash() 413 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_signature_verify_hash() argument 420 (void) key_length; in mbedtls_test_opaque_signature_verify_hash()
|
/third_party/mbedtls/tests/include/test/drivers/ |
D | signature.h | 56 size_t key_length, 67 size_t key_length, 78 size_t key_length, 88 size_t key_length, 97 const uint8_t *key, size_t key_length, 104 const uint8_t *key, size_t key_length, 111 const uint8_t *key, size_t key_length, 118 const uint8_t *key, size_t key_length,
|
D | cipher.h | 54 const uint8_t *key, size_t key_length, 62 const uint8_t *key, size_t key_length, 70 const uint8_t *key, size_t key_length, 76 const uint8_t *key, size_t key_length, 100 const uint8_t *key, size_t key_length, 108 const uint8_t *key, size_t key_length, 116 const uint8_t *key, size_t key_length, 122 const uint8_t *key, size_t key_length,
|
D | key_management.h | 76 uint8_t *key, size_t key_size, size_t *key_length ); 80 uint8_t *key, size_t key_size, size_t *key_length ); 84 const uint8_t *key, size_t key_length, 89 const uint8_t *key, size_t key_length, 94 const uint8_t *key, size_t key_length,
|
/third_party/python/Modules/clinic/ |
D | _dbmmodule.c.h | 63 Py_ssize_clean_t key_length, PyObject *default_value); 72 Py_ssize_clean_t key_length; in _dbm_dbm_get() local 76 &key, &key_length, &default_value)) { in _dbm_dbm_get() 79 return_value = _dbm_dbm_get_impl(self, cls, key, key_length, default_value); in _dbm_dbm_get() 98 Py_ssize_clean_t key_length, 108 Py_ssize_clean_t key_length; in _dbm_dbm_setdefault() local 112 &key, &key_length, &default_value)) { in _dbm_dbm_setdefault() 115 return_value = _dbm_dbm_setdefault_impl(self, cls, key, key_length, default_value); in _dbm_dbm_setdefault()
|
D | _gdbmmodule.c.h | 173 Py_ssize_clean_t key_length); 182 Py_ssize_clean_t key_length; in _gdbm_gdbm_nextkey() local 185 &key, &key_length)) { in _gdbm_gdbm_nextkey() 188 return_value = _gdbm_gdbm_nextkey_impl(self, cls, key, key_length); in _gdbm_gdbm_nextkey()
|
/third_party/mbedtls/library/ |
D | psa_crypto_mac.c | 44 size_t key_length, in psa_hmac_setup_internal() argument 68 if( key_length > block_size ) in psa_hmac_setup_internal() 70 status = psa_hash_compute( hash_alg, key, key_length, in psa_hmac_setup_internal() 71 ipad, sizeof( ipad ), &key_length ); in psa_hmac_setup_internal() 79 else if( key_length != 0 ) in psa_hmac_setup_internal() 80 memcpy( ipad, key, key_length ); in psa_hmac_setup_internal() 84 for( i = 0; i < key_length; i++ ) in psa_hmac_setup_internal() 86 memset( ipad + key_length, 0x36, block_size - key_length ); in psa_hmac_setup_internal() 90 for( i = 0; i < key_length; i++ ) in psa_hmac_setup_internal() 92 memset( hmac->opad + key_length, 0x5C, block_size - key_length ); in psa_hmac_setup_internal()
|
D | pkcs5.c | 222 uint32_t key_length, unsigned char *output ) in mbedtls_pkcs5_pbkdf2_hmac() argument 244 while( key_length ) in mbedtls_pkcs5_pbkdf2_hmac() 281 use_len = ( key_length < md_size ) ? key_length : md_size; in mbedtls_pkcs5_pbkdf2_hmac() 284 key_length -= (uint32_t) use_len; in mbedtls_pkcs5_pbkdf2_hmac()
|
D | cmac.c | 409 int mbedtls_aes_cmac_prf_128( const unsigned char *key, size_t key_length, in mbedtls_aes_cmac_prf_128() argument 429 if( key_length == MBEDTLS_AES_BLOCK_SIZE ) in mbedtls_aes_cmac_prf_128() 439 key_length, int_key ); in mbedtls_aes_cmac_prf_128()
|
/third_party/iowow/src/utils/ |
D | mt19937ar.c | 114 void init_by_array(unsigned long init_key[], int key_length) { in init_by_array() argument 120 k = (N > key_length ? N : key_length); in init_by_array() 131 if (j >= key_length) { in init_by_array()
|
D | mt19937ar.h | 58 void init_by_array(unsigned long init_key[], int key_length);
|
/third_party/node/test/js-native-api/test_object/ |
D | test_object.c | 38 size_t key_length; in GetNamed() local 57 napi_get_value_string_utf8(env, args[1], key, 255, &key_length)); in GetNamed() 59 NAPI_ASSERT(env, key_length <= 255, in GetNamed() 144 size_t key_length; in SetNamed() local 162 napi_get_value_string_utf8(env, args[1], key, 255, &key_length)); in SetNamed() 164 NAPI_ASSERT(env, key_length <= 255, in SetNamed() 207 size_t key_length; in HasNamed() local 225 napi_get_value_string_utf8(env, args[1], key, 255, &key_length)); in HasNamed() 227 NAPI_ASSERT(env, key_length <= 255, in HasNamed()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | cipher_ctx.rs | 151 let key_len = type_.map_or_else(|| self.key_length(), |c| c.key_length()); in cipher_init() 300 pub fn key_length(&self) -> usize { in key_length() method 319 assert!(buf.len() >= self.key_length()); in rand_key() 745 let mut key = vec![0; cipher.key_length()]; in test_stream_cipher() 824 let mut key = vec![0; cipher.key_length()]; in output_buffer_too_small()
|
/third_party/openssl/providers/implementations/include/prov/ |
D | blake2.h | 32 uint8_t key_length; /* 2 */ member 56 uint8_t key_length; /* 2 */ member
|
/third_party/python/Modules/ |
D | _randommodule.c | 204 init_by_array(RandomObject *self, uint32_t init_key[], size_t key_length) in init_by_array() argument 212 k = (N>key_length ? N : key_length); in init_by_array() 218 if (j>=key_length) j=0; in init_by_array()
|
D | _dbmmodule.c | 310 Py_ssize_clean_t key_length, PyObject *default_value) in _dbm_dbm_get_impl() argument 317 dbm_key.dsize = key_length; in _dbm_dbm_get_impl() 342 Py_ssize_clean_t key_length, in _dbm_dbm_setdefault_impl() argument 351 dbm_key.dsize = key_length; in _dbm_dbm_setdefault_impl()
|
/third_party/openssl/providers/implementations/digests/ |
D | blake2b_prov.c | 86 P->key_length = 0; in ossl_blake2b_param_init() 105 P->key_length = keylen; in ossl_blake2b_param_set_key_length() 145 memcpy(block, key, P->key_length); in ossl_blake2b_init_key()
|
D | blake2s_prov.c | 81 P->key_length = 0; in ossl_blake2s_param_init() 99 P->key_length = keylen; in ossl_blake2s_param_set_key_length() 138 memcpy(block, key, P->key_length); in ossl_blake2s_init_key()
|
/third_party/pulseaudio/src/pulse/ |
D | proplist.c | 104 static int proplist_setn(pa_proplist *p, const char *key, size_t key_length, const char *value, siz… in proplist_setn() argument 113 k = pa_xstrndup(key, key_length); in proplist_setn() 155 static int proplist_sethex(pa_proplist *p, const char *key, size_t key_length, const char *value, s… in proplist_sethex() argument 166 k = pa_xstrndup(key, key_length); in proplist_sethex()
|
/third_party/python/Modules/_blake2/impl/ |
D | blake2.h | 74 uint8_t key_length; // 2 member 100 uint8_t key_length; // 2 member
|
/third_party/mbedtls/include/mbedtls/ |
D | pkcs5.h | 90 uint32_t key_length, unsigned char *output );
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | eapol_common.h | 67 u8 key_length[2]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | eapol_common.h | 67 u8 key_length[2]; member
|