/mbedtls-3.4.0/tests/src/ |
D | psa_exercise_key.c | 118 psa_key_usage_t usage, in exercise_mac_key() argument 132 if( usage & PSA_KEY_USAGE_SIGN_HASH ) in exercise_mac_key() 142 if( usage & PSA_KEY_USAGE_VERIFY_HASH ) in exercise_mac_key() 145 ( usage & PSA_KEY_USAGE_SIGN_HASH ? in exercise_mac_key() 163 psa_key_usage_t usage, in exercise_cipher_key() argument 181 if( usage & PSA_KEY_USAGE_ENCRYPT ) in exercise_cipher_key() 201 if( usage & PSA_KEY_USAGE_DECRYPT ) in exercise_cipher_key() 205 if( ! ( usage & PSA_KEY_USAGE_ENCRYPT ) ) in exercise_cipher_key() 242 psa_key_usage_t usage, in exercise_aead_key() argument 264 if( usage & PSA_KEY_USAGE_ENCRYPT ) in exercise_aead_key() [all …]
|
/mbedtls-3.4.0/programs/psa/ |
D | psa_constant_names_generated.c | 380 psa_key_usage_t usage) in psa_snprint_key_usage() argument 383 if (usage == 0) { in psa_snprint_key_usage() 392 if (usage & PSA_KEY_USAGE_COPY) { in psa_snprint_key_usage() 397 usage ^= PSA_KEY_USAGE_COPY; in psa_snprint_key_usage() 399 if (usage & PSA_KEY_USAGE_DECRYPT) { in psa_snprint_key_usage() 404 usage ^= PSA_KEY_USAGE_DECRYPT; in psa_snprint_key_usage() 406 if (usage & PSA_KEY_USAGE_DERIVE) { in psa_snprint_key_usage() 411 usage ^= PSA_KEY_USAGE_DERIVE; in psa_snprint_key_usage() 413 if (usage & PSA_KEY_USAGE_ENCRYPT) { in psa_snprint_key_usage() 418 usage ^= PSA_KEY_USAGE_ENCRYPT; in psa_snprint_key_usage() [all …]
|
D | key_ladder_demo.c | 224 static psa_status_t import_key_from_file( psa_key_usage_t usage, in import_key_from_file() argument 251 psa_set_key_usage_flags( &attributes, usage ); in import_key_from_file() 326 static psa_status_t derive_wrapping_key( psa_key_usage_t usage, in derive_wrapping_key() argument 350 psa_set_key_usage_flags( &attributes, usage ); in derive_wrapping_key() 603 static void usage( void ) in usage() function 640 usage( ); in main() 713 usage( ); in main()
|
/mbedtls-3.4.0/programs/ssl/ |
D | ssl_test_lib.c | 234 psa_key_usage_t *usage, in key_opaque_set_alg_usage() argument 247 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 252 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 257 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 262 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 267 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 272 *usage |= PSA_KEY_USAGE_DECRYPT; in key_opaque_set_alg_usage() 277 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 282 *usage |= PSA_KEY_USAGE_DERIVE; in key_opaque_set_alg_usage() 296 *usage = PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_DERIVE; in key_opaque_set_alg_usage() [all …]
|
D | ssl_client2.c | 869 usage: in main() 977 goto usage; in main() 994 goto usage; in main() 1000 goto usage; in main() 1016 goto usage; in main() 1022 goto usage; in main() 1028 goto usage; in main() 1036 goto usage; in main() 1045 goto usage; in main() 1066 goto usage; in main() [all …]
|
D | ssl_server2.c | 1619 usage: in main() 1740 goto usage; in main() 1755 goto usage; in main() 1761 goto usage; in main() 1777 goto usage; in main() 1783 goto usage; in main() 1791 goto usage; in main() 1797 goto usage; in main() 1837 goto usage; in main() 1847 goto usage; in main() [all …]
|
D | ssl_mail_client.c | 390 usage: in main() 421 goto usage; in main() 432 goto usage; in main() 438 goto usage; in main() 444 goto usage; in main() 467 goto usage; in main() 472 goto usage; in main()
|
/mbedtls-3.4.0/programs/x509/ |
D | cert_req.c | 164 usage: in main() 185 goto usage; in main() 198 goto usage; in main() 211 goto usage; in main() 237 goto usage; in main() 248 default: goto usage; in main() 273 goto usage; in main() 284 default: goto usage; in main() 288 goto usage; in main()
|
D | cert_write.c | 278 usage: in main() 313 goto usage; in main() 357 goto usage; in main() 367 goto usage; in main() 377 goto usage; in main() 387 goto usage; in main() 397 goto usage; in main() 407 goto usage; in main() 416 goto usage; in main() 425 goto usage; in main() [all …]
|
D | cert_app.c | 168 usage: in main() 187 goto usage; in main() 203 goto usage; in main() 221 goto usage; in main() 227 goto usage; in main() 230 goto usage; in main() 463 goto usage; in main()
|
D | crl_app.c | 76 usage: in main() 87 goto usage; in main() 93 goto usage; in main()
|
D | req_app.c | 76 usage: in main() 87 goto usage; in main() 93 goto usage; in main()
|
/mbedtls-3.4.0/scripts/mbedtls_dev/ |
D | psa_storage.py | 115 usage: Exprable, alg: Exprable, alg2: Exprable, 123 self.usage = as_expr(usage) #type: Expr 164 self.usage, self.alg, self.alg2) 190 usage=0x00000300, alg=0x05500200, alg2=0x04c01000, 201 usage=0, alg=0, alg2=0, 209 usage=0, alg=0, alg2=0,
|
/mbedtls-3.4.0/tests/suites/ |
D | test_suite_hmac_drbg.misc.data | 1 HMAC_DRBG entropy usage SHA-1 5 HMAC_DRBG entropy usage SHA-224 9 HMAC_DRBG entropy usage SHA-256 13 HMAC_DRBG entropy usage SHA-384 17 HMAC_DRBG entropy usage SHA-512
|
D | test_suite_mps.data | 82 MPS Reader: Random usage, 20 rds, feed 100, get 200, acc 50 85 MPS Reader: Random usage, 1000 rds, feed 10, get 100, acc 80 88 MPS Reader: Random usage, 10000 rds, feed 1, get 100, acc 80 91 MPS Reader: Random usage, 100 rds, feed 100, get 1000, acc 500
|
D | test_suite_psa_crypto_storage_format.function | 156 psa_key_usage_t usage = psa_get_key_usage_flags( attributes ); 171 ! ( usage & ( PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_SIGN_MESSAGE ) ) ) 212 (void) usage; 316 psa_key_usage_t usage = usage_arg; 330 psa_set_key_usage_flags( &attributes, usage ); 360 psa_key_usage_t usage = usage_arg; 374 psa_set_key_usage_flags( &attributes, usage );
|
/mbedtls-3.4.0/programs/pkey/ |
D | gen_key.c | 208 usage: in main() 231 goto usage; in main() 241 goto usage; in main() 250 goto usage; in main() 257 goto usage; in main() 263 goto usage; in main() 273 goto usage; in main() 276 goto usage; in main()
|
D | dh_genprime.c | 76 usage: in main() 85 goto usage; in main() 92 goto usage; in main() 95 goto usage; in main()
|
D | key_app.c | 109 usage: in main() 123 goto usage; in main() 133 goto usage; in main() 142 goto usage; in main() 150 goto usage; in main() 296 goto usage; in main()
|
D | key_app_writer.c | 226 usage: in main() 241 goto usage; in main() 251 goto usage; in main() 260 goto usage; in main() 272 goto usage; in main() 279 goto usage; in main() 414 goto usage; in main()
|
/mbedtls-3.4.0/tests/scripts/ |
D | generate_psa_tests.py | 455 usage: Iterable[str], 464 usage_flags = set(usage) 473 super().__init__(usage=usage_expression, **kwargs) 494 self.expected_usage = self.usage #type: psa_storage.Expr 608 usage=['PSA_KEY_USAGE_EXPORT'], alg=0, alg2=0, 641 usage=usage_flags, alg=0, alg2=0, 692 usage=usage_flags, alg=alg1, alg2=alg2, 732 usage = ['PSA_KEY_USAGE_EXPORT'] 736 usage=usage, alg=alg, alg2=0, 743 usage=usage, alg=0, alg2=alg, [all …]
|
/mbedtls-3.4.0/library/ |
D | pk.c | 231 psa_key_usage_t usage ) in mbedtls_pk_can_do_ext() argument 250 if( usage == 0 || in mbedtls_pk_can_do_ext() 251 ( usage & ~( PSA_KEY_USAGE_SIGN_HASH | in mbedtls_pk_can_do_ext() 294 return( ( key_usage & usage ) == usage ); in mbedtls_pk_can_do_ext() 311 if( ( key_usage & usage ) != usage ) in mbedtls_pk_can_do_ext() 814 psa_key_usage_t usage, in mbedtls_pk_wrap_as_opaque() argument 821 ((void) usage); in mbedtls_pk_wrap_as_opaque() 849 psa_set_key_usage_flags( &attributes, usage ); in mbedtls_pk_wrap_as_opaque() 883 psa_set_key_usage_flags( &attributes, usage ); in mbedtls_pk_wrap_as_opaque()
|
/mbedtls-3.4.0/programs/test/ |
D | zeroize.c | 38 void usage( void ) in usage() function 59 usage(); in main()
|
/mbedtls-3.4.0/programs/util/ |
D | pem2der.c | 187 usage: in main() 200 goto usage; in main() 208 goto usage; in main()
|
/mbedtls-3.4.0/programs/cipher/ |
D | cipher_aead_demo.c | 69 const char usage[] = variable 146 puts( usage ); in aead_prepare() 258 puts( usage ); in main()
|