Home
last modified time | relevance | path

Searched refs:psa_set_key_bits (Results 1 - 16 of 16) sorted by relevance

/third_party/mbedtls/programs/psa/
H A Dcrypto_examples.c183 psa_set_key_bits(&attributes, key_bits); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
231 psa_set_key_bits(&attributes, key_bits); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
278 psa_set_key_bits(&attributes, key_bits); in cipher_example_encrypt_decrypt_aes_ctr_multi()
H A 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()
H A Dhmac_demo.c120 psa_set_key_bits(&attributes, 8 * sizeof(key_bytes)); // optional in hmac_demo()
H A Daead_demo.c165 psa_set_key_bits(&attributes, key_bits); // optional in aead_prepare()
/third_party/mbedtls/library/
H A Dblock_cipher.c132 psa_set_key_bits(&key_attr, key_bitlen); in mbedtls_block_cipher_setkey()
H A 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()
H A Dpk_ecc.c232 psa_set_key_bits(&key_attrs, pk->ec_bits); in mbedtls_pk_ecc_set_pubkey()
H A Dssl_cookie.c124 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
H A 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()
H A 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()
H A 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()
H A Dssl_tls13_generic.c1682 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
H A Dpsa_crypto.c5446 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(hmac_key_length)); in psa_key_derivation_start_hmac()
5947 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(pbkdf2->password_length)); in psa_key_derivation_pbkdf2_read()
7171 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(sizeof(zeros))); in psa_pbkdf2_cmac_set_password()
/third_party/mbedtls/include/psa/
H A Dcrypto_struct.h405 static inline void psa_set_key_bits(psa_key_attributes_t *attributes, in psa_set_key_bits() function
H A Dcrypto.h323 static void psa_set_key_bits(psa_key_attributes_t *attributes,
/third_party/mbedtls/tests/src/drivers/
H A 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()

Completed in 37 milliseconds