Skip to content

Commit a6d8157

Browse files
committed
perf(cbmc): optimize s2n_stuffer_private_key_from_pem proof
1 parent ba9bd3c commit a6d8157

File tree

1 file changed

+2
-1
lines changed
  • tests/cbmc/proofs/s2n_stuffer_private_key_from_pem

1 file changed

+2
-1
lines changed

Diff for: tests/cbmc/proofs/s2n_stuffer_private_key_from_pem/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# limitations under the License.
1313

1414
# Enough to get full coverage with 7 minutes of runtime.
15-
MAX_BLOB_SIZE = 10
15+
MAX_BLOB_SIZE = 8
1616
DEFINES += -DMAX_BLOB_SIZE=$(MAX_BLOB_SIZE)
1717

1818
CHECKFLAGS +=
@@ -48,6 +48,7 @@ REMOVE_FUNCTION_BODY += __CPROVER_file_local_s2n_mem_c_s2n_mem_cleanup_impl
4848
REMOVE_FUNCTION_BODY += s2n_stuffer_resize
4949
REMOVE_FUNCTION_BODY += s2n_stuffer_rewrite
5050
REMOVE_FUNCTION_BODY += s2n_add_overflow
51+
REMOVE_FUNCTION_BODY += s2n_stuffer_skip_whitespace
5152

5253
UNWINDSET += strlen.0:5 # size of S2N_PEM_PKCS1_RSA_PRIVATE_KEY
5354
UNWINDSET += strncmp.0:5 # size of S2N_PEM_END_TOKEN

0 commit comments

Comments
 (0)