Skip to content

Commit b2349f4

Browse files
committed
psa-crypto: remove redundant memcpy
1 parent d8d5478 commit b2349f4

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/driver_cryptocell_310/psa_cryptocell_310/ecc_ed25519.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ psa_status_t psa_generate_ecc_ed25519_key_pair( uint8_t *priv_key_buffer,
5454
}
5555

5656
memcpy(priv_key_buffer, secret_key, CRYS_ECEDW_ORD_SIZE_IN_BYTES);
57-
memcpy(pub_key_buffer, &secret_key[CRYS_ECEDW_ORD_SIZE_IN_BYTES], CRYS_ECEDW_MOD_SIZE_IN_BYTES);
5857

5958
done:
6059
explicit_bzero(&secret_key, sizeof(secret_key));

sys/include/net/gcoap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ extern "C" {
637637
#define GCOAP_VFS_EXTRA_STACKSIZE (0)
638638
#endif
639639

640-
#define GCOAP_STACK_SIZE (THREAD_STACKSIZE_DEFAULT + DEBUG_EXTRA_STACKSIZE \
640+
#define GCOAP_STACK_SIZE (6*THREAD_STACKSIZE_DEFAULT + DEBUG_EXTRA_STACKSIZE \
641641
+ sizeof(coap_pkt_t) + GCOAP_DTLS_EXTRA_STACKSIZE \
642642
+ GCOAP_VFS_EXTRA_STACKSIZE)
643643
#endif

0 commit comments

Comments
 (0)