/mbedtls-latest/programs/psa/ |
D | crypto_examples.c | 171 psa_set_key_bits(&attributes, key_bits); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() 219 psa_set_key_bits(&attributes, key_bits); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() 266 psa_set_key_bits(&attributes, key_bits); in cipher_example_encrypt_decrypt_aes_ctr_multi()
|
D | key_ladder_demo.c | 195 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(KEY_SIZE_BYTES)); in generate() 274 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(KEY_SIZE_BYTES)); in derive_key_ladder() 337 psa_set_key_bits(&attributes, WRAPPING_KEY_BITS); in derive_wrapping_key()
|
D | hmac_demo.c | 108 psa_set_key_bits(&attributes, 8 * sizeof(key_bytes)); // optional in hmac_demo()
|
D | aead_demo.c | 153 psa_set_key_bits(&attributes, key_bits); // optional in aead_prepare()
|
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_not_supported.function | 43 psa_set_key_bits(&attributes, bits);
|
D | test_suite_psa_crypto_generate_key.function | 28 psa_set_key_bits(&attributes, bits);
|
D | test_suite_psa_crypto_storage_format.function | 247 psa_set_key_bits(&attributes, bits); 291 psa_set_key_bits(&attributes, bits);
|
D | test_suite_psa_crypto_attributes.function | 38 psa_set_key_bits(&attributes, bits);
|
D | test_suite_psa_crypto_se_driver_hal.function | 965 psa_set_key_bits(&attributes, 1205 psa_set_key_bits(&attributes, bits); 1254 psa_set_key_bits(&attributes, bits); 1366 psa_set_key_bits(&drv_attributes, bits); 1505 psa_set_key_bits(&attributes, bit_size);
|
D | test_suite_psa_crypto_entropy.function | 76 psa_set_key_bits(&attributes, 128);
|
D | test_suite_psa_crypto_persistent_key.function | 57 psa_set_key_bits(&attributes, key_bits);
|
D | test_suite_psa_crypto.function | 1598 psa_set_key_bits(&attributes, attr_bits); 1955 psa_set_key_bits(&attributes, bits_arg); 2069 psa_set_key_bits(&attributes, bits); 2893 psa_set_key_bits(&target_attributes, target_bits_arg); 8884 psa_set_key_bits(&attributes, 8); 9201 psa_set_key_bits(&attributes4, PSA_BYTES_TO_BITS(requested_capacity)); 9401 psa_set_key_bits(&attributes, derived_bits); 9484 psa_set_key_bits(&derived_attributes, PSA_BYTES_TO_BITS(bytes1)); 9492 psa_set_key_bits(&derived_attributes, PSA_BYTES_TO_BITS(bytes2)); 9555 psa_set_key_bits(&derived_attributes, bits); [all …]
|
D | test_suite_pk.function | 234 * from the provided key data. That's why psa_set_key_bits() is not used below. */ 339 psa_set_key_bits(&attributes, bits); 603 * from the provided key data. That's why psa_set_key_bits() is not used 2417 psa_set_key_bits(&attributes, bits); 2453 psa_set_key_bits(&to_attributes, to_bits);
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 469 psa_set_key_bits(&attributes, 8);
|
/mbedtls-latest/library/ |
D | ssl_ticket.c | 96 psa_set_key_bits(&attributes, key->key_bits); in ssl_ticket_gen_key() 185 psa_set_key_bits(&attributes, key->key_bits); in mbedtls_ssl_ticket_rotate()
|
D | block_cipher.c | 136 psa_set_key_bits(&key_attr, key_bitlen); in mbedtls_block_cipher_setkey()
|
D | pk.c | 449 psa_set_key_bits(attributes, mbedtls_pk_get_bitlen(pk)); in mbedtls_pk_get_psa_attributes() 507 psa_set_key_bits(attributes, bits); in mbedtls_pk_get_psa_attributes() 564 psa_set_key_bits(attributes, psa_get_key_bits(&old_attributes)); in mbedtls_pk_get_psa_attributes()
|
D | pk_ecc.c | 232 psa_set_key_bits(&key_attrs, pk->ec_bits); in mbedtls_pk_ecc_set_pubkey()
|
D | ssl_cookie.c | 128 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
|
D | ssl_tls12_server.c | 2648 psa_set_key_bits(&key_attributes, ssl->handshake->xxdh_psa_bits); in ssl_get_ecdh_params_from_cert() 2706 psa_set_key_bits(&key_attributes, ssl->handshake->xxdh_psa_bits); in ssl_get_ecdh_params_from_cert() 3023 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_prepare_server_key_exchange()
|
D | ssl_tls13_generic.c | 1583 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
|
D | ssl_tls12_client.c | 2784 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_write_client_key_exchange() 2956 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_write_client_key_exchange()
|
/mbedtls-latest/tests/src/drivers/ |
D | test_driver_key_management.c | 725 psa_set_key_bits(attributes, 128); in mbedtls_test_opaque_get_builtin_key() 745 psa_set_key_bits(attributes, 256); in mbedtls_test_opaque_get_builtin_key()
|
/mbedtls-latest/include/psa/ |
D | crypto_struct.h | 431 static inline void psa_set_key_bits(psa_key_attributes_t *attributes, in psa_set_key_bits() function
|
D | crypto.h | 326 static void psa_set_key_bits(psa_key_attributes_t *attributes,
|