/openthread-2.7.6/third_party/mbedtls/repo/tests/src/drivers/ |
D | cipher.c | 48 const uint8_t *key, size_t key_length, in test_transparent_cipher_oneshot() argument 85 key_length * 8, in test_transparent_cipher_oneshot() 115 key_length * 8, direction ); in test_transparent_cipher_oneshot() 175 const uint8_t *key, size_t key_length, in test_transparent_cipher_encrypt() argument 184 key, key_length, in test_transparent_cipher_encrypt() 192 const uint8_t *key, size_t key_length, in test_transparent_cipher_decrypt() argument 201 key, key_length, in test_transparent_cipher_decrypt() 211 const uint8_t *key, size_t key_length, in test_transparent_cipher_setup() argument 241 key_length * 8, in test_transparent_cipher_setup() 255 key_length * 8, direction ); in test_transparent_cipher_setup() [all …]
|
D | signature.c | 47 const uint8_t *key, size_t key_length, in test_transparent_signature_sign_hash() argument 110 key, key_length ) ); in test_transparent_signature_sign_hash() 138 (void) key_length; in test_transparent_signature_sign_hash() 150 const uint8_t *key, size_t key_length, in test_opaque_signature_sign_hash() argument 157 (void) key_length; in test_opaque_signature_sign_hash() 169 const uint8_t *key, size_t key_length, in test_transparent_signature_verify_hash() argument 240 key, key_length ) ); in test_transparent_signature_verify_hash() 243 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ecp.d, key, key_length ) ); in test_transparent_signature_verify_hash() 261 (void) key_length; in test_transparent_signature_verify_hash() 275 const uint8_t *key, size_t key_length, in test_opaque_signature_verify_hash() argument [all …]
|
D | key_management.c | 44 uint8_t *key, size_t key_size, size_t *key_length ) in test_transparent_generate_key() argument 62 *key_length = test_driver_key_management_hooks.forced_output_length; in test_transparent_generate_key() 113 *key_length = bytes; in test_transparent_generate_key() 131 uint8_t *key, size_t key_size, size_t *key_length ) in test_opaque_generate_key() argument 136 (void) key_length; in test_opaque_generate_key() 254 const uint8_t *key, size_t key_length, in test_transparent_export_public_key() argument 272 if( key == NULL || key_length == 0 ) in test_transparent_export_public_key() 311 key_length ) ); in test_transparent_export_public_key() 343 const uint8_t *key, size_t key_length, in test_opaque_export_public_key() argument 348 (void) key_length; in test_opaque_export_public_key()
|
/openthread-2.7.6/third_party/mbedtls/repo/tests/include/test/drivers/ |
D | cipher.h | 70 const uint8_t *key, size_t key_length, 77 const uint8_t *key, size_t key_length, 85 const uint8_t *key, size_t key_length, 91 const uint8_t *key, size_t key_length, 127 const uint8_t *key, size_t key_length, 134 const uint8_t *key, size_t key_length, 142 const uint8_t *key, size_t key_length, 148 const uint8_t *key, size_t key_length,
|
D | key_management.h | 55 uint8_t *key, size_t key_size, size_t *key_length ); 59 uint8_t *key, size_t key_size, size_t *key_length ); 69 const uint8_t *key, size_t key_length, 74 const uint8_t *key, size_t key_length,
|
D | signature.h | 55 const uint8_t *key, size_t key_length, 62 const uint8_t *key, size_t key_length, 69 const uint8_t *key, size_t key_length, 76 const uint8_t *key, size_t key_length,
|
/openthread-2.7.6/third_party/mbedtls/repo/include/psa/ |
D | crypto_accel_driver.h | 196 size_t key_length); 313 size_t key_length, 344 size_t key_length, 560 size_t key_length, 612 size_t key_length,
|
/openthread-2.7.6/third_party/mbedtls/repo/library/ |
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 | 421 int mbedtls_aes_cmac_prf_128( const unsigned char *key, size_t key_length, in mbedtls_aes_cmac_prf_128() argument 441 if( key_length == MBEDTLS_AES_BLOCK_SIZE ) in mbedtls_aes_cmac_prf_128() 451 key_length, int_key ); in mbedtls_aes_cmac_prf_128()
|
D | psa_crypto.c | 3211 size_t key_length, in psa_hmac_setup_internal() argument 3233 if( key_length > block_size ) in psa_hmac_setup_internal() 3235 status = psa_hash_compute( hash_alg, key, key_length, in psa_hmac_setup_internal() 3236 ipad, sizeof( ipad ), &key_length ); in psa_hmac_setup_internal() 3244 else if( key_length != 0 ) in psa_hmac_setup_internal() 3245 memcpy( ipad, key, key_length ); in psa_hmac_setup_internal() 3249 for( i = 0; i < key_length; i++ ) in psa_hmac_setup_internal() 3251 memset( ipad + key_length, 0x36, block_size - key_length ); in psa_hmac_setup_internal() 3255 for( i = 0; i < key_length; i++ ) in psa_hmac_setup_internal() 3257 memset( hmac->opad + key_length, 0x5C, block_size - key_length ); in psa_hmac_setup_internal()
|
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/ |
D | pkcs5.h | 90 uint32_t key_length, unsigned char *output );
|
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto.function | 306 size_t key_length, 317 PSA_ASSERT( psa_import_key( &attributes, key_bytes, key_length, &key ) ); 339 size_t key_length, 350 PSA_ASSERT( psa_import_key( &attributes, key_bytes, key_length, &key ) );
|
/openthread-2.7.6/third_party/mbedtls/repo/ |
D | ChangeLog | 2357 mbedtls_cipher_info_t.key_length -> key_bitlen 2358 mbedtls_cipher_context_t.key_length -> key_bitlen
|