Repository navigation
Commit f46b942
committed
BCFKS: derive scrypt keys with the encoded parallelization parameter rather than the block size, retrying the previous convention on load so a store written by an earlier release still opens, and writing p equal to r by default under org.bouncycastle.bcfks.scrypt_p_eq_r so a store written here is read by both
1 parent 0a65fb6 commit f46b942
6 files changed
Lines changed: 370 additions & 62 deletions
File tree
- core/src/main
- java/org/bouncycastle/util
- jdk1.4/org/bouncycastle/util
- docs
- prov/src
- main
- java/org/bouncycastle/jcajce/provider/keystore/bcfks
- jdk1.4/org/bouncycastle/jcajce/provider/keystore/bcfks
- test/java/org/bouncycastle/jce/provider/test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
322 | 345 | | |
323 | 346 | | |
324 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments