Searched refs:psa_set_key_bits (Results 1 - 16 of 16) sorted by relevance
/third_party/mbedtls/programs/psa/ |
H A D | crypto_examples.c | 183 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 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()
|
H A D | hmac_demo.c | 120 psa_set_key_bits(&attributes, 8 * sizeof(key_bytes)); // optional in hmac_demo()
|
H A D | aead_demo.c | 165 psa_set_key_bits(&attributes, key_bits); // optional in aead_prepare()
|
/third_party/mbedtls/library/ |
H A D | block_cipher.c | 132 psa_set_key_bits(&key_attr, key_bitlen); in mbedtls_block_cipher_setkey()
|
H A 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()
|
H A D | pk_ecc.c | 232 psa_set_key_bits(&key_attrs, pk->ec_bits); in mbedtls_pk_ecc_set_pubkey()
|
H A D | ssl_cookie.c | 124 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | psa_crypto.c | 5446 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 D | crypto_struct.h | 405 static inline void psa_set_key_bits(psa_key_attributes_t *attributes, in psa_set_key_bits() function
|
H A D | crypto.h | 323 static void psa_set_key_bits(psa_key_attributes_t *attributes,
|
/third_party/mbedtls/tests/src/drivers/ |
H A 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()
|
Completed in 36 milliseconds