summaryrefslogtreecommitdiff
path: root/networking/tls_rsa.h
diff options
context:
space:
mode:
authorDenys Vlasenko2017-01-19 15:51:00 +0100
committerDenys Vlasenko2017-01-19 15:51:00 +0100
commit6b1b004845ebec194c4d4868d3deb57f22711b19 (patch)
tree291b2cf65b5537a184369eabec0089420ed63930 /networking/tls_rsa.h
parent1bfc4b85a7915210936edc62ecf0d01a17751222 (diff)
downloadbusybox-6b1b004845ebec194c4d4868d3deb57f22711b19.zip
busybox-6b1b004845ebec194c4d4868d3deb57f22711b19.tar.gz
tls: commented out psPool_t use
function old new delta psAesEncrypt 159 162 +3 der_binary_to_pstm 42 40 -2 xwrite_and_hash 437 434 -3 xread_tls_block 446 443 -3 pstm_div_2d 449 444 -5 psAesDecrypt 179 174 -5 pstm_init_size 52 45 -7 pstm_init 46 39 -7 pstm_to_unsigned_bin 165 157 -8 tls_main 1265 1256 -9 pstm_mulmod 132 123 -9 pstm_mod 125 116 -9 pstm_init_copy 93 84 -9 psAesInitKey 840 825 -15 send_client_key_exchange 362 342 -20 psAesInit 103 80 -23 psRsaEncryptPub 429 403 -26 psAesDecryptBlock 1211 1184 -27 psAesEncryptBlock 1223 1193 -30 pstm_exptmod 1582 1524 -58 pstm_div 1557 1472 -85 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/20 up/down: 3/-360) Total: -357 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tls_rsa.h')
-rw-r--r--networking/tls_rsa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/tls_rsa.h b/networking/tls_rsa.h
index 93f469e..c464ed5 100644
--- a/networking/tls_rsa.h
+++ b/networking/tls_rsa.h
@@ -10,11 +10,11 @@ typedef struct {
pstm_int e, d, N, qP, dP, dQ, p, q;
uint32 size; /* Size of the key in bytes */
int32 optimized; /* 1 for optimized */
- psPool_t *pool;
+//bbox psPool_t *pool;
} psRsaKey_t;
#define psRsaEncryptPub(pool, key, in, inlen, out, outlen, data) \
- psRsaEncryptPub(pool, key, in, inlen, out, outlen)
+ psRsaEncryptPub( key, in, inlen, out, outlen)
int32 psRsaEncryptPub(psPool_t *pool, psRsaKey_t *key,
unsigned char *in, uint32 inlen,
unsigned char *out, uint32 outlen, void *data);