/openthread-latest/third_party/mbedtls/repo/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 | hmac_demo.c | 108 psa_set_key_bits(&attributes, 8 * sizeof(key_bytes)); // optional in hmac_demo()
|
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 | aead_demo.c | 153 psa_set_key_bits(&attributes, key_bits); // optional in aead_prepare()
|
/openthread-latest/third_party/mbedtls/repo/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_attributes.function | 38 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_pk.function | 202 psa_set_key_bits(&key_attr, curve_bits); 554 * from the provided key data. That's why psa_set_key_bits() is not used 601 * from the provided key data. That's why psa_set_key_bits() is not used below. */ 622 psa_set_key_bits(&attributes, bits); 786 psa_set_key_bits(&attributes, curve_or_keybits); 2286 psa_set_key_bits(&attributes, MBEDTLS_TEST_PSA_ECC_ONE_CURVE_BITS); 2372 psa_set_key_bits(&attributes, bits); 2437 psa_set_key_bits(&attributes, bits); 2469 psa_set_key_bits(&from_attributes, from_bits); 2476 psa_set_key_bits(&to_attributes, to_bits);
|
D | test_suite_psa_crypto_se_driver_hal.function | 950 psa_set_key_bits(&attributes, 1190 psa_set_key_bits(&attributes, bits); 1239 psa_set_key_bits(&attributes, bits); 1351 psa_set_key_bits(&drv_attributes, bits); 1490 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_se_driver_hal_mocks.function | 469 psa_set_key_bits(&attributes, 8);
|
D | test_suite_psa_crypto.function | 1618 psa_set_key_bits(&attributes, attr_bits); 1975 psa_set_key_bits(&attributes, bits_arg); 2089 psa_set_key_bits(&attributes, bits); 2913 psa_set_key_bits(&target_attributes, target_bits_arg); 8904 psa_set_key_bits(&attributes, 8); 9221 psa_set_key_bits(&attributes4, PSA_BYTES_TO_BITS(requested_capacity)); 9421 psa_set_key_bits(&attributes, derived_bits); 9504 psa_set_key_bits(&derived_attributes, PSA_BYTES_TO_BITS(bytes1)); 9512 psa_set_key_bits(&derived_attributes, PSA_BYTES_TO_BITS(bytes2)); 9575 psa_set_key_bits(&derived_attributes, bits); [all …]
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | block_cipher.c | 132 psa_set_key_bits(&key_attr, key_bitlen); in mbedtls_block_cipher_setkey()
|
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 | pk_ecc.c | 232 psa_set_key_bits(&key_attrs, pk->ec_bits); in mbedtls_pk_ecc_set_pubkey()
|
D | ssl_cookie.c | 124 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
|
D | pk.c | 453 psa_set_key_bits(attributes, mbedtls_pk_get_bitlen(pk)); in mbedtls_pk_get_psa_attributes() 511 psa_set_key_bits(attributes, bits); in mbedtls_pk_get_psa_attributes() 568 psa_set_key_bits(attributes, psa_get_key_bits(&old_attributes)); in mbedtls_pk_get_psa_attributes()
|
D | ssl_tls12_server.c | 2651 psa_set_key_bits(&key_attributes, ssl->handshake->xxdh_psa_bits); in ssl_get_ecdh_params_from_cert() 2699 psa_set_key_bits(&key_attributes, ssl->handshake->xxdh_psa_bits); in ssl_get_ecdh_params_from_cert() 3016 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_prepare_server_key_exchange()
|
D | ssl_tls13_generic.c | 1682 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 | 2782 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_write_client_key_exchange() 2954 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_write_client_key_exchange()
|
/openthread-latest/third_party/mbedtls/repo/tests/src/drivers/ |
D | test_driver_key_management.c | 724 psa_set_key_bits(attributes, 128); in mbedtls_test_opaque_get_builtin_key() 744 psa_set_key_bits(attributes, 256); in mbedtls_test_opaque_get_builtin_key()
|
/openthread-latest/third_party/mbedtls/repo/include/psa/ |
D | crypto_struct.h | 405 static inline void psa_set_key_bits(psa_key_attributes_t *attributes, in psa_set_key_bits() function
|
D | crypto.h | 323 static void psa_set_key_bits(psa_key_attributes_t *attributes,
|