Searched refs:check_buffer_size (Results 1 – 14 of 14) sorted by relevance
/uoscore-uedhoc-3.4.0/src/common/ |
D | memcpy_s.c | 18 enum err check_buffer_size(uint32_t is_size, uint32_t required_size) in check_buffer_size() function 30 TRY(check_buffer_size(dest_len, source_len)); in _memcpy_s()
|
D | crypto_wrapper.c | 451 TRY_EXPECT_PSA(check_buffer_size(INFO_DEFAULT_SIZE, (uint32_t)combo_len), in hkdf_expand()
|
/uoscore-uedhoc-3.4.0/inc/common/ |
D | memcpy_s.h | 25 enum err check_buffer_size(uint32_t is_size, uint32_t required_size);
|
/uoscore-uedhoc-3.4.0/src/edhoc/ |
D | ciphertext.c | 143 TRY(check_buffer_size(CIPHERTEXT2_DEFAULT_SIZE, key_len)); in ciphertext_decrypt_split() 146 TRY(check_buffer_size(AEAD_IV_DEFAULT_SIZE, iv_len)); in ciphertext_decrypt_split() 165 TRY(check_buffer_size(PLAINTEXT_DEFAULT_SIZE, plaintext_len)); in ciphertext_decrypt_split() 208 TRY(check_buffer_size(SGN_OR_MAC_DEFAULT_SIZE, in ciphertext_gen() 267 TRY(check_buffer_size(CIPHERTEXT2_DEFAULT_SIZE, key_len)); in ciphertext_gen() 270 TRY(check_buffer_size(AEAD_IV_DEFAULT_SIZE, iv_len)); in ciphertext_gen() 280 TRY(check_buffer_size(MAC_DEFAULT_SIZE, tag_len)); in ciphertext_gen()
|
D | signature_or_mac_msg.c | 67 TRY(check_buffer_size(CONTEXT_MAC_DEFAULT_SIZE, context_mac_len)); in mac() 109 TRY(check_buffer_size(CRED_DEFAULT_SIZE + SHA_DEFAULT_SIZE + in signature_struct_gen() 167 TRY(check_buffer_size(SHA_DEFAULT_SIZE, mac_buf_len)); in signature_or_mac()
|
D | th.c | 173 TRY(check_buffer_size(TH3_INPUT_DEFAULT_SIZE, th3_input_len)); in th3_calculate() 188 TRY(check_buffer_size(TH4_INPUT_DEFAULT_SIZE, th4_input_len)); in th4_calculate()
|
D | responder.c | 156 TRY(check_buffer_size(G_Y_DEFAULT_SIZE + CIPHERTEXT2_DEFAULT_SIZE, in msg2_encode() 244 TRY(check_buffer_size(SIGNATURE_DEFAULT_SIZE, sign_or_mac_2_len)); in msg2_gen()
|
D | cert.c | 228 TRY(check_buffer_size(SIGNATURE_DEFAULT_SIZE, (uint32_t)sig_len)); in cert_x509_verify()
|
D | initiator.c | 259 TRY(check_buffer_size(CIPHERTEXT3_DEFAULT_SIZE, in msg3_gen()
|
/uoscore-uedhoc-3.4.0/src/oscore/ |
D | oscore_cose.c | 67 TRY(check_buffer_size(MAX_AAD_LEN, aad_len)); in oscore_cose_decrypt() 97 TRY(check_buffer_size(MAX_AAD_LEN, aad_len)); in oscore_cose_encrypt()
|
D | aad.c | 41 TRY(check_buffer_size(MAX_I_OPTIONS, encoded_opt_i_len)); in create_aad()
|
D | coap2oscore.c | 153 TRY(check_buffer_size(MAX_E_OPTIONS, temp_opt_bytes_len)); in plaintext_setup() 455 TRY(check_buffer_size(MAX_PLAINTEXT_LEN, plaintext_len)); in coap2oscore() 500 TRY(check_buffer_size(MAX_CIPHERTEXT_LEN, ciphertext_len)); in coap2oscore()
|
D | oscore2coap.c | 176 TRY(check_buffer_size(MAX_OPTION_COUNT, o_coap_opt_cnt)); in options_from_oscore_reorder() 617 TRY(check_buffer_size(MAX_PLAINTEXT_LEN, plaintext_bytes_len)); in oscore2coap()
|
D | oscore_coap.c | 338 TRY(check_buffer_size(MAX_COAP_OPTIONS_LEN, temp_opt_bytes_len)); in coap2buf()
|