Home
last modified time | relevance | path

Searched refs:psa_set_key_bits (Results 1 – 25 of 28) sorted by relevance

12

/mbedtls-latest/programs/psa/
Dcrypto_examples.c171 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()
Dkey_ladder_demo.c195 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()
Dhmac_demo.c108 psa_set_key_bits(&attributes, 8 * sizeof(key_bytes)); // optional in hmac_demo()
Daead_demo.c153 psa_set_key_bits(&attributes, key_bits); // optional in aead_prepare()
/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_not_supported.function43 psa_set_key_bits(&attributes, bits);
Dtest_suite_psa_crypto_generate_key.function28 psa_set_key_bits(&attributes, bits);
Dtest_suite_psa_crypto_storage_format.function247 psa_set_key_bits(&attributes, bits);
291 psa_set_key_bits(&attributes, bits);
Dtest_suite_psa_crypto_attributes.function38 psa_set_key_bits(&attributes, bits);
Dtest_suite_psa_crypto_se_driver_hal.function965 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);
Dtest_suite_psa_crypto_entropy.function76 psa_set_key_bits(&attributes, 128);
Dtest_suite_psa_crypto_persistent_key.function57 psa_set_key_bits(&attributes, key_bits);
Dtest_suite_psa_crypto.function1598 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 …]
Dtest_suite_pk.function234 * 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);
Dtest_suite_psa_crypto_se_driver_hal_mocks.function469 psa_set_key_bits(&attributes, 8);
/mbedtls-latest/library/
Dssl_ticket.c96 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()
Dblock_cipher.c136 psa_set_key_bits(&key_attr, key_bitlen); in mbedtls_block_cipher_setkey()
Dpk.c449 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()
Dpk_ecc.c232 psa_set_key_bits(&key_attrs, pk->ec_bits); in mbedtls_pk_ecc_set_pubkey()
Dssl_cookie.c128 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
Dssl_tls12_server.c2648 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()
Dssl_tls13_generic.c1583 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
Dssl_tls12_client.c2784 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/
Dtest_driver_key_management.c725 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/
Dcrypto_struct.h431 static inline void psa_set_key_bits(psa_key_attributes_t *attributes, in psa_set_key_bits() function
Dcrypto.h326 static void psa_set_key_bits(psa_key_attributes_t *attributes,

12