Searched refs:psa_generate_random (Results 1 – 11 of 11) sorted by relevance
/mbedtls-development/tests/include/spe/ |
A D | crypto_spe.h | 47 #define psa_generate_random \ macro 48 PSA_FUNCTION_NAME(psa_generate_random)
|
/mbedtls-development/tests/suites/ |
A D | test_suite_psa_crypto_init.function | 174 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 D | test_suite_psa_crypto_entropy.function | 52 PSA_ASSERT( psa_generate_random( output, sizeof( output ) ) ); 58 psa_generate_random( output, sizeof( output ) ) ); 153 PSA_ASSERT( psa_generate_random( output,
|
A D | test_suite_random.function | 134 PSA_ASSERT( psa_generate_random( output1, sizeof( output1 ) ) ); 139 PSA_ASSERT( psa_generate_random( output2, sizeof( output2 ) ) );
|
A D | test_suite_psa_crypto.function | 8 /* 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 D | crypto_examples.c | 177 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 D | key_ladder_demo.c | 411 PSA_CHECK( psa_generate_random( header.iv, WRAPPING_IV_SIZE ) ); in wrap_data()
|
/mbedtls-development/tests/src/drivers/ |
A D | test_driver_cipher.c | 67 psa_generate_random( output, PSA_CIPHER_IV_LENGTH( attributes->core.type, alg ) ); in mbedtls_test_transparent_cipher_encrypt()
|
/mbedtls-development/include/psa/ |
A D | crypto.h | 4046 psa_status_t psa_generate_random(uint8_t *output,
|
/mbedtls-development/library/ |
A D | psa_crypto.c | 3369 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 D | getting_started.md | 509 …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