Lines Matching refs:key
21 unsigned char key[32];
26 memset( key, 0x2A, sizeof( key ) );
27 TEST_ASSERT( (unsigned) key_size <= 8 * sizeof( key ) );
29 ret = mbedtls_ccm_setkey( &ctx, cipher_id, key, key_size );
41 unsigned char key[16];
51 memset( key, 0, sizeof( key ) );
59 key, 8 * sizeof( key ) ) == 0 );
83 unsigned char key[32];
93 memset( key, 0x00, sizeof( key ) );
99 key_len = unhexify( key, key_hex );
106 TEST_ASSERT( mbedtls_ccm_setkey( &ctx, cipher_id, key, key_len * 8 ) == 0 );
128 unsigned char key[32];
140 memset( key, 0x00, sizeof( key ) );
147 key_len = unhexify( key, key_hex );
165 TEST_ASSERT( mbedtls_ccm_setkey( &ctx, cipher_id, key, key_len * 8 ) == 0 );