Lines Matching refs:keysize
491 int keysize; in benchmark() local
494 for( keysize = 128; keysize <= 256; keysize += 64 ) in benchmark()
496 mbedtls_snprintf( title, sizeof( title ), "AES-CBC-%d", keysize ); in benchmark()
500 mbedtls_aes_setkey_enc( &aes, tmp, keysize ); in benchmark()
511 int keysize; in benchmark() local
515 for( keysize = 128; keysize <= 256; keysize += 64 ) in benchmark()
517 mbedtls_snprintf( title, sizeof( title ), "AES-GCM-%d", keysize ); in benchmark()
521 mbedtls_gcm_setkey( &gcm, MBEDTLS_CIPHER_ID_AES, tmp, keysize ); in benchmark()
534 int keysize; in benchmark() local
538 for( keysize = 128; keysize <= 256; keysize += 64 ) in benchmark()
540 mbedtls_snprintf( title, sizeof( title ), "AES-CCM-%d", keysize ); in benchmark()
544 mbedtls_ccm_setkey( &ccm, MBEDTLS_CIPHER_ID_AES, tmp, keysize ); in benchmark()
559 int keysize; in benchmark() local
562 for( keysize = 128; keysize <= 256; keysize += 64 ) in benchmark()
564 mbedtls_snprintf( title, sizeof( title ), "CAMELLIA-CBC-%d", keysize ); in benchmark()
568 mbedtls_camellia_setkey_enc( &camellia, tmp, keysize ); in benchmark()
581 int keysize; in benchmark() local
585 for( keysize = 128; keysize <= 256; keysize += 64 ) in benchmark()
587 mbedtls_snprintf( title, sizeof( title ), "BLOWFISH-CBC-%d", keysize ); in benchmark()
591 mbedtls_blowfish_setkey( &blowfish, tmp, keysize ); in benchmark()