Home
last modified time | relevance | path

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

12

/openthread-latest/third_party/mbedtls/repo/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()
Dhmac_demo.c108 psa_set_key_bits(&attributes, 8 * sizeof(key_bytes)); // optional in hmac_demo()
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()
Daead_demo.c153 psa_set_key_bits(&attributes, key_bits); // optional in aead_prepare()
/openthread-latest/third_party/mbedtls/repo/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.function247 psa_set_key_bits(&attributes, bits);
291 psa_set_key_bits(&attributes, bits);
Dtest_suite_pk.function202 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);
Dtest_suite_psa_crypto_se_driver_hal.function950 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);
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_se_driver_hal_mocks.function469 psa_set_key_bits(&attributes, 8);
Dtest_suite_psa_crypto.function1618 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/
Dblock_cipher.c132 psa_set_key_bits(&key_attr, key_bitlen); in mbedtls_block_cipher_setkey()
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()
Dpk_ecc.c232 psa_set_key_bits(&key_attrs, pk->ec_bits); in mbedtls_pk_ecc_set_pubkey()
Dssl_cookie.c124 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
Dpk.c453 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()
Dssl_tls12_server.c2651 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()
Dssl_tls13_generic.c1682 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
Dssl_tls12_client.c2782 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/
Dtest_driver_key_management.c724 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/
Dcrypto_struct.h405 static inline void psa_set_key_bits(psa_key_attributes_t *attributes, in psa_set_key_bits() function
Dcrypto.h323 static void psa_set_key_bits(psa_key_attributes_t *attributes,

12