projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed RSA "i32" PKCS#1 v1.5 signature generation.
[BearSSL]
/
src
/
codec
/
pemdec.c
diff --git
a/src/codec/pemdec.c
b/src/codec/pemdec.c
index
3623117
..
04999f2
100644
(file)
--- a/
src/codec/pemdec.c
+++ b/
src/codec/pemdec.c
@@
-225,6
+225,8
@@
name(void *ctx) \
T0_DEFENTRY(br_pem_decoder_init_main, 38)
T0_DEFENTRY(br_pem_decoder_init_main, 38)
+#define T0_NEXT(t0ipp) (*(*(t0ipp)) ++)
+
void
br_pem_decoder_run(void *t0ctx)
{
void
br_pem_decoder_run(void *t0ctx)
{
@@
-272,15
+274,17
@@
br_pem_decoder_run(void *t0ctx)
#define T0_CO() do { \
goto t0_exit; \
} while (0)
#define T0_CO() do { \
goto t0_exit; \
} while (0)
-#define T0_RET()
break
+#define T0_RET()
goto t0_next
dp = ((t0_context *)t0ctx)->dp;
rp = ((t0_context *)t0ctx)->rp;
ip = ((t0_context *)t0ctx)->ip;
dp = ((t0_context *)t0ctx)->dp;
rp = ((t0_context *)t0ctx)->rp;
ip = ((t0_context *)t0ctx)->ip;
+ goto t0_next;
for (;;) {
uint32_t t0x;
for (;;) {
uint32_t t0x;
- t0x = t0_parse7E_unsigned(&ip);
+ t0_next:
+ t0x = T0_NEXT(&ip);
if (t0x < T0_INTERPRETED) {
switch (t0x) {
int32_t t0off;
if (t0x < T0_INTERPRETED) {
switch (t0x) {
int32_t t0off;