Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 43) sorted by relevance

12

/trusted-services/components/common/tlv/
A Dtlv.c36 bool tlv_encode(struct tlv_iterator *iter, const struct tlv_record *input) in tlv_encode() argument
39 size_t required_space = tlv_required_space(input->length); in tlv_encode()
42 if (required_space <= available_space && input->tag >= iter->prev_tag) { in tlv_encode()
44 iter->pos[TLV_TAG_OFFSET + 0] = (uint8_t)(input->tag >> 8); in tlv_encode()
45 iter->pos[TLV_TAG_OFFSET + 1] = (uint8_t)(input->tag); in tlv_encode()
46 iter->pos[TLV_LENGTH_OFFSET + 0] = (uint8_t)(input->length >> 8); in tlv_encode()
47 iter->pos[TLV_LENGTH_OFFSET + 1] = (uint8_t)(input->length); in tlv_encode()
49 memcpy(&iter->pos[TLV_VALUE_OFFSET], input->value, input->length); in tlv_encode()
52 iter->prev_tag = input->tag; in tlv_encode()
/trusted-services/components/service/crypto/client/psa/
A Dpsa_hash.c25 const uint8_t *input, in psa_hash_update() argument
30 input, input_length); in psa_hash_update()
95 const uint8_t *input, in multi_hash_update() argument
122 psa_status = psa_hash_update(operation, &input[bytes_processed], update_len); in multi_hash_update()
138 const uint8_t *input, in psa_hash_compare() argument
144 psa_status_t psa_status = multi_hash_update(&operation, alg, input, input_length); in psa_hash_compare()
160 const uint8_t *input, in psa_hash_compute() argument
167 psa_status_t psa_status = multi_hash_update(&operation, alg, input, input_length); in psa_hash_compute()
A Dpsa_mac.c43 const uint8_t *input, in psa_mac_update() argument
48 input, input_length); in psa_mac_update()
77 const uint8_t *input, in multi_mac_update() argument
100 psa_status = psa_mac_update(operation, &input[bytes_processed], update_len); in multi_mac_update()
116 const uint8_t *input, in psa_mac_verify() argument
126 psa_status = multi_mac_update(&operation, input, input_length); in psa_mac_verify()
144 const uint8_t *input, in psa_mac_compute() argument
155 psa_status = multi_mac_update(&operation, input, input_length); in psa_mac_compute()
A Dpsa_verify_message.c14 const uint8_t *input, in psa_verify_message() argument
24 input, input_length, in psa_verify_message()
A Dpsa_sign_message.c14 const uint8_t *input, in psa_sign_message() argument
25 input, input_length, in psa_sign_message()
A Dpsa_cipher.c61 const uint8_t *input, in psa_cipher_update() argument
69 input, input_length, in psa_cipher_update()
90 const uint8_t *input, in multi_cipher_update() argument
129 &input[bytes_input], update_len, in multi_cipher_update()
168 const uint8_t *input, in psa_cipher_encrypt() argument
189 input, input_length, in psa_cipher_encrypt()
211 const uint8_t *input, in psa_cipher_decrypt() argument
231 psa_status = psa_cipher_set_iv(&operation, input, iv_len); in psa_cipher_decrypt()
236 &input[iv_len], input_length - iv_len, in psa_cipher_decrypt()
A Dpsa_asymmetric_decrypt.c13 const uint8_t *input, size_t input_length, in psa_asymmetric_decrypt() argument
22 input, input_length, in psa_asymmetric_decrypt()
A Dpsa_asymmetric_encrypt.c13 const uint8_t *input, size_t input_length, in psa_asymmetric_encrypt() argument
22 input, input_length, in psa_asymmetric_encrypt()
A Dpsa_aead.c62 const uint8_t *input, in psa_aead_update_ad() argument
67 input, input_length); in psa_aead_update_ad()
71 const uint8_t *input, in psa_aead_update() argument
79 input, input_length, in psa_aead_update()
129 const uint8_t *input, in multi_aead_update_ad() argument
155 &input[bytes_input], update_len); in multi_aead_update_ad()
166 const uint8_t *input, in multi_aead_update() argument
199 &input[bytes_input], update_len, in multi_aead_update()
/trusted-services/components/service/crypto/client/caller/stub/
A Dcrypto_caller_asymmetric_decrypt.h20 const uint8_t *input, size_t input_length, in crypto_caller_asymmetric_decrypt() argument
27 (void)input; in crypto_caller_asymmetric_decrypt()
A Dcrypto_caller_asymmetric_encrypt.h20 const uint8_t *input, size_t input_length, in crypto_caller_asymmetric_encrypt() argument
27 (void)input; in crypto_caller_asymmetric_encrypt()
A Dcrypto_caller_hash.h30 const uint8_t *input, in crypto_caller_hash_update() argument
35 (void)input; in crypto_caller_hash_update()
A Dcrypto_caller_mac.h46 const uint8_t *input, in crypto_caller_mac_update() argument
51 (void)input; in crypto_caller_mac_update()
A Dcrypto_caller_aead.h144 const uint8_t *input, in crypto_caller_aead_update_ad() argument
149 (void)input; in crypto_caller_aead_update_ad()
157 const uint8_t *input, in crypto_caller_aead_update() argument
165 (void)input; in crypto_caller_aead_update()
A Dcrypto_caller_cipher.h73 const uint8_t *input, in crypto_caller_cipher_update() argument
81 (void)input; in crypto_caller_cipher_update()
A Dcrypto_caller_verify_hash.h37 const uint8_t *input, size_t input_length, in crypto_caller_verify_message() argument
/trusted-services/components/service/crypto/include/psa/
A Dcrypto.h966 const uint8_t *input, size_t input_length);
1212 const uint8_t *input, size_t input_length,
1249 const uint8_t *input, size_t input_length,
1450 const uint8_t *input, size_t input_length);
1616 const uint8_t *input, size_t input_length,
1660 const uint8_t *input, size_t input_length,
1953 const uint8_t *input, size_t input_length,
2584 const uint8_t *input, size_t input_length,
2831 const uint8_t *input, size_t input_length,
3028 const uint8_t *input, size_t input_length,
[all …]
/trusted-services/components/service/crypto/test/service/extension/hash/
A Dhash_service_scenarios.cpp41 std::vector<uint8_t> input; in calculateHash() local
46 hash_test_vectors::plaintext_1_len_610(input); in calculateHash()
54 status = m_crypto_client->hash_update(op_handle, &input[0], input.size()); in calculateHash()
/trusted-services/components/service/crypto/client/caller/psa_ipc/
A Dcrypto_caller_asymmetric_decrypt.h31 const uint8_t *input, size_t input_length, in crypto_caller_asymmetric_decrypt() argument
52 { .base = psa_ptr_const_to_u32(input), .len = input_length }, in crypto_caller_asymmetric_decrypt()
A Dcrypto_caller_asymmetric_encrypt.h31 const uint8_t *input, size_t input_length, in crypto_caller_asymmetric_encrypt() argument
52 { .base = psa_ptr_const_to_u32(input), .len = input_length }, in crypto_caller_asymmetric_encrypt()
/trusted-services/components/service/crypto/client/cpp/protocol/packed-c/
A Dpackedc_crypto_client.cpp132 const uint8_t *input, size_t input_length, in asymmetric_encrypt() argument
137 input, input_length, in asymmetric_encrypt()
144 const uint8_t *input, size_t input_length, in asymmetric_decrypt() argument
149 input, input_length, in asymmetric_decrypt()
177 const uint8_t *input, size_t input_length) in hash_update() argument
180 op_handle, input, input_length); in hash_update()
256 const uint8_t *input, size_t input_length, in cipher_update() argument
260 op_handle, input, input_length, in cipher_update()
305 const uint8_t *input, size_t input_length) in mac_update() argument
308 op_handle, input, input_length); in mac_update()
A Dpackedc_crypto_client.h88 const uint8_t *input, size_t input_length,
95 const uint8_t *input, size_t input_length,
112 const uint8_t *input, size_t input_length);
152 const uint8_t *input, size_t input_length,
177 const uint8_t *input, size_t input_length);
/trusted-services/components/service/crypto/provider/extension/aead/serializer/
A Daead_provider_serializer.h49 const uint8_t **input, size_t *input_len);
54 const uint8_t **input, size_t *input_len);
/trusted-services/components/service/crypto/client/caller/packed-c/
A Dcrypto_caller_asymmetric_decrypt.h26 const uint8_t *input, size_t input_length, in crypto_caller_asymmetric_decrypt() argument
44 ciphertext_record.value = input; in crypto_caller_asymmetric_decrypt()
A Dcrypto_caller_asymmetric_encrypt.h26 const uint8_t *input, size_t input_length, in crypto_caller_asymmetric_encrypt() argument
44 plaintext_record.value = input; in crypto_caller_asymmetric_encrypt()

Completed in 57 milliseconds

12