/third_party/mbedtls/library/ |
H A D | psa_crypto_pake.c | 128 static psa_status_t psa_pake_ecjpake_setup(mbedtls_psa_pake_operation_t *operation) in psa_pake_ecjpake_setup() argument 132 mbedtls_ecjpake_init(&operation->ctx.jpake); in psa_pake_ecjpake_setup() 134 ret = mbedtls_ecjpake_setup(&operation->ctx.jpake, in psa_pake_ecjpake_setup() 135 operation->role, in psa_pake_ecjpake_setup() 138 operation->password, in psa_pake_ecjpake_setup() 139 operation->password_len); in psa_pake_ecjpake_setup() 141 mbedtls_platform_zeroize(operation->password, operation->password_len); in psa_pake_ecjpake_setup() 155 psa_status_t mbedtls_psa_pake_setup(mbedtls_psa_pake_operation_t *operation, in mbedtls_psa_pake_setup() argument 184 operation in mbedtls_psa_pake_setup() 282 mbedtls_psa_pake_output_internal( mbedtls_psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_psa_pake_output_internal() argument 391 mbedtls_psa_pake_output(mbedtls_psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_psa_pake_output() argument 403 mbedtls_psa_pake_input_internal( mbedtls_psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, const uint8_t *input, size_t input_length) mbedtls_psa_pake_input_internal() argument 510 mbedtls_psa_pake_input(mbedtls_psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, const uint8_t *input, size_t input_length) mbedtls_psa_pake_input() argument 521 mbedtls_psa_pake_get_implicit_key( mbedtls_psa_pake_operation_t *operation, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_psa_pake_get_implicit_key() argument 548 mbedtls_psa_pake_abort(mbedtls_psa_pake_operation_t *operation) mbedtls_psa_pake_abort() argument [all...] |
H A D | psa_crypto_aead.c | 27 mbedtls_psa_aead_operation_t *operation, in psa_aead_setup() 48 operation->alg = PSA_ALG_CCM; in psa_aead_setup() 56 mbedtls_ccm_init(&operation->ctx.ccm); in psa_aead_setup() 58 mbedtls_ccm_setkey(&operation->ctx.ccm, cipher_id, in psa_aead_setup() 68 operation->alg = PSA_ALG_GCM; in psa_aead_setup() 76 mbedtls_gcm_init(&operation->ctx.gcm); in psa_aead_setup() 78 mbedtls_gcm_setkey(&operation->ctx.gcm, cipher_id, in psa_aead_setup() 88 operation->alg = PSA_ALG_CHACHA20_POLY1305; in psa_aead_setup() 94 mbedtls_chachapoly_init(&operation->ctx.chachapoly); in psa_aead_setup() 96 mbedtls_chachapoly_setkey(&operation in psa_aead_setup() 26 psa_aead_setup( mbedtls_psa_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) psa_aead_setup() argument 127 mbedtls_psa_aead_operation_t operation = MBEDTLS_PSA_AEAD_OPERATION_INIT; mbedtls_psa_aead_encrypt() local 239 mbedtls_psa_aead_operation_t operation = MBEDTLS_PSA_AEAD_OPERATION_INIT; mbedtls_psa_aead_decrypt() local 321 mbedtls_psa_aead_encrypt_setup( mbedtls_psa_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_psa_aead_encrypt_setup() argument 342 mbedtls_psa_aead_decrypt_setup( mbedtls_psa_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_psa_aead_decrypt_setup() argument 362 mbedtls_psa_aead_set_nonce( mbedtls_psa_aead_operation_t *operation, const uint8_t *nonce, size_t nonce_length) mbedtls_psa_aead_set_nonce() argument 420 mbedtls_psa_aead_set_lengths( mbedtls_psa_aead_operation_t *operation, size_t ad_length, size_t plaintext_length) mbedtls_psa_aead_set_lengths() argument 444 mbedtls_psa_aead_update_ad( mbedtls_psa_aead_operation_t *operation, const uint8_t *input, size_t input_length) mbedtls_psa_aead_update_ad() argument 484 mbedtls_psa_aead_update( mbedtls_psa_aead_operation_t *operation, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_psa_aead_update() argument 549 mbedtls_psa_aead_finish( mbedtls_psa_aead_operation_t *operation, uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length, uint8_t *tag, size_t tag_size, size_t *tag_length) mbedtls_psa_aead_finish() argument 623 mbedtls_psa_aead_abort( mbedtls_psa_aead_operation_t *operation) mbedtls_psa_aead_abort() argument [all...] |
H A D | psa_crypto_hash.c | 22 mbedtls_psa_hash_operation_t *operation) in mbedtls_psa_hash_abort() 24 switch (operation->alg) { in mbedtls_psa_hash_abort() 32 mbedtls_md5_free(&operation->ctx.md5); in mbedtls_psa_hash_abort() 37 mbedtls_ripemd160_free(&operation->ctx.ripemd160); in mbedtls_psa_hash_abort() 42 mbedtls_sha1_free(&operation->ctx.sha1); in mbedtls_psa_hash_abort() 47 mbedtls_sha256_free(&operation->ctx.sha256); in mbedtls_psa_hash_abort() 52 mbedtls_sha256_free(&operation->ctx.sha256); in mbedtls_psa_hash_abort() 57 mbedtls_sha512_free(&operation->ctx.sha512); in mbedtls_psa_hash_abort() 62 mbedtls_sha512_free(&operation->ctx.sha512); in mbedtls_psa_hash_abort() 81 mbedtls_sha3_free(&operation in mbedtls_psa_hash_abort() 21 mbedtls_psa_hash_abort( mbedtls_psa_hash_operation_t *operation) mbedtls_psa_hash_abort() argument 91 mbedtls_psa_hash_setup( mbedtls_psa_hash_operation_t *operation, psa_algorithm_t alg) mbedtls_psa_hash_setup() argument 261 mbedtls_psa_hash_update( mbedtls_psa_hash_operation_t *operation, const uint8_t *input, size_t input_length) mbedtls_psa_hash_update() argument 340 mbedtls_psa_hash_finish( mbedtls_psa_hash_operation_t *operation, uint8_t *hash, size_t hash_size, size_t *hash_length) mbedtls_psa_hash_finish() argument 441 mbedtls_psa_hash_operation_t operation = MBEDTLS_PSA_HASH_OPERATION_INIT; mbedtls_psa_hash_compute() local [all...] |
H A D | psa_crypto_mac.c | 157 static psa_status_t cmac_setup(mbedtls_psa_mac_operation_t *operation, in cmac_setup() argument 184 ret = mbedtls_cipher_setup(&operation->ctx.cmac, cipher_info); in cmac_setup() 189 ret = mbedtls_cipher_cmac_starts(&operation->ctx.cmac, in cmac_setup() 200 /* Initialize this driver's MAC operation structure. Once this function has been 203 mbedtls_psa_mac_operation_t *operation, in mac_init() 208 operation->alg = alg; in mac_init() 211 if (PSA_ALG_FULL_LENGTH_MAC(operation->alg) == PSA_ALG_CMAC) { in mac_init() 212 mbedtls_cipher_init(&operation->ctx.cmac); in mac_init() 217 if (PSA_ALG_IS_HMAC(operation->alg)) { in mac_init() 218 /* We'll set up the hash operation late in mac_init() 202 mac_init( mbedtls_psa_mac_operation_t *operation, psa_algorithm_t alg) mac_init() argument 234 mbedtls_psa_mac_abort(mbedtls_psa_mac_operation_t *operation) mbedtls_psa_mac_abort() argument 271 psa_mac_setup(mbedtls_psa_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) psa_mac_setup() argument 319 mbedtls_psa_mac_sign_setup( mbedtls_psa_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_psa_mac_sign_setup() argument 330 mbedtls_psa_mac_verify_setup( mbedtls_psa_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_psa_mac_verify_setup() argument 341 mbedtls_psa_mac_update( mbedtls_psa_mac_operation_t *operation, const uint8_t *input, size_t input_length) mbedtls_psa_mac_update() argument 372 psa_mac_finish_internal( mbedtls_psa_mac_operation_t *operation, uint8_t *mac, size_t mac_size) psa_mac_finish_internal() argument 403 mbedtls_psa_mac_sign_finish( mbedtls_psa_mac_operation_t *operation, uint8_t *mac, size_t mac_size, size_t *mac_length) mbedtls_psa_mac_sign_finish() argument 423 mbedtls_psa_mac_verify_finish( mbedtls_psa_mac_operation_t *operation, const uint8_t *mac, size_t mac_length) mbedtls_psa_mac_verify_finish() argument 467 mbedtls_psa_mac_operation_t operation = MBEDTLS_PSA_MAC_OPERATION_INIT; mbedtls_psa_mac_compute() local [all...] |
H A D | psa_crypto_driver_wrappers.c | 259 /* Fell through, meaning no accelerator supports this operation */ in psa_driver_wrapper_sign_hash() 343 uint32_t psa_driver_wrapper_sign_hash_get_num_ops(psa_sign_hash_interruptible_operation_t *operation) in psa_driver_wrapper_sign_hash_get_num_ops() argument 345 switch (operation->id) { in psa_driver_wrapper_sign_hash_get_num_ops() 351 return (mbedtls_psa_sign_hash_get_num_ops(&operation->ctx.mbedtls_ctx)); in psa_driver_wrapper_sign_hash_get_num_ops() 365 uint32_t psa_driver_wrapper_verify_hash_get_num_ops(psa_verify_hash_interruptible_operation_t *operation) in psa_driver_wrapper_verify_hash_get_num_ops() argument 367 switch (operation->id) { in psa_driver_wrapper_verify_hash_get_num_ops() 373 return (mbedtls_psa_verify_hash_get_num_ops(&operation->ctx.mbedtls_ctx)); in psa_driver_wrapper_verify_hash_get_num_ops() 387 psa_status_t psa_driver_wrapper_sign_hash_start(psa_sign_hash_interruptible_operation_t *operation, in psa_driver_wrapper_sign_hash_start() argument 410 /* Fell through, meaning no accelerator supports this operation */ in psa_driver_wrapper_sign_hash_start() 411 operation in psa_driver_wrapper_sign_hash_start() 427 psa_driver_wrapper_sign_hash_complete(psa_sign_hash_interruptible_operation_t *operation, uint8_t *signature, size_t signature_size, size_t *signature_length) psa_driver_wrapper_sign_hash_complete() argument 450 psa_driver_wrapper_sign_hash_abort(psa_sign_hash_interruptible_operation_t *operation) psa_driver_wrapper_sign_hash_abort() argument 467 psa_driver_wrapper_verify_hash_start(psa_verify_hash_interruptible_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, const uint8_t *signature, size_t signature_length) psa_driver_wrapper_verify_hash_start() argument 507 psa_driver_wrapper_verify_hash_complete(psa_verify_hash_interruptible_operation_t *operation) psa_driver_wrapper_verify_hash_complete() argument 524 psa_driver_wrapper_verify_hash_abort(psa_verify_hash_interruptible_operation_t *operation) psa_driver_wrapper_verify_hash_abort() argument 1057 psa_driver_wrapper_cipher_encrypt_setup(psa_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) psa_driver_wrapper_cipher_encrypt_setup() argument 1116 psa_driver_wrapper_cipher_decrypt_setup(psa_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) psa_driver_wrapper_cipher_decrypt_setup() argument 1175 psa_driver_wrapper_cipher_set_iv(psa_cipher_operation_t *operation, const uint8_t *iv, size_t iv_length) psa_driver_wrapper_cipher_set_iv() argument 1200 psa_driver_wrapper_cipher_update(psa_cipher_operation_t *operation, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length) psa_driver_wrapper_cipher_update() argument 1233 psa_driver_wrapper_cipher_finish(psa_cipher_operation_t *operation, uint8_t *output, size_t output_size, size_t *output_length) psa_driver_wrapper_cipher_finish() argument 1262 psa_driver_wrapper_cipher_abort(psa_cipher_operation_t *operation) psa_driver_wrapper_cipher_abort() argument 1325 psa_driver_wrapper_hash_setup(psa_hash_operation_t *operation, psa_algorithm_t alg) psa_driver_wrapper_hash_setup() argument 1376 psa_driver_wrapper_hash_update(psa_hash_operation_t *operation, const uint8_t *input, size_t input_length) psa_driver_wrapper_hash_update() argument 1394 psa_driver_wrapper_hash_finish(psa_hash_operation_t *operation, uint8_t *hash, size_t hash_size, size_t *hash_length) psa_driver_wrapper_hash_finish() argument 1415 psa_driver_wrapper_hash_abort(psa_hash_operation_t *operation) psa_driver_wrapper_hash_abort() argument 1511 psa_driver_wrapper_aead_encrypt_setup(psa_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) psa_driver_wrapper_aead_encrypt_setup() argument 1551 psa_driver_wrapper_aead_decrypt_setup(psa_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) psa_driver_wrapper_aead_decrypt_setup() argument 1591 psa_driver_wrapper_aead_set_nonce(psa_aead_operation_t *operation, const uint8_t *nonce, size_t nonce_length) psa_driver_wrapper_aead_set_nonce() argument 1619 psa_driver_wrapper_aead_set_lengths(psa_aead_operation_t *operation, size_t ad_length, size_t plaintext_length) psa_driver_wrapper_aead_set_lengths() argument 1647 psa_driver_wrapper_aead_update_ad(psa_aead_operation_t *operation, const uint8_t *input, size_t input_length) psa_driver_wrapper_aead_update_ad() argument 1675 psa_driver_wrapper_aead_update(psa_aead_operation_t *operation, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length) psa_driver_wrapper_aead_update() argument 1707 psa_driver_wrapper_aead_finish(psa_aead_operation_t *operation, uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length, uint8_t *tag, size_t tag_size, size_t *tag_length) psa_driver_wrapper_aead_finish() argument 1742 psa_driver_wrapper_aead_verify(psa_aead_operation_t *operation, uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length, const uint8_t *tag, size_t tag_length) psa_driver_wrapper_aead_verify() argument 1788 psa_driver_wrapper_aead_abort(psa_aead_operation_t *operation) psa_driver_wrapper_aead_abort() argument 1867 psa_driver_wrapper_mac_sign_setup(psa_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) psa_driver_wrapper_mac_sign_setup() argument 1925 psa_driver_wrapper_mac_verify_setup(psa_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) psa_driver_wrapper_mac_verify_setup() argument 1983 psa_driver_wrapper_mac_update(psa_mac_operation_t *operation, const uint8_t *input, size_t input_length) psa_driver_wrapper_mac_update() argument 2008 psa_driver_wrapper_mac_sign_finish(psa_mac_operation_t *operation, uint8_t *mac, size_t mac_size, size_t *mac_length) psa_driver_wrapper_mac_sign_finish() argument 2036 psa_driver_wrapper_mac_verify_finish(psa_mac_operation_t *operation, const uint8_t *mac, size_t mac_length) psa_driver_wrapper_mac_verify_finish() argument 2061 psa_driver_wrapper_mac_abort(psa_mac_operation_t *operation) psa_driver_wrapper_mac_abort() argument 2247 psa_driver_wrapper_pake_setup(psa_pake_operation_t *operation, const psa_crypto_driver_pake_inputs_t *inputs) psa_driver_wrapper_pake_setup() argument 2282 psa_driver_wrapper_pake_output(psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) psa_driver_wrapper_pake_output() argument 2308 psa_driver_wrapper_pake_input(psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, const uint8_t *input, size_t input_length) psa_driver_wrapper_pake_input() argument 2332 psa_driver_wrapper_pake_get_implicit_key(psa_pake_operation_t *operation, uint8_t *output, size_t output_size, size_t *output_length) psa_driver_wrapper_pake_get_implicit_key() argument 2357 psa_driver_wrapper_pake_abort(psa_pake_operation_t *operation) psa_driver_wrapper_pake_abort() argument [all...] |
H A D | psa_crypto_cipher.c | 283 mbedtls_psa_cipher_operation_t *operation, in psa_cipher_setup() 296 mbedtls_cipher_init(&operation->ctx.cipher); in psa_cipher_setup() 298 operation->alg = alg; in psa_cipher_setup() 306 ret = mbedtls_cipher_setup(&operation->ctx.cipher, cipher_info); in psa_cipher_setup() 317 ret = mbedtls_cipher_setkey(&operation->ctx.cipher, in psa_cipher_setup() 323 ret = mbedtls_cipher_setkey(&operation->ctx.cipher, key_buffer, in psa_cipher_setup() 334 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup() 338 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup() 352 operation->block_length = (PSA_ALG_IS_STREAM_CIPHER(alg) ? 1 : in psa_cipher_setup() 354 operation in psa_cipher_setup() 282 psa_cipher_setup( mbedtls_psa_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg, mbedtls_operation_t cipher_operation) psa_cipher_setup() argument 360 mbedtls_psa_cipher_encrypt_setup( mbedtls_psa_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_psa_cipher_encrypt_setup() argument 371 mbedtls_psa_cipher_decrypt_setup( mbedtls_psa_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_psa_cipher_decrypt_setup() argument 382 mbedtls_psa_cipher_set_iv( mbedtls_psa_cipher_operation_t *operation, const uint8_t *iv, size_t iv_length) mbedtls_psa_cipher_set_iv() argument 499 mbedtls_psa_cipher_update( mbedtls_psa_cipher_operation_t *operation, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_psa_cipher_update() argument 552 mbedtls_psa_cipher_finish( mbedtls_psa_cipher_operation_t *operation, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_psa_cipher_finish() argument 590 mbedtls_psa_cipher_abort( mbedtls_psa_cipher_operation_t *operation) mbedtls_psa_cipher_abort() argument 618 mbedtls_psa_cipher_operation_t operation = MBEDTLS_PSA_CIPHER_OPERATION_INIT; mbedtls_psa_cipher_encrypt() local 674 mbedtls_psa_cipher_operation_t operation = MBEDTLS_PSA_CIPHER_OPERATION_INIT; mbedtls_psa_cipher_decrypt() local [all...] |
H A D | psa_crypto.c | 810 * Return 0 (which allows no operation) on incompatibility. 982 /* If policy_alg is a generic key agreement operation, then using it for in psa_key_algorithm_permits() 1146 * for a cryptographic operation. 1236 * because all multipart operation objects are independent from in psa_wipe_key_slot() 1251 psa_status_t status; /* status of the last operation */ in psa_destroy_key() 1981 /* If the lock operation fails we still wipe the slot. in psa_fail_key_creation() 2279 psa_status_t psa_hash_abort(psa_hash_operation_t *operation) in psa_hash_abort() argument 2281 /* Aborting a non-active operation is allowed */ in psa_hash_abort() 2282 if (operation->id == 0) { in psa_hash_abort() 2286 psa_status_t status = psa_driver_wrapper_hash_abort(operation); in psa_hash_abort() 2292 psa_hash_setup(psa_hash_operation_t *operation, psa_algorithm_t alg) psa_hash_setup() argument 2322 psa_hash_update(psa_hash_operation_t *operation, const uint8_t *input_external, size_t input_length) psa_hash_update() argument 2352 psa_hash_finish_internal(psa_hash_operation_t *operation, uint8_t *hash, size_t hash_size, size_t *hash_length) psa_hash_finish_internal() argument 2371 psa_hash_finish(psa_hash_operation_t *operation, uint8_t *hash_external, size_t hash_size, size_t *hash_length) psa_hash_finish() argument 2389 psa_hash_verify(psa_hash_operation_t *operation, const uint8_t *hash_external, size_t hash_length) psa_hash_verify() argument 2518 psa_mac_abort(psa_mac_operation_t *operation) psa_mac_abort() argument 2586 psa_mac_setup(psa_mac_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg, int is_sign) psa_mac_setup() argument 2642 psa_mac_sign_setup(psa_mac_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg) psa_mac_sign_setup() argument 2649 psa_mac_verify_setup(psa_mac_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg) psa_mac_verify_setup() argument 2656 psa_mac_update(psa_mac_operation_t *operation, const uint8_t *input_external, size_t input_length) psa_mac_update() argument 2690 psa_mac_sign_finish(psa_mac_operation_t *operation, uint8_t *mac_external, size_t mac_size, size_t *mac_length) psa_mac_sign_finish() argument 2749 psa_mac_verify_finish(psa_mac_operation_t *operation, const uint8_t *mac_external, size_t mac_length) psa_mac_verify_finish() argument 3443 psa_sign_hash_get_num_ops( const psa_sign_hash_interruptible_operation_t *operation) psa_sign_hash_get_num_ops() argument 3449 psa_verify_hash_get_num_ops( const psa_verify_hash_interruptible_operation_t *operation) psa_verify_hash_get_num_ops() argument 3455 psa_sign_hash_abort_internal( psa_sign_hash_interruptible_operation_t *operation) psa_sign_hash_abort_internal() argument 3478 psa_sign_hash_start( psa_sign_hash_interruptible_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg, const uint8_t *hash_external, size_t hash_length) psa_sign_hash_start() argument 3542 psa_sign_hash_complete( psa_sign_hash_interruptible_operation_t *operation, uint8_t *signature_external, size_t signature_size, size_t *signature_length) psa_sign_hash_complete() argument 3596 psa_sign_hash_abort( psa_sign_hash_interruptible_operation_t *operation) psa_sign_hash_abort() argument 3613 psa_verify_hash_abort_internal( psa_verify_hash_interruptible_operation_t *operation) psa_verify_hash_abort_internal() argument 3636 psa_verify_hash_start( psa_verify_hash_interruptible_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg, const uint8_t *hash_external, size_t hash_length, const uint8_t *signature_external, size_t signature_length) psa_verify_hash_start() argument 3702 psa_verify_hash_complete( psa_verify_hash_interruptible_operation_t *operation) psa_verify_hash_complete() argument 3733 psa_verify_hash_abort( psa_verify_hash_interruptible_operation_t *operation) psa_verify_hash_abort() argument 3776 mbedtls_psa_sign_hash_get_num_ops( const mbedtls_psa_sign_hash_interruptible_operation_t *operation) mbedtls_psa_sign_hash_get_num_ops() argument 3792 mbedtls_psa_verify_hash_get_num_ops( const mbedtls_psa_verify_hash_interruptible_operation_t *operation) mbedtls_psa_verify_hash_get_num_ops() argument 3808 mbedtls_psa_sign_hash_start( mbedtls_psa_sign_hash_interruptible_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *hash, size_t hash_length) mbedtls_psa_sign_hash_start() argument 3882 mbedtls_psa_sign_hash_complete( mbedtls_psa_sign_hash_interruptible_operation_t *operation, uint8_t *signature, size_t signature_size, size_t *signature_length) mbedtls_psa_sign_hash_complete() argument 3990 mbedtls_psa_sign_hash_abort( mbedtls_psa_sign_hash_interruptible_operation_t *operation) mbedtls_psa_sign_hash_abort() argument 4021 mbedtls_psa_verify_hash_start( mbedtls_psa_verify_hash_interruptible_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, const uint8_t *signature, size_t signature_length) mbedtls_psa_verify_hash_start() argument 4126 mbedtls_psa_verify_hash_complete( mbedtls_psa_verify_hash_interruptible_operation_t *operation) mbedtls_psa_verify_hash_complete() argument 4163 mbedtls_psa_verify_hash_abort( mbedtls_psa_verify_hash_interruptible_operation_t *operation) mbedtls_psa_verify_hash_abort() argument 4246 psa_cipher_setup(psa_cipher_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg, mbedtls_operation_t cipher_operation) psa_cipher_setup() argument 4311 psa_cipher_encrypt_setup(psa_cipher_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg) psa_cipher_encrypt_setup() argument 4318 psa_cipher_decrypt_setup(psa_cipher_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg) psa_cipher_decrypt_setup() argument 4325 psa_cipher_generate_iv(psa_cipher_operation_t *operation, uint8_t *iv_external, size_t iv_size, size_t *iv_length) psa_cipher_generate_iv() argument 4382 psa_cipher_set_iv(psa_cipher_operation_t *operation, const uint8_t *iv_external, size_t iv_length) psa_cipher_set_iv() argument 4423 psa_cipher_update(psa_cipher_operation_t *operation, const uint8_t *input_external, size_t input_length, uint8_t *output_external, size_t output_size, size_t *output_length) psa_cipher_update() argument 4466 psa_cipher_finish(psa_cipher_operation_t *operation, uint8_t *output_external, size_t output_size, size_t *output_length) psa_cipher_finish() argument 4505 psa_cipher_abort(psa_cipher_operation_t *operation) psa_cipher_abort() argument 4897 psa_aead_setup(psa_aead_operation_t *operation, int is_encrypt, mbedtls_svc_key_id_t key, psa_algorithm_t alg) psa_aead_setup() argument 4973 psa_aead_encrypt_setup(psa_aead_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg) psa_aead_encrypt_setup() argument 4981 psa_aead_decrypt_setup(psa_aead_operation_t *operation, mbedtls_svc_key_id_t key, psa_algorithm_t alg) psa_aead_decrypt_setup() argument 4988 psa_aead_set_nonce_internal(psa_aead_operation_t *operation, const uint8_t *nonce, size_t nonce_length) psa_aead_set_nonce_internal() argument 5024 psa_aead_generate_nonce(psa_aead_operation_t *operation, uint8_t *nonce_external, size_t nonce_size, size_t *nonce_length) psa_aead_generate_nonce() argument 5087 psa_aead_set_nonce(psa_aead_operation_t *operation, const uint8_t *nonce_external, size_t nonce_length) psa_aead_set_nonce() argument 5109 psa_aead_set_lengths(psa_aead_operation_t *operation, size_t ad_length, size_t plaintext_length) psa_aead_set_lengths() argument 5174 psa_aead_update_ad(psa_aead_operation_t *operation, const uint8_t *input_external, size_t input_length) psa_aead_update_ad() argument 5225 psa_aead_update(psa_aead_operation_t *operation, const uint8_t *input_external, size_t input_length, uint8_t *output_external, size_t output_size, size_t *output_length) psa_aead_update() argument 5293 psa_aead_final_checks(const psa_aead_operation_t *operation) psa_aead_final_checks() argument 5308 psa_aead_finish(psa_aead_operation_t *operation, uint8_t *ciphertext_external, size_t ciphertext_size, size_t *ciphertext_length, uint8_t *tag_external, size_t tag_size, size_t *tag_length) psa_aead_finish() argument 5362 psa_aead_verify(psa_aead_operation_t *operation, uint8_t *plaintext_external, size_t plaintext_size, size_t *plaintext_length, const uint8_t *tag_external, size_t tag_length) psa_aead_verify() argument 5404 psa_aead_abort(psa_aead_operation_t *operation) psa_aead_abort() argument 5437 psa_key_derivation_start_hmac( psa_mac_operation_t *operation, psa_algorithm_t hash_alg, const uint8_t *hmac_key, size_t hmac_key_length) psa_key_derivation_start_hmac() argument 5467 psa_key_derivation_get_kdf_alg( const psa_key_derivation_operation_t *operation) psa_key_derivation_get_kdf_alg() argument 5477 psa_key_derivation_abort(psa_key_derivation_operation_t *operation) psa_key_derivation_abort() argument 5547 psa_key_derivation_get_capacity(const psa_key_derivation_operation_t *operation, size_t *capacity) psa_key_derivation_get_capacity() argument 5559 psa_key_derivation_set_capacity(psa_key_derivation_operation_t *operation, size_t capacity) psa_key_derivation_set_capacity() argument 6004 psa_key_derivation_output_bytes( psa_key_derivation_operation_t *operation, uint8_t *output_external, size_t output_length) psa_key_derivation_output_bytes() argument 6141 psa_generate_derived_ecc_key_weierstrass_helper( psa_key_slot_t *slot, size_t bits, psa_key_derivation_operation_t *operation, uint8_t **data ) psa_generate_derived_ecc_key_weierstrass_helper() argument 6249 psa_generate_derived_ecc_key_montgomery_helper( size_t bits, psa_key_derivation_operation_t *operation, uint8_t **data ) psa_generate_derived_ecc_key_montgomery_helper() argument 6300 psa_generate_derived_ecc_key_weierstrass_helper( psa_key_slot_t *slot, size_t bits, psa_key_derivation_operation_t *operation, uint8_t **data) psa_generate_derived_ecc_key_weierstrass_helper() argument 6311 psa_generate_derived_ecc_key_montgomery_helper( size_t bits, psa_key_derivation_operation_t *operation, uint8_t **data) psa_generate_derived_ecc_key_montgomery_helper() argument 6322 psa_generate_derived_key_internal( psa_key_slot_t *slot, size_t bits, psa_key_derivation_operation_t *operation) psa_generate_derived_key_internal() argument 6422 psa_key_derivation_output_key_ext( const psa_key_attributes_t *attributes, psa_key_derivation_operation_t *operation, const psa_key_production_parameters_t *params, size_t params_data_length, mbedtls_svc_key_id_t *key) psa_key_derivation_output_key_ext() argument 6476 psa_key_derivation_output_key( const psa_key_attributes_t *attributes, psa_key_derivation_operation_t *operation, mbedtls_svc_key_id_t *key) psa_key_derivation_output_key() argument 6539 psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT; psa_hash_try_support() local 6545 psa_key_derivation_set_maximum_capacity( psa_key_derivation_operation_t *operation, psa_algorithm_t kdf_alg) psa_key_derivation_set_maximum_capacity() argument 6630 psa_key_derivation_setup_kdf( psa_key_derivation_operation_t *operation, psa_algorithm_t kdf_alg) psa_key_derivation_setup_kdf() argument 6677 psa_key_derivation_setup(psa_key_derivation_operation_t *operation, psa_algorithm_t alg) psa_key_derivation_setup() argument 7299 psa_key_derivation_input_internal( psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, psa_key_type_t key_type, const uint8_t *data, size_t data_length) psa_key_derivation_input_internal() argument 7359 psa_key_derivation_input_integer_internal( psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, uint64_t value) psa_key_derivation_input_integer_internal() argument 7386 psa_key_derivation_input_bytes( psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, const uint8_t *data_external, size_t data_length) psa_key_derivation_input_bytes() argument 7407 psa_key_derivation_input_integer( psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, uint64_t value) psa_key_derivation_input_integer() argument 7415 psa_key_derivation_input_key( psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, mbedtls_svc_key_id_t key) psa_key_derivation_input_key() argument 7530 psa_key_agreement_internal(psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, psa_key_slot_t *private_key, const uint8_t *peer_key, size_t peer_key_length) psa_key_agreement_internal() argument 7565 psa_key_derivation_key_agreement(psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, mbedtls_svc_key_id_t private_key, const uint8_t *peer_key_external, size_t peer_key_length) psa_key_derivation_key_agreement() argument 8394 psa_pake_setup( psa_pake_operation_t *operation, const psa_pake_cipher_suite_t *cipher_suite) psa_pake_setup() argument 8440 psa_pake_set_password_key( psa_pake_operation_t *operation, mbedtls_svc_key_id_t password) psa_pake_set_password_key() argument 8487 psa_pake_set_user( psa_pake_operation_t *operation, const uint8_t *user_id_external, size_t user_id_len) psa_pake_set_user() argument 8531 psa_pake_set_peer( psa_pake_operation_t *operation, const uint8_t *peer_id_external, size_t peer_id_len) psa_pake_set_peer() argument 8575 psa_pake_set_role( psa_pake_operation_t *operation, psa_pake_role_t role) psa_pake_set_role() argument 8634 psa_pake_complete_inputs( psa_pake_operation_t *operation) psa_pake_complete_inputs() argument 8678 psa_jpake_prologue( psa_pake_operation_t *operation, psa_pake_step_t step, psa_jpake_io_mode_t io_mode) psa_jpake_prologue() argument 8717 psa_jpake_epilogue( psa_pake_operation_t *operation, psa_jpake_io_mode_t io_mode) psa_jpake_epilogue() argument 8754 psa_pake_output( psa_pake_operation_t *operation, psa_pake_step_t step, uint8_t *output_external, size_t output_size, size_t *output_length) psa_pake_output() argument 8831 psa_pake_input( psa_pake_operation_t *operation, psa_pake_step_t step, const uint8_t *input_external, size_t input_length) psa_pake_input() argument 8908 psa_pake_get_implicit_key( psa_pake_operation_t *operation, psa_key_derivation_operation_t *output) psa_pake_get_implicit_key() argument 8957 psa_pake_abort( psa_pake_operation_t *operation) psa_pake_abort() argument [all...] |
H A D | psa_crypto_driver_wrappers.h | 111 psa_sign_hash_interruptible_operation_t *operation); 114 psa_verify_hash_interruptible_operation_t *operation); 117 psa_sign_hash_interruptible_operation_t *operation, 123 psa_sign_hash_interruptible_operation_t *operation, 128 psa_sign_hash_interruptible_operation_t *operation); 131 psa_verify_hash_interruptible_operation_t *operation, 138 psa_verify_hash_interruptible_operation_t *operation); 141 psa_verify_hash_interruptible_operation_t *operation); 214 psa_cipher_operation_t *operation, 220 psa_cipher_operation_t *operation, [all...] |
/third_party/node/deps/npm/node_modules/retry/test/integration/ |
H A D | test-retry-operation.js | 8 var operation = retry.operation([1, 2, 3]); variable 18 operation.attempt(function(currentAttempt) { 21 if (operation.retry(error)) { 28 assert.strictEqual(operation.attempts(), attempts); 29 assert.strictEqual(operation.mainError(), error); 34 operation.reset(); 46 var operation = retry.operation(); 50 operation 96 var operation = retry.operation([1, 2, 3]); global() variable 122 var operation = retry.operation({ retries: 3, forever: true }); global() variable 187 var operation = retry.operation([1, 2, 3]); global() variable 219 var operation = retry.operation({ global() variable [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir_expression_operation.py | 42 type and the result type of the operation is the same as the input type. 53 same type but the result type of the operation is different from the 197 # operation consumes a vector and produces a scalar. 211 # operation consumes a vector and produces a scalar. 325 class operation(object): class 418 operation("bit_not", 1, printable_name="~", source_types=integer_types, c_expression="~ {src0}"), 419 operation("logic_not", 1, printable_name="!", source_types=(bool_type,), c_expression="!{src0}"), 420 operation("neg", 1, source_types=numeric_types, c_expression={'u': "-((int) {src0})", 'u64': "-((int64_t) {src0})", 'default': "-{src0}"}), 421 operation("abs", 1, source_types=signed_numeric_types, c_expression={'i': "{src0} < 0 ? -{src0} : {src0}", 'f': "fabsf({src0})", 'd': "fabs({src0})", 'i64': "{src0} < 0 ? -{src0} : {src0}"}), 422 operation("sig [all...] |
H A D | opt_algebraic.cpp | 192 if (expr0 && expr0->operation == ir_binop_add && in try_replace_with_dot() 194 expr1 && expr1->operation == ir_binop_add && in try_replace_with_dot() 257 if (!ir2 || ir1->operation != ir2->operation) in reassociate_constant() 320 if (ir->operation == ir_binop_mul && in handle_expression() 325 if (matrix_mul && matrix_mul->operation == ir_binop_mul && in handle_expression() 347 switch (ir->operation) { in handle_expression() 349 if (op_expr[0] && op_expr[0]->operation == ir_unop_bit_not) in handle_expression() 357 switch (op_expr[0]->operation) { in handle_expression() 370 if (op_expr[0]->operation in handle_expression() [all...] |
/third_party/skia/src/core/ |
H A D | SkMD5.cpp | 123 static inline void operation(T operation, uint32_t& a, uint32_t b, uint32_t c, uint32_t d, in operation() argument 125 a = b + rotate_left(a + operation(b, c, d) + x + t, s); in operation() 135 operation(F(), a, b, c, d, X[ 0], 7, 0xd76aa478); // 1 in transform() 136 operation(F(), d, a, b, c, X[ 1], 12, 0xe8c7b756); // 2 in transform() 137 operation(F(), c, d, a, b, X[ 2], 17, 0x242070db); // 3 in transform() 138 operation(F(), b, c, d, a, X[ 3], 22, 0xc1bdceee); // 4 in transform() 139 operation(F(), a, b, c, d, X[ 4], 7, 0xf57c0faf); // 5 in transform() 140 operation(F(), d, a, b, c, X[ 5], 12, 0x4787c62a); // 6 in transform() 141 operation( in transform() [all...] |
/third_party/mbedtls/tests/src/drivers/ |
H A D | test_driver_mac.c | 71 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_sign_setup() 87 operation, in mbedtls_test_transparent_mac_sign_setup() 93 operation, attributes, key_buffer, key_buffer_size, alg); in mbedtls_test_transparent_mac_sign_setup() 95 (void) operation; in mbedtls_test_transparent_mac_sign_setup() 108 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_verify_setup() 124 operation, in mbedtls_test_transparent_mac_verify_setup() 130 operation, attributes, key_buffer, key_buffer_size, alg); in mbedtls_test_transparent_mac_verify_setup() 132 (void) operation; in mbedtls_test_transparent_mac_verify_setup() 145 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_update() 159 operation, inpu in mbedtls_test_transparent_mac_update() 70 mbedtls_test_transparent_mac_sign_setup( mbedtls_transparent_test_driver_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_test_transparent_mac_sign_setup() argument 107 mbedtls_test_transparent_mac_verify_setup( mbedtls_transparent_test_driver_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_test_transparent_mac_verify_setup() argument 144 mbedtls_test_transparent_mac_update( mbedtls_transparent_test_driver_mac_operation_t *operation, const uint8_t *input, size_t input_length) mbedtls_test_transparent_mac_update() argument 175 mbedtls_test_transparent_mac_sign_finish( mbedtls_transparent_test_driver_mac_operation_t *operation, uint8_t *mac, size_t mac_size, size_t *mac_length) mbedtls_test_transparent_mac_sign_finish() argument 208 mbedtls_test_transparent_mac_verify_finish( mbedtls_transparent_test_driver_mac_operation_t *operation, const uint8_t *mac, size_t mac_length) mbedtls_test_transparent_mac_verify_finish() argument 239 mbedtls_test_transparent_mac_abort( mbedtls_transparent_test_driver_mac_operation_t *operation) mbedtls_test_transparent_mac_abort() argument 296 mbedtls_test_opaque_mac_sign_setup( mbedtls_opaque_test_driver_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_test_opaque_mac_sign_setup() argument 320 mbedtls_test_opaque_mac_verify_setup( mbedtls_opaque_test_driver_mac_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_test_opaque_mac_verify_setup() argument 344 mbedtls_test_opaque_mac_update( mbedtls_opaque_test_driver_mac_operation_t *operation, const uint8_t *input, size_t input_length) mbedtls_test_opaque_mac_update() argument 364 mbedtls_test_opaque_mac_sign_finish( mbedtls_opaque_test_driver_mac_operation_t *operation, uint8_t *mac, size_t mac_size, size_t *mac_length) mbedtls_test_opaque_mac_sign_finish() argument 386 mbedtls_test_opaque_mac_verify_finish( mbedtls_opaque_test_driver_mac_operation_t *operation, const uint8_t *mac, size_t mac_length) mbedtls_test_opaque_mac_verify_finish() argument 406 mbedtls_test_opaque_mac_abort( mbedtls_opaque_test_driver_mac_operation_t *operation) mbedtls_test_opaque_mac_abort() argument [all...] |
H A D | test_driver_aead.c | 138 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_encrypt_setup() 152 libtestdriver1_mbedtls_psa_aead_encrypt_setup(operation, in mbedtls_test_transparent_aead_encrypt_setup() 159 mbedtls_psa_aead_encrypt_setup(operation, attributes, key_buffer, in mbedtls_test_transparent_aead_encrypt_setup() 162 (void) operation; in mbedtls_test_transparent_aead_encrypt_setup() 175 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_decrypt_setup() 189 libtestdriver1_mbedtls_psa_aead_decrypt_setup(operation, in mbedtls_test_transparent_aead_decrypt_setup() 195 mbedtls_psa_aead_decrypt_setup(operation, attributes, key_buffer, in mbedtls_test_transparent_aead_decrypt_setup() 198 (void) operation; in mbedtls_test_transparent_aead_decrypt_setup() 211 mbedtls_transparent_test_driver_aead_operation_t *operation, in mbedtls_test_transparent_aead_set_nonce() 224 libtestdriver1_mbedtls_psa_aead_set_nonce(operation, nonc in mbedtls_test_transparent_aead_set_nonce() 137 mbedtls_test_transparent_aead_encrypt_setup( mbedtls_transparent_test_driver_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_test_transparent_aead_encrypt_setup() argument 174 mbedtls_test_transparent_aead_decrypt_setup( mbedtls_transparent_test_driver_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) mbedtls_test_transparent_aead_decrypt_setup() argument 210 mbedtls_test_transparent_aead_set_nonce( mbedtls_transparent_test_driver_aead_operation_t *operation, const uint8_t *nonce, size_t nonce_length) mbedtls_test_transparent_aead_set_nonce() argument 239 mbedtls_test_transparent_aead_set_lengths( mbedtls_transparent_test_driver_aead_operation_t *operation, size_t ad_length, size_t plaintext_length) mbedtls_test_transparent_aead_set_lengths() argument 270 mbedtls_test_transparent_aead_update_ad( mbedtls_transparent_test_driver_aead_operation_t *operation, const uint8_t *input, size_t input_length) mbedtls_test_transparent_aead_update_ad() argument 299 mbedtls_test_transparent_aead_update( mbedtls_transparent_test_driver_aead_operation_t *operation, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_test_transparent_aead_update() argument 337 mbedtls_test_transparent_aead_finish( mbedtls_transparent_test_driver_aead_operation_t *operation, uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length, uint8_t *tag, size_t tag_size, size_t *tag_length) mbedtls_test_transparent_aead_finish() argument 378 mbedtls_test_transparent_aead_verify( mbedtls_transparent_test_driver_aead_operation_t *operation, uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length, const uint8_t *tag, size_t tag_length) mbedtls_test_transparent_aead_verify() argument 437 mbedtls_test_transparent_aead_abort( mbedtls_transparent_test_driver_aead_operation_t *operation) mbedtls_test_transparent_aead_abort() argument [all...] |
H A D | test_driver_cipher.c | 131 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_encrypt_setup() 142 memset(operation, 0, sizeof(*operation)); in mbedtls_test_transparent_cipher_encrypt_setup() 151 operation, in mbedtls_test_transparent_cipher_encrypt_setup() 156 operation, attributes, key, key_length, alg); in mbedtls_test_transparent_cipher_encrypt_setup() 163 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_decrypt_setup() 177 operation, in mbedtls_test_transparent_cipher_decrypt_setup() 182 operation, attributes, key, key_length, alg); in mbedtls_test_transparent_cipher_decrypt_setup() 189 mbedtls_transparent_test_driver_cipher_operation_t *operation) in mbedtls_test_transparent_cipher_abort() 195 libtestdriver1_mbedtls_psa_cipher_abort(operation); in mbedtls_test_transparent_cipher_abort() 130 mbedtls_test_transparent_cipher_encrypt_setup( mbedtls_transparent_test_driver_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key, size_t key_length, psa_algorithm_t alg) mbedtls_test_transparent_cipher_encrypt_setup() argument 162 mbedtls_test_transparent_cipher_decrypt_setup( mbedtls_transparent_test_driver_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key, size_t key_length, psa_algorithm_t alg) mbedtls_test_transparent_cipher_decrypt_setup() argument 188 mbedtls_test_transparent_cipher_abort( mbedtls_transparent_test_driver_cipher_operation_t *operation) mbedtls_test_transparent_cipher_abort() argument 209 mbedtls_test_transparent_cipher_set_iv( mbedtls_transparent_test_driver_cipher_operation_t *operation, const uint8_t *iv, size_t iv_length) mbedtls_test_transparent_cipher_set_iv() argument 235 mbedtls_test_transparent_cipher_update( mbedtls_transparent_test_driver_cipher_operation_t *operation, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_test_transparent_cipher_update() argument 276 mbedtls_test_transparent_cipher_finish( mbedtls_transparent_test_driver_cipher_operation_t *operation, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_test_transparent_cipher_finish() argument 357 mbedtls_test_opaque_cipher_encrypt_setup( mbedtls_opaque_test_driver_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key, size_t key_length, psa_algorithm_t alg) mbedtls_test_opaque_cipher_encrypt_setup() argument 371 mbedtls_test_opaque_cipher_decrypt_setup( mbedtls_opaque_test_driver_cipher_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key, size_t key_length, psa_algorithm_t alg) mbedtls_test_opaque_cipher_decrypt_setup() argument 385 mbedtls_test_opaque_cipher_abort( mbedtls_opaque_test_driver_cipher_operation_t *operation) mbedtls_test_opaque_cipher_abort() argument 392 mbedtls_test_opaque_cipher_set_iv( mbedtls_opaque_test_driver_cipher_operation_t *operation, const uint8_t *iv, size_t iv_length) mbedtls_test_opaque_cipher_set_iv() argument 403 mbedtls_test_opaque_cipher_update( mbedtls_opaque_test_driver_cipher_operation_t *operation, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_test_opaque_cipher_update() argument 420 mbedtls_test_opaque_cipher_finish( mbedtls_opaque_test_driver_cipher_operation_t *operation, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_test_opaque_cipher_finish() argument [all...] |
H A D | test_driver_pake.c | 25 mbedtls_transparent_test_driver_pake_operation_t *operation, in mbedtls_test_transparent_pake_setup() 39 operation, (const libtestdriver1_psa_crypto_driver_pake_inputs_t *) inputs); in mbedtls_test_transparent_pake_setup() 43 operation, inputs); in mbedtls_test_transparent_pake_setup() 45 (void) operation; in mbedtls_test_transparent_pake_setup() 55 mbedtls_transparent_test_driver_pake_operation_t *operation, in mbedtls_test_transparent_pake_output() 85 operation, (libtestdriver1_psa_crypto_driver_pake_step_t) step, in mbedtls_test_transparent_pake_output() 90 operation, step, output, output_size, output_length); in mbedtls_test_transparent_pake_output() 92 (void) operation; in mbedtls_test_transparent_pake_output() 105 mbedtls_transparent_test_driver_pake_operation_t *operation, in mbedtls_test_transparent_pake_input() 121 operation, (libtestdriver1_psa_crypto_driver_pake_step_ in mbedtls_test_transparent_pake_input() 24 mbedtls_test_transparent_pake_setup( mbedtls_transparent_test_driver_pake_operation_t *operation, const psa_crypto_driver_pake_inputs_t *inputs) mbedtls_test_transparent_pake_setup() argument 54 mbedtls_test_transparent_pake_output( mbedtls_transparent_test_driver_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_test_transparent_pake_output() argument 104 mbedtls_test_transparent_pake_input( mbedtls_transparent_test_driver_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, const uint8_t *input, size_t input_length) mbedtls_test_transparent_pake_input() argument 139 mbedtls_test_transparent_pake_get_implicit_key( mbedtls_transparent_test_driver_pake_operation_t *operation, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_test_transparent_pake_get_implicit_key() argument 171 mbedtls_test_transparent_pake_abort( mbedtls_transparent_test_driver_pake_operation_t *operation) mbedtls_test_transparent_pake_abort() argument [all...] |
H A D | hash.c | 59 mbedtls_transparent_test_driver_hash_operation_t *operation, in mbedtls_test_transparent_hash_setup() 71 libtestdriver1_mbedtls_psa_hash_setup(operation, alg); in mbedtls_test_transparent_hash_setup() 74 mbedtls_psa_hash_setup(operation, alg); in mbedtls_test_transparent_hash_setup() 76 (void) operation; in mbedtls_test_transparent_hash_setup() 114 mbedtls_transparent_test_driver_hash_operation_t *operation, in mbedtls_test_transparent_hash_update() 128 operation, input, input_length); in mbedtls_test_transparent_hash_update() 131 mbedtls_psa_hash_update(operation, input, input_length); in mbedtls_test_transparent_hash_update() 133 (void) operation; in mbedtls_test_transparent_hash_update() 144 mbedtls_transparent_test_driver_hash_operation_t *operation, in mbedtls_test_transparent_hash_finish() 159 operation, has in mbedtls_test_transparent_hash_finish() 58 mbedtls_test_transparent_hash_setup( mbedtls_transparent_test_driver_hash_operation_t *operation, psa_algorithm_t alg) mbedtls_test_transparent_hash_setup() argument 113 mbedtls_test_transparent_hash_update( mbedtls_transparent_test_driver_hash_operation_t *operation, const uint8_t *input, size_t input_length) mbedtls_test_transparent_hash_update() argument 143 mbedtls_test_transparent_hash_finish( mbedtls_transparent_test_driver_hash_operation_t *operation, uint8_t *hash, size_t hash_size, size_t *hash_length) mbedtls_test_transparent_hash_finish() argument 175 mbedtls_test_transparent_hash_abort( mbedtls_transparent_test_driver_hash_operation_t *operation) mbedtls_test_transparent_hash_abort() argument [all...] |
/third_party/mbedtls/include/psa/ |
H A D | crypto.h | 77 * the operation as if the library had been initialized or to return 249 * - 0 does not allow any cryptographic operation with the key. The key 527 * If a key is currently in use in a multipart operation, then destroying the 528 * key will cause the multipart operation to fail. 903 * Before calling any function on a hash operation object, the application must 907 * psa_hash_operation_t operation; 908 * memset(&operation, 0, sizeof(operation)); 912 * psa_hash_operation_t operation = {0}; 917 * psa_hash_operation_t operation [all...] |
/third_party/python/Lib/idlelib/ |
H A D | redirector.py | 8 binding to the widget's 'insert' operation is activated, and the Tk library 12 to do is to hook the Tk 'insert' operation itself. For one thing, we want 19 operation. We will also intercept method calls on the tkinter class 25 original Tk widget operation. 30 _operations: dict mapping operation name to new function. 46 # whose action is to dispatch on the operation passed to the widget: 55 for operation in list(self._operations): 56 self.unregister(operation) 66 def register(self, operation, function): 67 '''Return OriginalCommand(operation) afte [all...] |
/third_party/curl/src/ |
H A D | tool_parsecfg.c | 87 struct OperationConfig *operation = global->last; in parseconfig() local 212 warnf(operation->global, "%s:%d: warning: '%s' uses unquoted " in parseconfig() 214 warnf(operation->global, "This may cause side-effects. " in parseconfig() 227 res = getparameter(option, param, NULL, &usedarg, global, operation); in parseconfig() 228 operation = global->last; in parseconfig() 235 if(operation->url_list && operation->url_list->url) { in parseconfig() 237 operation->next = malloc(sizeof(struct OperationConfig)); in parseconfig() 238 if(operation->next) { in parseconfig() 240 config_init(operation in parseconfig() [all...] |
/third_party/mbedtls/tests/include/test/drivers/ |
H A D | mac.h | 60 mbedtls_transparent_test_driver_mac_operation_t *operation, 67 mbedtls_transparent_test_driver_mac_operation_t *operation, 74 mbedtls_transparent_test_driver_mac_operation_t *operation, 79 mbedtls_transparent_test_driver_mac_operation_t *operation, 85 mbedtls_transparent_test_driver_mac_operation_t *operation, 90 mbedtls_transparent_test_driver_mac_operation_t *operation); 104 mbedtls_opaque_test_driver_mac_operation_t *operation, 111 mbedtls_opaque_test_driver_mac_operation_t *operation, 118 mbedtls_opaque_test_driver_mac_operation_t *operation, 123 mbedtls_opaque_test_driver_mac_operation_t *operation, [all...] |
H A D | cipher.h | 62 mbedtls_transparent_test_driver_cipher_operation_t *operation, 68 mbedtls_transparent_test_driver_cipher_operation_t *operation, 74 mbedtls_transparent_test_driver_cipher_operation_t *operation); 77 mbedtls_transparent_test_driver_cipher_operation_t *operation, 81 mbedtls_transparent_test_driver_cipher_operation_t *operation, 86 mbedtls_transparent_test_driver_cipher_operation_t *operation, 108 mbedtls_opaque_test_driver_cipher_operation_t *operation, 114 mbedtls_opaque_test_driver_cipher_operation_t *operation, 120 mbedtls_opaque_test_driver_cipher_operation_t *operation); 123 mbedtls_opaque_test_driver_cipher_operation_t *operation, [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | cms.c | 230 "For the -cmsout operation do not output the parsed CMS structure"}, 232 "For the -cmsout operation print out all fields of the CMS structure"}, 304 int operation = 0, ret = 1, rr_print = 0, rr_allorfirst = -1; in cms_main() local 342 operation = SMIME_ENCRYPT; in cms_main() 345 operation = SMIME_DECRYPT; in cms_main() 348 operation = SMIME_SIGN; in cms_main() 351 operation = SMIME_VERIFY; in cms_main() 354 operation = SMIME_RESIGN; in cms_main() 357 operation = SMIME_SIGN_RECEIPT; in cms_main() 360 operation in cms_main() [all...] |
/third_party/openssl/apps/ |
H A D | cms.c | 230 "For the -cmsout operation do not output the parsed CMS structure"}, 232 "For the -cmsout operation print out all fields of the CMS structure"}, 304 int operation = 0, ret = 1, rr_print = 0, rr_allorfirst = -1; in cms_main() local 342 operation = SMIME_ENCRYPT; in cms_main() 345 operation = SMIME_DECRYPT; in cms_main() 348 operation = SMIME_SIGN; in cms_main() 351 operation = SMIME_VERIFY; in cms_main() 354 operation = SMIME_RESIGN; in cms_main() 357 operation = SMIME_SIGN_RECEIPT; in cms_main() 360 operation in cms_main() [all...] |
/third_party/node/deps/undici/src/lib/cache/ |
H A D | cache.js | 17 * @see https://w3c.github.io/ServiceWorker/#dfn-cache-batch-operation 267 const operation = { 273 operations.push(operation) // 7.3.5 393 const operation = { 400 operations.push(operation) 463 const operation = { 469 operations.push(operation) 593 for (const operation of operations) { 595 if (operation.type !== 'delete' && operation [all...] |