Home
last modified time | relevance | path

Searched refs:psa_generate_random (Results 1 – 11 of 11) sorted by relevance

/mbedtls-development/tests/include/spe/
A Dcrypto_spe.h47 #define psa_generate_random \ macro
48 PSA_FUNCTION_NAME(psa_generate_random)
/mbedtls-development/tests/suites/
A Dtest_suite_psa_crypto_init.function174 status = psa_generate_random( random, sizeof( random ) );
215 PSA_ASSERT( psa_generate_random( random, sizeof( random ) ) );
255 PSA_ASSERT( psa_generate_random( random, sizeof( random ) ) );
282 PSA_ASSERT( psa_generate_random( random, sizeof( random ) ) );
A Dtest_suite_psa_crypto_entropy.function52 PSA_ASSERT( psa_generate_random( output, sizeof( output ) ) );
58 psa_generate_random( output, sizeof( output ) ) );
153 PSA_ASSERT( psa_generate_random( output,
A Dtest_suite_random.function134 PSA_ASSERT( psa_generate_random( output1, sizeof( output1 ) ) );
139 PSA_ASSERT( psa_generate_random( output2, sizeof( output2 ) ) );
A Dtest_suite_psa_crypto.function8 /* For MBEDTLS_CTR_DRBG_MAX_REQUEST, knowing that psa_generate_random()
6667 PSA_ASSERT( psa_generate_random( output, bytes ) );
6677 * validates that psa_generate_random is overwriting every byte of
/mbedtls-development/programs/psa/
A Dcrypto_examples.c177 status = psa_generate_random( input, sizeof( input ) ); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
225 status = psa_generate_random( input, sizeof( input ) ); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
272 status = psa_generate_random( input, sizeof( input ) ); in cipher_example_encrypt_decrypt_aes_ctr_multi()
A Dkey_ladder_demo.c411 PSA_CHECK( psa_generate_random( header.iv, WRAPPING_IV_SIZE ) ); in wrap_data()
/mbedtls-development/tests/src/drivers/
A Dtest_driver_cipher.c67 psa_generate_random( output, PSA_CIPHER_IV_LENGTH( attributes->core.type, alg ) ); in mbedtls_test_transparent_cipher_encrypt()
/mbedtls-development/include/psa/
A Dcrypto.h4046 psa_status_t psa_generate_random(uint8_t *output,
/mbedtls-development/library/
A Dpsa_crypto.c3369 status = psa_generate_random( iv, operation->default_iv_length ); in psa_cipher_generate_iv()
3555 status = psa_generate_random( output, iv_length ); in psa_cipher_encrypt()
3893 status = psa_generate_random( nonce, required_nonce_size ); in psa_aead_generate_nonce()
5435 psa_generate_random( output, output_size ); in psa_raw_key_agreement()
5508 psa_status_t psa_generate_random( uint8_t *output, in psa_generate_random() function
5570 psa_status_t status = psa_generate_random( output, output_size ); in mbedtls_psa_get_random()
5663 status = psa_generate_random( key_buffer, key_buffer_size ); in psa_generate_key_internal()
/mbedtls-development/docs/
A Dgetting_started.md509 …te:** To generate a random key, use `psa_generate_key()` instead of `psa_generate_random()`.</span>
511 This example shows how to generate ten bytes of random data by calling `psa_generate_random()`:
526 status = psa_generate_random(random, sizeof(random));

Completed in 173 milliseconds