Lines Matching refs:key_usage
152 unsigned char key_usage; /* key usage flags */ member
244 opt.key_usage = DFL_KEY_USAGE; in main()
315 opt.key_usage |= MBEDTLS_X509_KU_DIGITAL_SIGNATURE; in main()
317 opt.key_usage |= MBEDTLS_X509_KU_NON_REPUDIATION; in main()
319 opt.key_usage |= MBEDTLS_X509_KU_KEY_ENCIPHERMENT; in main()
321 opt.key_usage |= MBEDTLS_X509_KU_DATA_ENCIPHERMENT; in main()
323 opt.key_usage |= MBEDTLS_X509_KU_KEY_AGREEMENT; in main()
325 opt.key_usage |= MBEDTLS_X509_KU_KEY_CERT_SIGN; in main()
327 opt.key_usage |= MBEDTLS_X509_KU_CRL_SIGN; in main()
603 if( opt.key_usage ) in main()
608 ret = mbedtls_x509write_crt_set_key_usage( &crt, opt.key_usage ); in main()