Commit fe5ccf2
committed
Refactor to avoid allocations
1 parent 35a80b5 commit fe5ccf2Copy full SHA for fe5ccf2
File tree
Expand file treeCollapse file tree
5 files changed
+32
-20
lines changedOpen diff view settings
Filter options
- core/src/main/java/org/bouncycastle
- asn1
- pkcs
- crypto/util
- prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric
- edec
Expand file treeCollapse file tree
5 files changed
+32
-20
lines changedOpen diff view settings
Collapse file
core/src/main/java/org/bouncycastle/asn1/ASN1OctetString.java
Copy file name to clipboardExpand all lines: core/src/main/java/org/bouncycastle/asn1/ASN1OctetString.java+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
212 | 212 | |
213 | 213 | |
214 | 214 | |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
215 | 220 | |
216 | 221 | |
217 | 222 | |
|
Collapse file
core/src/main/java/org/bouncycastle/asn1/pkcs/PrivateKeyInfo.java
Copy file name to clipboardExpand all lines: core/src/main/java/org/bouncycastle/asn1/pkcs/PrivateKeyInfo.java+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
195 | 195 | |
196 | 196 | |
197 | 197 | |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
| 202 | + |
198 | 203 | |
199 | 204 | |
200 | 205 | |
|
Collapse file
core/src/main/java/org/bouncycastle/crypto/util/PrivateKeyFactory.java
Copy file name to clipboardExpand all lines: core/src/main/java/org/bouncycastle/crypto/util/PrivateKeyFactory.java+13-16Lines changed: 13 additions & 16 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
185 | 185 | |
186 | 186 | |
187 | 187 | |
188 | | - |
189 | | - |
190 | | - |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
195 | 193 | |
196 | | - |
| 194 | + |
197 | 195 | |
198 | 196 | |
199 | 197 | |
200 | | - |
201 | | - |
202 | 198 | |
203 | | - |
| 199 | + |
204 | 200 | |
205 | | - |
| 201 | + |
206 | 202 | |
207 | 203 | |
208 | | - |
| 204 | + |
209 | 205 | |
210 | 206 | |
211 | 207 | |
| ||
235 | 231 | |
236 | 232 | |
237 | 233 | |
238 | | - |
239 | 234 | |
240 | | - |
| 235 | + |
| 236 | + |
| 237 | + |
241 | 238 | |
242 | | - |
| 239 | + |
243 | 240 | |
244 | 241 | |
245 | 242 | |
|
Collapse file
prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/COMPOSITE.java
Copy file name to clipboardExpand all lines: prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/COMPOSITE.java+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
84 | 84 | |
85 | 85 | |
86 | 86 | |
87 | | - |
| 87 | + |
88 | 88 | |
89 | 89 | |
90 | 90 | |
|
Collapse file
prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/edec/BCXDHPrivateKey.java
Copy file name to clipboardExpand all lines: prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/edec/BCXDHPrivateKey.java+8-3Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
60 | 60 | |
61 | 61 | |
62 | 62 | |
63 | | - |
| 63 | + |
| 64 | + |
64 | 65 | |
65 | 66 | |
66 | | - |
67 | | - |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
68 | 73 | |
69 | 74 | |
70 | 75 | |
|
0 commit comments