Home
last modified time | relevance | path

Searched defs:operation (Results 1 – 21 of 21) sorted by relevance

/mbedtls-3.4.0/tests/src/drivers/
Dtest_driver_mac.c86 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_sign_setup()
126 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_verify_setup()
166 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_update()
200 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_sign_finish()
236 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_verify_finish()
270 mbedtls_transparent_test_driver_mac_operation_t *operation ) in mbedtls_test_transparent_mac_abort()
333 mbedtls_opaque_test_driver_mac_operation_t *operation, in mbedtls_test_opaque_mac_sign_setup()
360 mbedtls_opaque_test_driver_mac_operation_t *operation, in mbedtls_test_opaque_mac_verify_setup()
387 mbedtls_opaque_test_driver_mac_operation_t *operation, in mbedtls_test_opaque_mac_update()
410 mbedtls_opaque_test_driver_mac_operation_t *operation, in mbedtls_test_opaque_mac_sign_finish()
[all …]
Dtest_driver_cipher.c137 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_encrypt_setup()
168 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_decrypt_setup()
193 mbedtls_transparent_test_driver_cipher_operation_t *operation) in mbedtls_test_transparent_cipher_abort()
214 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_set_iv()
235 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_update()
275 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_finish()
355 mbedtls_opaque_test_driver_cipher_operation_t *operation, in mbedtls_test_opaque_cipher_encrypt_setup()
369 mbedtls_opaque_test_driver_cipher_operation_t *operation, in mbedtls_test_opaque_cipher_decrypt_setup()
383 mbedtls_opaque_test_driver_cipher_operation_t *operation ) in mbedtls_test_opaque_cipher_abort()
390 mbedtls_opaque_test_driver_cipher_operation_t *operation, in mbedtls_test_opaque_cipher_set_iv()
[all …]
Dtest_driver_aead.c154 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_encrypt_setup()
193 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_decrypt_setup()
231 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_set_nonce()
263 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_set_lengths()
297 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_update_ad()
329 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_update()
370 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_finish()
414 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_verify()
476 mbedtls_transparent_test_driver_aead_operation_t *operation ) in mbedtls_test_transparent_aead_abort()
Dhash.c74 mbedtls_transparent_test_driver_hash_operation_t *operation, in mbedtls_test_transparent_hash_setup()
135 mbedtls_transparent_test_driver_hash_operation_t *operation, in mbedtls_test_transparent_hash_update()
168 mbedtls_transparent_test_driver_hash_operation_t *operation, in mbedtls_test_transparent_hash_finish()
203 mbedtls_transparent_test_driver_hash_operation_t *operation ) in mbedtls_test_transparent_hash_abort()
/mbedtls-3.4.0/library/
Dpsa_crypto_pake.c197 psa_status_t psa_pake_setup( psa_pake_operation_t *operation, in psa_pake_setup()
255 psa_status_t psa_pake_set_password_key( psa_pake_operation_t *operation, in psa_pake_set_password_key()
321 psa_status_t psa_pake_set_user( psa_pake_operation_t *operation, in psa_pake_set_user()
347 psa_status_t psa_pake_set_peer( psa_pake_operation_t *operation, in psa_pake_set_peer()
373 psa_status_t psa_pake_set_role( psa_pake_operation_t *operation, in psa_pake_set_role()
416 static psa_status_t psa_pake_ecjpake_setup( psa_pake_operation_t *operation ) in psa_pake_ecjpake_setup()
453 psa_pake_operation_t *operation, in psa_pake_output_internal()
640 psa_status_t psa_pake_output( psa_pake_operation_t *operation, in psa_pake_output()
656 psa_pake_operation_t *operation, in psa_pake_input_internal()
838 psa_status_t psa_pake_input( psa_pake_operation_t *operation, in psa_pake_input()
[all …]
Dpsa_crypto_mac.c156 static psa_status_t cmac_setup( mbedtls_psa_mac_operation_t *operation, in cmac_setup()
199 mbedtls_psa_mac_operation_t *operation, in mac_init()
233 psa_status_t mbedtls_psa_mac_abort( mbedtls_psa_mac_operation_t *operation ) in mbedtls_psa_mac_abort()
276 static psa_status_t psa_mac_setup( mbedtls_psa_mac_operation_t *operation, in psa_mac_setup()
326 mbedtls_psa_mac_operation_t *operation, in mbedtls_psa_mac_sign_setup()
337 mbedtls_psa_mac_operation_t *operation, in mbedtls_psa_mac_verify_setup()
348 mbedtls_psa_mac_operation_t *operation, in mbedtls_psa_mac_update()
382 mbedtls_psa_mac_operation_t *operation, in psa_mac_finish_internal()
416 mbedtls_psa_mac_operation_t *operation, in mbedtls_psa_mac_sign_finish()
434 mbedtls_psa_mac_operation_t *operation, in mbedtls_psa_mac_verify_finish()
[all …]
Dpsa_crypto_hash.c34 mbedtls_psa_hash_operation_t *operation ) in mbedtls_psa_hash_abort()
86 mbedtls_psa_hash_operation_t *operation, in mbedtls_psa_hash_setup()
214 mbedtls_psa_hash_operation_t *operation, in mbedtls_psa_hash_update()
274 mbedtls_psa_hash_operation_t *operation, in mbedtls_psa_hash_finish()
355 mbedtls_psa_hash_operation_t operation = MBEDTLS_PSA_HASH_OPERATION_INIT; in mbedtls_psa_hash_compute() local
Dpsa_crypto_aead.c39 mbedtls_psa_aead_operation_t *operation, in psa_aead_setup()
137 mbedtls_psa_aead_operation_t operation = MBEDTLS_PSA_AEAD_OPERATION_INIT; in mbedtls_psa_aead_encrypt() local
253 mbedtls_psa_aead_operation_t operation = MBEDTLS_PSA_AEAD_OPERATION_INIT; in mbedtls_psa_aead_decrypt() local
339 mbedtls_psa_aead_operation_t *operation, in mbedtls_psa_aead_encrypt_setup()
359 mbedtls_psa_aead_operation_t *operation, in mbedtls_psa_aead_decrypt_setup()
378 mbedtls_psa_aead_operation_t *operation, in mbedtls_psa_aead_set_nonce()
443 mbedtls_psa_aead_operation_t *operation, in mbedtls_psa_aead_set_lengths()
468 mbedtls_psa_aead_operation_t *operation, in mbedtls_psa_aead_update_ad()
514 mbedtls_psa_aead_operation_t *operation, in mbedtls_psa_aead_update()
582 mbedtls_psa_aead_operation_t *operation, in mbedtls_psa_aead_finish()
[all …]
Dpsa_crypto_cipher.c164 mbedtls_psa_cipher_operation_t *operation, in psa_cipher_setup()
241 mbedtls_psa_cipher_operation_t *operation, in mbedtls_psa_cipher_encrypt_setup()
252 mbedtls_psa_cipher_operation_t *operation, in mbedtls_psa_cipher_decrypt_setup()
263 mbedtls_psa_cipher_operation_t *operation, in mbedtls_psa_cipher_set_iv()
381 mbedtls_psa_cipher_operation_t *operation, in mbedtls_psa_cipher_update()
433 mbedtls_psa_cipher_operation_t *operation, in mbedtls_psa_cipher_finish()
471 mbedtls_psa_cipher_operation_t *operation ) in mbedtls_psa_cipher_abort()
497 mbedtls_psa_cipher_operation_t operation = MBEDTLS_PSA_CIPHER_OPERATION_INIT; in mbedtls_psa_cipher_encrypt() local
549 mbedtls_psa_cipher_operation_t operation = MBEDTLS_PSA_CIPHER_OPERATION_INIT; in mbedtls_psa_cipher_decrypt() local
Dpsa_crypto_driver_wrappers.c1279 psa_cipher_operation_t *operation, in psa_driver_wrapper_cipher_encrypt_setup()
1365 psa_cipher_operation_t *operation, in psa_driver_wrapper_cipher_decrypt_setup()
1450 psa_cipher_operation_t *operation, in psa_driver_wrapper_cipher_set_iv()
1491 psa_cipher_operation_t *operation, in psa_driver_wrapper_cipher_update()
1544 psa_cipher_operation_t *operation, in psa_driver_wrapper_cipher_finish()
1588 psa_cipher_operation_t *operation ) in psa_driver_wrapper_cipher_abort()
1679 psa_hash_operation_t *operation, in psa_driver_wrapper_hash_setup()
1754 psa_hash_operation_t *operation, in psa_driver_wrapper_hash_update()
1787 psa_hash_operation_t *operation, in psa_driver_wrapper_hash_finish()
1822 psa_hash_operation_t *operation ) in psa_driver_wrapper_hash_abort()
[all …]
Dpsa_crypto.c2106 psa_status_t psa_hash_abort( psa_hash_operation_t *operation ) in psa_hash_abort()
2118 psa_status_t psa_hash_setup( psa_hash_operation_t *operation, in psa_hash_setup()
2149 psa_status_t psa_hash_update( psa_hash_operation_t *operation, in psa_hash_update()
2175 psa_status_t psa_hash_finish( psa_hash_operation_t *operation, in psa_hash_finish()
2190 psa_status_t psa_hash_verify( psa_hash_operation_t *operation, in psa_hash_verify()
2285 psa_status_t psa_mac_abort( psa_mac_operation_t *operation ) in psa_mac_abort()
2353 static psa_status_t psa_mac_setup( psa_mac_operation_t *operation, in psa_mac_setup()
2414 psa_status_t psa_mac_sign_setup( psa_mac_operation_t *operation, in psa_mac_sign_setup()
2421 psa_status_t psa_mac_verify_setup( psa_mac_operation_t *operation, in psa_mac_verify_setup()
2428 psa_status_t psa_mac_update( psa_mac_operation_t *operation, in psa_mac_update()
[all …]
Dcipher_wrap.c113 static int aes_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_ecb_wrap()
120 static int aes_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in aes_crypt_cbc_wrap()
129 static int aes_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_cfb128_wrap()
158 static int aes_crypt_xts_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_xts_wrap()
675 static int camellia_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_ecb_wrap()
683 static int camellia_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_cbc_wrap()
693 static int camellia_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_cfb128_wrap()
1083 static int aria_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in aria_crypt_ecb_wrap()
1092 static int aria_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in aria_crypt_cbc_wrap()
1102 static int aria_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in aria_crypt_cfb128_wrap()
[all …]
Dssl_cookie.c193 psa_mac_operation_t operation = PSA_MAC_OPERATION_INIT; in mbedtls_ssl_cookie_write() local
282 psa_mac_operation_t operation = PSA_MAC_OPERATION_INIT; in mbedtls_ssl_cookie_check() local
Dpem.c148 psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT; in pem_pbkdf1() local
Dssl_tls13_keys.c151 psa_key_derivation_operation_t operation = in mbedtls_ssl_tls13_hkdf_expand_label() local
349 psa_key_derivation_operation_t operation = in mbedtls_ssl_tls13_evolve_secret() local
Dssl_msg.c836 psa_mac_operation_t operation = PSA_MAC_OPERATION_INIT; in mbedtls_ssl_encrypt_buf() local
1179 psa_mac_operation_t operation = PSA_MAC_OPERATION_INIT; in mbedtls_ssl_encrypt_buf() local
1525 psa_mac_operation_t operation = PSA_MAC_OPERATION_INIT; in mbedtls_ssl_decrypt_buf() local
Dconstant_time.c480 psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT; in mbedtls_ct_hmac() local
Dcipher.c246 const mbedtls_operation_t operation ) in mbedtls_cipher_setkey()
/mbedtls-3.4.0/tests/src/
Dpsa_exercise_key.c121 psa_mac_operation_t operation = PSA_MAC_OPERATION_INIT; in exercise_mac_key() local
166 psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT; in exercise_cipher_key() local
430 psa_key_derivation_operation_t* operation, in mbedtls_test_psa_setup_key_derivation_wrap()
483 psa_key_derivation_operation_t operation = PSA_KEY_DERIVATION_OPERATION_INIT; in exercise_key_derivation_key() local
514 psa_key_derivation_operation_t *operation, in mbedtls_test_psa_key_agreement_with_self()
625 psa_key_derivation_operation_t operation = PSA_KEY_DERIVATION_OPERATION_INIT; in exercise_key_agreement_key() local
/mbedtls-3.4.0/programs/psa/
Dcrypto_examples.c61 static psa_status_t cipher_operation( psa_cipher_operation_t *operation, in cipher_operation()
109 psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT; in cipher_encrypt() local
140 psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT; in cipher_decrypt() local
Dkey_ladder_demo.c281 psa_key_derivation_operation_t operation = PSA_KEY_DERIVATION_OPERATION_INIT; in derive_key_ladder() local
332 psa_key_derivation_operation_t operation = PSA_KEY_DERIVATION_OPERATION_INIT; in derive_wrapping_key() local