Lines Matching refs:keysize
394 int keysize; in main() local
399 for (keysize = 128; keysize <= 256; keysize += 64) { in main()
401 "AES-CBC-%d", keysize); in main()
405 mbedtls_aes_setkey_enc(&aes, tmp, keysize); in main()
418 int keysize; in main() local
423 for (keysize = 128; keysize <= 256; keysize += 128) { in main()
425 "AES-XTS-%d", keysize); in main()
430 mbedtls_aes_xts_setkey_enc(&ctx, tmp, keysize * 2); in main()
443 int keysize; in main() local
448 for (keysize = 128; keysize <= 256; keysize += 64) { in main()
450 keysize); in main()
455 keysize); in main()
469 int keysize; in main() local
474 for (keysize = 128; keysize <= 256; keysize += 64) { in main()
476 keysize); in main()
481 keysize); in main()
517 int keysize; in main() local
519 for (keysize = 128, cipher_type = MBEDTLS_CIPHER_AES_128_ECB; in main()
520 keysize <= 256; keysize += 64, cipher_type++) { in main()
522 keysize); in main()
532 tmp, keysize, in main()
549 int keysize; in main() local
554 for (keysize = 128; keysize <= 256; keysize += 64) { in main()
556 "ARIA-CBC-%d", keysize); in main()
561 mbedtls_aria_setkey_enc(&aria, tmp, keysize); in main()
575 int keysize; in main() local
580 for (keysize = 128; keysize <= 256; keysize += 64) { in main()
582 "CAMELLIA-CBC-%d", keysize); in main()
587 mbedtls_camellia_setkey_enc(&camellia, tmp, keysize); in main()
724 int keysize; in main() local
727 for (keysize = 2048; keysize <= 4096; keysize *= 2) { in main()
729 keysize); in main()
732 mbedtls_rsa_gen_key(&rsa, myrand, NULL, keysize, in main()