Home
last modified time | relevance | path

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

12

/mbedtls-3.4.0/programs/psa/
Dcrypto_examples.c184 psa_set_key_bits( &attributes, key_bits ); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
232 psa_set_key_bits( &attributes, key_bits ); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
279 psa_set_key_bits( &attributes, key_bits ); in cipher_example_encrypt_decrypt_aes_ctr_multi()
Dkey_ladder_demo.c208 psa_set_key_bits( &attributes, PSA_BYTES_TO_BITS( KEY_SIZE_BYTES ) ); in generate()
288 psa_set_key_bits( &attributes, PSA_BYTES_TO_BITS( KEY_SIZE_BYTES ) ); in derive_key_ladder()
353 psa_set_key_bits( &attributes, WRAPPING_KEY_BITS ); in derive_wrapping_key()
Dhmac_demo.c119 psa_set_key_bits( &attributes, 8 * sizeof( key_bytes ) ); // optional in hmac_demo()
Daead_demo.c164 psa_set_key_bits( &attributes, key_bits ); // optional in aead_prepare()
/mbedtls-3.4.0/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_attributes.function38 psa_set_key_bits( &attributes, bits );
Dtest_suite_psa_crypto_storage_format.function329 psa_set_key_bits( &attributes, bits );
373 psa_set_key_bits( &attributes, bits );
Dtest_suite_psa_crypto_entropy.function46 psa_set_key_bits( &attributes, 128 );
Dtest_suite_psa_crypto_se_driver_hal.function958 psa_set_key_bits( &attributes,
1187 psa_set_key_bits( &attributes, bits );
1236 psa_set_key_bits( &attributes, bits );
1344 psa_set_key_bits( &drv_attributes, bits );
1487 psa_set_key_bits( &attributes, bit_size );
Dtest_suite_psa_crypto_persistent_key.function59 psa_set_key_bits( &attributes, key_bits );
Dtest_suite_pk.function109 psa_set_key_bits( &attributes, bits );
130 psa_set_key_bits( &attributes, bits );
273 psa_set_key_bits( &attributes, parameter );
Dtest_suite_psa_crypto_se_driver_hal_mocks.function478 psa_set_key_bits( &attributes, 8 );
Dtest_suite_psa_crypto.function1426 psa_set_key_bits( &attributes, attr_bits );
1792 psa_set_key_bits( &attributes, bits );
2598 psa_set_key_bits( &target_attributes, target_bits_arg );
7472 psa_set_key_bits( &attributes, 8 );
7753 psa_set_key_bits( &attributes4, PSA_BYTES_TO_BITS( requested_capacity ) );
7953 psa_set_key_bits( &attributes, derived_bits );
8033 psa_set_key_bits( &derived_attributes, PSA_BYTES_TO_BITS( bytes1 ) );
8041 psa_set_key_bits( &derived_attributes, PSA_BYTES_TO_BITS( bytes2 ) );
8103 psa_set_key_bits( &derived_attributes, bits );
8156 psa_set_key_bits( &derived_attributes, bits );
[all …]
Dtest_suite_psa_crypto_driver_wrappers.function372 psa_set_key_bits( &attributes, 256 );
451 psa_set_key_bits( &attributes, 0 );
495 psa_set_key_bits( &attributes, 256 );
/mbedtls-3.4.0/library/
Dssl_ticket.c90 psa_set_key_bits( &attributes, key->key_bits ); in ssl_ticket_gen_key()
182 psa_set_key_bits( &attributes, key->key_bits ); in mbedtls_ssl_ticket_rotate()
Dssl_cookie.c128 psa_set_key_bits( &attributes, PSA_BYTES_TO_BITS( COOKIE_MD_OUTLEN ) ); in mbedtls_ssl_cookie_setup()
Dpk.c848 psa_set_key_bits( &attributes, bits ); in mbedtls_pk_wrap_as_opaque()
882 psa_set_key_bits( &attributes, mbedtls_pk_get_bitlen( pk ) ); in mbedtls_pk_wrap_as_opaque()
Dssl_tls13_generic.c1536 psa_set_key_bits( &key_attributes, handshake->ecdh_bits ); in mbedtls_ssl_tls13_generate_and_write_ecdh_key_exchange()
Dssl_tls12_client.c2915 psa_set_key_bits( &key_attributes, handshake->ecdh_bits ); in ssl_write_client_key_exchange()
3088 psa_set_key_bits( &key_attributes, handshake->ecdh_bits ); in ssl_write_client_key_exchange()
Dssl_tls12_server.c2716 psa_set_key_bits( &key_attributes, ssl->handshake->ecdh_bits ); in ssl_get_ecdh_params_from_cert()
3038 psa_set_key_bits( &key_attributes, handshake->ecdh_bits ); in ssl_prepare_server_key_exchange()
/mbedtls-3.4.0/docs/
Dgetting_started.md95 psa_set_key_bits(&attributes, 128);
154 psa_set_key_bits(&attributes, 1024);
234 psa_set_key_bits(&attributes, 128);
318 psa_set_key_bits(&attributes, 128);
655 psa_set_key_bits(&attributes, 128);
728 psa_set_key_bits(&attributes, 128);
799 psa_set_key_bits(&attributes, 128);
869 psa_set_key_bits(&attributes, key_bits);
/mbedtls-3.4.0/tests/src/drivers/
Dtest_driver_key_management.c688 psa_set_key_bits( attributes, 128 ); in mbedtls_test_opaque_get_builtin_key()
707 psa_set_key_bits( attributes, 256 ); in mbedtls_test_opaque_get_builtin_key()
/mbedtls-3.4.0/include/psa/
Dcrypto_struct.h494 static inline void psa_set_key_bits( psa_key_attributes_t *attributes, in psa_set_key_bits() function
Dcrypto.h333 static void psa_set_key_bits(psa_key_attributes_t *attributes,

12