summaryrefslogtreecommitdiff
path: root/lib/crypto/doc/src/notes.xml
blob: e5031295119400f374ec9af2d0f26b827420b16a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>1999</year><year>2021</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
 
          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.

    </legalnotice>

    <title>Crypto Release Notes</title>
    <prepared>Peter H&ouml;gfeldt</prepared>
    <docno></docno>
    <date>2003-06-06</date>
    <rev>B</rev>
    <file>notes.xml</file>
  </header>
  <p>This document describes the changes made to the Crypto application.</p>

<section><title>Crypto 5.0.5</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed the C-warning "implicit declaration of function
	    'OpenSSL_version_num'" if compiling with an early
	    LibreSSL version.</p>
          <p>
	    Own Id: OTP-17637</p>
        </item>
        <item>
          <p>
	    FIPS availability was not checked correctly for AEAD
	    ciphers.</p>
          <p>
	    Own Id: OTP-17740</p>
        </item>
        <item>
          <p>
	    Fixed that cipher aliases (like aes_cbc etc) could be
	    present even if the aliased cipher(s) (like aes_128_cbc,
	    aes_256_cbc,... etc) was missing.</p>
          <p>
	    Own Id: OTP-17741</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The crypto app in OTP can now be compiled, linked and
	    used with the new OpenSSL 3.0 cryptolib.</p>
          <p>
	    It has not yet been extensively tested and is in this
	    release <em>*not recommended*</em> for other usages than
	    experiments and alpha testing. There are not yet any
	    guaranties that it works, not even together with other
	    OTP applications like for example SSL and SSH, although
	    there are no known errors.</p>
          <p>
	    Compiling and linking with OpenSSL 3.0 cryptolib in
	    compatibility modes (for example to behave as 1.1.1) are
	    not tested. It is not tested with external providers.</p>
          <p>
	    The support for FIPS mode does not yet work, and is
	    disabled when compiled with OpenSSL 3.0.</p>
          <p>
	    Deprecated functions in the OpenSSL 3.0 cryptolib must
	    not be disabled as OTP/crypto still uses some of the
	    deprecated API functions. The gcc flag
	    <c>-Wno-deprecated-declarations</c> is set to prevent
	    deprecation warnings to be printed when compiling.</p>
          <p>
	    The hash algorithms <c>md4</c> and <c>ripemd160</c> are
	    disabled temporarily when compiled with OpenSSL 3.0.</p>
          <p>
	    The ciphers <c>blowfish_cbc</c>, <c>blowfish_cfb64</c>,
	    <c>blowfish_ecb</c>, <c>blowfish_ofb64</c>,
	    <c>des_cbc</c>, <c>des_cfb</c>, <c>des_ecb</c>,
	    <c>rc2_cbc</c> and <c>rc4</c> are disabled temporarily
	    when compiled with OpenSSL 3.0.</p>
          <p>
	    Own Id: OTP-16646 Aux Id: OTP-16282 </p>
        </item>
        <item>
          <p>
	    The error handling in crypto is partly refactored using
	    the new error reporting support. Errors earlier
	    propagated like exceptions are still so, but when the
	    failing function is called from the terminal - for
	    example during failure hunting - a more descriptive text
	    is produced.</p>
          <p>
	    Own Id: OTP-17241</p>
        </item>
        <item>
          <p>
	    A new function <c>crypto:info/0</c> which presents some
	    data about the compilation and linkage of the crypto nif
	    is added.</p>
          <p>
	    Own Id: OTP-17603</p>
        </item>
        <item>
          <p>
	    Added the <c>pbkdf2_hmac/5</c> function to the crypto
	    module.</p>
          <p>
	    It calls the <c>PKCS5_PBKDF2_HMAC</c> function which
	    implements PBKD2 with HMAC in an efficient way.</p>
          <p>
	    Own Id: OTP-17808 Aux Id: PR-5421 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 5.0.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed minor memory leak at <c>crypto</c> module purge.</p>
          <p>
	    Own Id: OTP-17668 Aux Id: PR-5245 </p>
        </item>
        <item>
          <p>
	    Fix possible inconsistency in fips mode when linking with
	    some cryptolibs.</p>
          <p>
	    Own Id: OTP-17672</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 5.0.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix bug in <c>crypto:ensure_engine_unloaded</c>. Also
	    fixed minor memory leak related to engine unloading.</p>
          <p>
	    Own Id: OTP-17593 Aux Id: ERIERL-679 </p>
        </item>
        <item>
          <p>
	    Fixes that FIPS enable and disable (or vice versa) on
	    Windows sometimes leads to core dump at the time of
	    process exit.</p>
          <p>
	    Own Id: OTP-17618 Aux Id: PR-5126, GH-4920 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Disable fips if cryptolib &lt; 1.0.1 and OTP/crypto is
	    configured with --enable-fips</p>
          <p>
	    If not, there could be compiling or loading problems with
	    antique OpenSSL versions.</p>
          <p>
	    Own Id: OTP-17389</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 5.0.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    EC keys are now zero-padded to the expected length if
	    needed.</p>
          <p>
	    Own Id: OTP-17442 Aux Id: GH-4861 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 5.0.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Removed a risk for coredump.</p>
          <p>
	    Own Id: OTP-17391 Aux Id: GH-4810 </p>
        </item>
        <item>
          <p>
	    Fixed and documented the <c>DED_LDFLAGS_CONFTEST</c>
	    configuration variable in
	    <c>$ERL_TOP/HOWTO/INSTALL.md</c>.</p>
          <p>
	    Own Id: OTP-17419 Aux Id: GH-4821 </p>
        </item>
        <item>
          <p>
	    Commit of generated <c>configure</c> script.</p>
          <p>
	    Own Id: OTP-17420 Aux Id: OTP-17398, GH-4821 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 5.0</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Add <c>/usr/local/opt/openssl</c> to the openssl
	    configure search path. This path is where some tools on
	    OS X place openssl.</p>
          <p>
	    Own Id: OTP-16882</p>
        </item>
        <item>
          <p>
	    Fix compiler warnings produced by the clang compiler.</p>
          <p>
	    Own Id: OTP-17105 Aux Id: PR-2872 </p>
        </item>
        <item>
	    <p> The <c>configure</c> scripts in <c>crypto</c> and
	    <c>erts</c> now fail if a requested feature cannot be
	    enabled. </p> <p> Large parts of the <c>configure</c>
	    script of <c>crypto</c> have been rewritten with various
	    improvements and bug fixes. It is now better at finding
	    usable OpenSSL libraries, but will in the following cases
	    fail to detect OpenSSL libraries where it previously
	    sometimes detected the libraries by chance: </p> <list>
	    <item> OpenSSL installations with <c>include</c>
	    directory and <c>lib</c> directory parts installed in
	    different base directories. In order to detect such
	    installations after this change, the user must explicitly
	    specify the locations using the <seeguide
	    marker="system/installation_guide:INSTALL#Advanced-configuration-and-build-of-ErlangOTP_Configuring"><c>--with-ssl=&lt;path&gt;</c></seeguide>
	    and the <seeguide
	    marker="system/installation_guide:INSTALL#Advanced-configuration-and-build-of-ErlangOTP_Configuring"><c>--with-ssl-incl=&lt;path&gt;</c></seeguide>
	    <c>configure</c> command line arguments. </item> <item>
	    When building with old <c>gcc</c> compilers or other
	    compilers on Debian derivatives with multiarch
	    directories under the <c>lib</c> directory. In order to
	    detect such installations after this change, the user
	    must explicitly specify the multiarch directory name
	    using the <seeguide
	    marker="system/installation_guide:INSTALL#Advanced-configuration-and-build-of-ErlangOTP_Configuring"><c>--with-ssl-lib-subdir=lib/&lt;multiarch-dir&gt;</c></seeguide>
	    <c>configure</c> command line argument. </item> </list>
          <p>
	    Own Id: OTP-17254 Aux Id: ERIERL-618, GH-4230 </p>
        </item>
        <item>
          <p>
	    The value 'none' was missing in the specs of
	    crypto:sign/4 and crypto:verify/6.</p>
          <p>
	    Own Id: OTP-17312 Aux Id: PR-4723 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The functions and cipher names that were deprecated in
	    OTP-23.0 are now removed.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-16656</p>
        </item>
        <item>
          <p>
	    Removed installed directory priv/obj/ containing
	    superfluous object files.</p>
          <p>
	    Own Id: OTP-17001 Aux Id: PR-2852 </p>
        </item>
        <item>
          <p>
	    TLS connections now support EdDSA certificates.</p>
          <p>
	    Own Id: OTP-17142 Aux Id: PR-4756, GH-4637, GH-4650 </p>
        </item>
        <item>
          <p>
	    Add prop_aead attribute to map from crypto:cipher_info/1.</p>
          <p>
	    Own Id: OTP-17313 Aux Id: PR-4686 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.9.0.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    EC keys are now zero-padded to the expected length if
	    needed.</p>
          <p>
	    Own Id: OTP-17442 Aux Id: GH-4861 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.9.0.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Removed a risk for coredump.</p>
          <p>
	    Own Id: OTP-17391 Aux Id: GH-4810 </p>
        </item>
        <item>
          <p>
	    Commit of generated <c>configure</c> script.</p>
          <p>
	    Own Id: OTP-17420 Aux Id: OTP-17398, GH-4821 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.9</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix minor memory leaks in crypto ENGINE and robustify the
	    code.</p>
          <p>
	    Own Id: OTP-17212</p>
        </item>
        <item>
          <p>
	    The otp_test_engine no longer fails if NO_EC* is set in
	    the OpenSSL configuration.</p>
          <p>
	    Own Id: OTP-17256 Aux Id: PR-4580, GH-4573 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Various address sanitizer support.</p>
          <p>
	    Own Id: OTP-16959 Aux Id: PR-2965 </p>
        </item>
        <item>
          <p>
	    EVP is now disabled for OpenSSL cryptolib versions up to
	    and including 1.0.2</p>
          <p>
	    Own Id: OTP-17116 Aux Id: PR-2972 </p>
        </item>
        <item>
          <p>
	    Warning for unused C function removed</p>
          <p>
	    Own Id: OTP-17145 Aux Id: OTP-17105, PR-2872 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.8.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Adding missing flag in BN-calls in SRP.</p>
          <p>
	    Own Id: OTP-17107</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.8.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed usage of <c>AC_CONFIG_AUX_DIRS()</c> macros in
	    configure script sources.</p>
          <p>
	    Own Id: OTP-17093 Aux Id: ERL-1447, PR-2948 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.8.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Build the supported curves cache in the NIF when crypto
	    is loaded, no matter how it is loaded.</p>
          <p>
	    This prevents a possible problem with different processes
	    starting the crypto application concurrently.</p>
          <p>
	    Own Id: OTP-16819 Aux Id: PR-2720 </p>
        </item>
        <item>
          <p>
	    It is now possible to build with crypto and openssl
	    gprof-enabled and statically link them into the VM.</p>
          <p>
	    Own Id: OTP-17029</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Fixed performance loss in HMAC when using older OpenSSL
	    due to mutex issues.</p>
          <p>
	    A workaround is implemented to allow fallback from using
	    the EVP API for HMAC operations. On some architectures
	    this may improve the performance, especially with old
	    OpenSSL versions. This fallback to low-level functions is
	    always enabled for openssl versions before 1.0.2.</p>
          <p>
	    Own Id: OTP-17025 Aux Id: ERL-1400, PR-2877 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.8</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix type spec bug in crypto for crypto_init and
	    crypto:one_time</p>
          <p>
	    Own Id: OTP-16658 Aux Id: OTP-15884, ERL-1257 </p>
        </item>
        <item>
          <p>
	    The deprecation message for crypto:rand_uniform/2
	    indicated a non-existent function. The correct one
	    (rand:uniform/1) is now suggested.</p>
          <p>
	    Own Id: OTP-16846 Aux Id: PR-2741 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Implemented a workaround to allow fallback from using the
	    EVP API for Diffie-Hellman key generation</p>
          <p>
	    Own Id: OTP-16771 Aux Id: ERIERL-509 </p>
        </item>
        <item>
          <p>
	    The internal Diffie-Hellman high level API for key
	    generation was slow in old and by OpenSSL now unsupported
	    cryptolib versions (1.0.1 and earlier).</p>
          <p>
	    If such a cryptolib is used anyhow, the low-level API is
	    used internally in the crypto application.</p>
          <p>
	    Own Id: OTP-16774</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.7</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Crypto reported unsupported elliptic curves as supported
	    on e.g Fedora distros.</p>
          <p>
	    Own Id: OTP-16579 Aux Id: ERL-825 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Support for ed25519 and ed448 added to
	    <c>crypto:generate_key</c>.</p>
          <p>
	    Own Id: OTP-15967 Aux Id: PR-2329 </p>
        </item>
        <item>
          <p>
	    The <seeguide marker="crypto:new_api#the-new-api">new
	    crypto functions api</seeguide> (crypto_init,
	    crypto_update and crypto_one_time) has been updated.</p>
          <p>
	    There is now a function <seemfa
	    marker="crypto:crypto#crypto_final/1"><c>crypto_final/1</c></seemfa>
	    and a possibility to set options in <seemfa
	    marker="crypto:crypto#crypto_init/3"><c>crypto_init/3</c></seemfa>
	    and <seemfa
	    marker="crypto:crypto#crypto_init/4"><c>crypto_init/4</c></seemfa>.
	    See the manual for details.</p>
          <p>
	    Own Id: OTP-16160</p>
        </item>
        <item>
          <p>
	    As <seeguide
	    marker="crypto:notes#crypto-4.5">announced</seeguide> in
	    OTP 22.0, a New API was introduced in CRYPTO. See the
	    <seeguide marker="crypto:new_api"><i>New and Old
	    API</i></seeguide> chapter in the CRYPTO User's Guide for
	    more information and suggested replacement functions.</p>
          <p>
	    <seeguide marker="crypto:new_api#the-old-api">The Old
	    API</seeguide> is now deprecated in OTP-23.0 and will be
	    removed in OTP-24.0.</p>
          <p>
	    This deprecation includes cipher names. See the section
	    <seeguide
	    marker="crypto:new_api#retired-cipher-names">Retired
	    cipher names</seeguide> in the crypto User's Guide,
	    chapter <seeguide marker="crypto:new_api#the-old-api">The
	    Old API</seeguide>.</p>
          <p>
	    Own Id: OTP-16232</p>
        </item>
        <item>
          <p>
	    Fix C-compilation without deprecated OpenSSL cryptolib
	    APIs</p>
          <p>
	    Own Id: OTP-16369 Aux Id: PR-2474 </p>
        </item>
        <item>
	    <p>Refactored the internal handling of deprecated and
	    removed functions.</p>
          <p>
	    Own Id: OTP-16469</p>
        </item>
        <item>
          <p>
	    Added missing 'eddh' to <seemfa
	    marker="crypto:crypto#supports/1">crypto:supports(public_keys)</seemfa>.</p>
          <p>
	    Own Id: OTP-16583</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.5.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    EC keys are now zero-padded to the expected length if
	    needed.</p>
          <p>
	    Own Id: OTP-17442 Aux Id: GH-4861 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.5.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Removed a risk for coredump.</p>
          <p>
	    Own Id: OTP-17391 Aux Id: GH-4810 </p>
        </item>
        <item>
          <p>
	    Commit of generated <c>configure</c> script.</p>
          <p>
	    Own Id: OTP-17420 Aux Id: OTP-17398, GH-4821 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.5.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Adding missing flag in BN-calls in SRP.</p>
          <p>
	    Own Id: OTP-17107</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.5.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Implemented a workaround to allow fallback from using the
	    EVP API for Diffie-Hellman key generation</p>
          <p>
	    Own Id: OTP-16771 Aux Id: ERIERL-509 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.5</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed potential memory leaks involving calls to the
	    crypto ng_api.</p>
          <p>
	    Own Id: OTP-16428 Aux Id: PR-2511 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Constant time comparisons added.</p>
          <p>
	    Own Id: OTP-16376</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The ciphers aes_cfb8 and aes_cfb128 are now using the EVP
	    interface. The supported key lengths are 128, 192 and 256
	    bits.</p>
          <p>
	    Own Id: OTP-16133 Aux Id: PR-2407 </p>
        </item>
        <item>
          <p>
	    The ciphers aes_cfb8 and aes_cfb128 are now available in
	    FIPS enabled mode.</p>
          <p>
	    Own Id: OTP-16134 Aux Id: PR-2407 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The AEAD tag was not previously checked on decrypt with
	    chacha20_poly1305</p>
          <p>
	    Own Id: OTP-16242 Aux Id: ERL-1078 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    FIxed a bug if the erlang emulator was linked with a very
	    old cryptolib version (1.0.1 or earlier).</p>
          <p>
	    The bug now fixed could have triggered a core dump if an
	    unknown cipher name was used in crypto functions.</p>
          <p>
	    Own Id: OTP-16202</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.6</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The implementation of <c>crypto_one_time/4</c> is
	    adjusted to match the type specification. The spec and
	    the black-box behaviour of the function are unchanged.</p>
          <p>
	    Some details: Both the spec and the implementation were
	    correct seen separately. But with both of them combined
	    simultaneously with <c>crypto_one_time/5</c> which was
	    called by the implementation of <c>crypto_one_time/4</c>,
	    an (obvious) error was detected by a Dialyzer with more
	    thorough checking than usual.</p>
          <p>
	    Own Id: OTP-15884 Aux Id: ERL-974 </p>
        </item>
        <item>
          <p>
	    When using crypto with FIPS mode enabled, the digests
	    were not correctly handled.</p>
          <p>
	    Own Id: OTP-15911</p>
        </item>
        <item>
          <p>
	    A memory leak in error handling code in
	    <c>ng_crypto_init_nif</c> is fixed.</p>
          <p>
	    Own Id: OTP-15924</p>
        </item>
        <item>
          <p>
	    Fixed the broken static build of the crypto nifs</p>
          <p>
	    Own Id: OTP-15928 Aux Id: PR-2296 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The Message Authentication Codes (MAC) CMAC, HMAC and
	    Poly1305 are unified into common functions in the New
	    Crypto API. See the manual for CRYPTO.</p>
          <p>
	    Own Id: OTP-13872</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.5.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The cipher aes-ctr was disabled by mistake in
	    crypto:supports for cryptolibs before 1.0.1. It worked
	    however in the encrypt and decrypt functions.</p>
          <p>
	    Own Id: OTP-15829</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.5</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed a bug in error return for <c>crypto:poly1305/2</c>.
	    It returned the atom <c>notsup</c> instead of the
	    exception <c>notsup</c>.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-15677</p>
        </item>
        <item>
          <p>
	    The cipher chacha20 was introduced in OpenSSL 1.1.0.
	    However, it could in a very odd situation, fail for
	    versions less than OpenSSL 1.1.0d. It is therefore
	    disabled for those versions.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-15678</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
	    <p> A new <c>rand</c> module algorithm, <c>exro928ss</c>
	    (Xoroshiro928**), has been implemented. It has got a
	    really long period and good statistical quality for all
	    output bits, while still being only about 50% slower than
	    the default algorithm. </p><p> The same generator is also
	    used as a long period counter in a new <c>crypto</c>
	    plugin for the <c>rand</c> module, algorithm
	    <c>crypto_aes</c>. This plugin uses AES-256 to scramble
	    the counter which buries any detectable statistical
	    artifacts. Scrambling is done in chunks which are cached
	    to get good amortized speed (about half of the default
	    algorithm). </p>
          <p>
	    Own Id: OTP-14461 Aux Id: PR-1857 </p>
        </item>
        <item>
          <p>
	    Crypto's single C-file is split into multiple files. The
	    different coding styles in the different parts are
	    unified into a single style.</p>
          <p>
	    Own Id: OTP-14732 Aux Id: PR-2068, PR-2095 </p>
        </item>
        <item>
          <p>
	    Build configuration of the <c>crypto</c> application has
	    been moved from the <c>erts</c> application into the
	    <c>crypto</c> application.</p>
          <p>
	    Own Id: OTP-15129</p>
        </item>
        <item>
          <p>
	    Adds two hash functions <c>blake2b</c> and <c>blake2s</c>
	    (64 bit hash and 32 bit hash respectively). These are
	    modern and standard hash functions used in blockchains
	    and encrypted communication protocols. The hash functions
	    are available in OpenSSL since version 1.1.1.</p>
          <p>
	    Own Id: OTP-15564 Aux Id: PR-2129 </p>
        </item>
        <item>
          <p>
	    A new API is implemented in crypto. See the CRYPTO user's
	    guide, chapter <i>New and Old API</i> for more
	    information.</p>
          <p>
	    The old api with the <c>crypto:block_*</c> and
	    <c>crypto:stream_*</c> interfaces are kept for
	    compatibility, but implemented with the new api. Please
	    note that since the error checking is more thorough,
	    there <i>might</i> be arguments with for example faulty
	    lengths that are no longer accepted.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-15644 Aux Id: OTP-14732 , OTP-15451, PR-1857
	    , PR-2068, PR-2095 </p>
        </item>
        <item>
          <p>
	    The new hash_info/1 and cipher_info/1 functions returns
	    maps with information about the hash or cipher in the
	    argument.</p>
          <p>
	    Own Id: OTP-15655 Aux Id: PR-2173, ERL-864, PR-2186 </p>
        </item>
        <item>
          <p>
	    Obey additional OpenSSL configure flags when compiling
	    the C-part of the CRYPTO application: <c>no-bf</c>,
	    <c>no-blake2</c>, <c>no-chacha</c>, <c>no-cmac</c>,
	    <c>no-dh</c>, <c>no-dsa</c>, <c>no-md4</c>,
	    <c>no-poly1305</c>, <c>no-rc2</c>, <c>no-rc4</c> and
	    <c>no-rmd160</c>.</p>
          <p>
	    Own Id: OTP-15683</p>
        </item>
        <item>
          <p>
	    A new function <c>crypto:supports/1</c> is introduced.
	    The single argument takes an atom as argument:
	    <c>hashes</c>, <c>public_keys</c>, <c>ciphers</c>,
	    <c>macs</c>, <c>curves</c> or <c>rsa_opts</c>. The return
	    value is a list of supported algorithms.</p>
          <p>
	    The difference with the existing <c>crypto:supports/0</c>
	    is, apart from the argument and the return value, that
	    the old function reports what is supported by the old
	    api, and the new function reports algorithms in the new
	    api.</p>
          <p>
	    Own Id: OTP-15771</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.4.2.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Adding missing flag in BN-calls in SRP.</p>
          <p>
	    Own Id: OTP-17107</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.4.2.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Constant time comparisons added.</p>
          <p>
	    Own Id: OTP-16376</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.4.2.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The ciphers aes_cfb8 and aes_cfb128 are now using the EVP
	    interface. The supported key lengths are 128, 192 and 256
	    bits.</p>
          <p>
	    Own Id: OTP-16133 Aux Id: PR-2407 </p>
        </item>
        <item>
          <p>
	    The ciphers aes_cfb8 and aes_cfb128 are now available in
	    FIPS enabled mode.</p>
          <p>
	    Own Id: OTP-16134 Aux Id: PR-2407 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.4.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed build link error on Windows. Unresolved symbol
	    'bcmp'.</p>
          <p>
	    Own Id: OTP-15750 Aux Id: ERL-905 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.4.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixes a bug that caused <c>crypto:sign</c> and
	    <c>crypto:verify</c> to return the error message
	    <c>badarg</c> instead of <c>notsup</c> in one case. That
	    case was when signing or verifying with eddsa keys (that
	    is, ed15519 or ed448), but only when FIPS was supported
	    and enabled.</p>
          <p>
	    Own Id: OTP-15634</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Added a crypto benchmark test suite.</p>
          <p>
	    Own Id: OTP-15447</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Updated the RSA options part in the crypto application's
	    C-code, documentation and tests.</p>
          <p>
	    Own Id: OTP-15302</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Added ed25519 and ed448 sign/verify.</p>
          <p>
	    Requires OpenSSL 1.1.1 or higher as cryptolib under the
	    OTP application <c>crypto</c>.</p>
          <p>
	    Own Id: OTP-15419 Aux Id: OTP-15094 </p>
        </item>
        <item>
          <p>
	    Fixed valgrind warnings.</p>
          <p>
	    Own Id: OTP-15467</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.3.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The RSA options <c>rsa_mgf1_md</c>, <c>rsa_oaep_md</c>,
	    and <c>rsa_oaep_label</c> were always disabled. They will
	    now be enabled when a suitable cryptolib is used.</p>
          <p>
	    They are still experimental and may change without prior
	    notice.</p>
          <p>
	    Own Id: OTP-15212 Aux Id: ERL-675, PR1899, PR838 </p>
        </item>
        <item>
          <p>
	    The ciphers <c>aes_ige256</c> and <c>blowfish_cbc</c> had
	    naming issues in <c>crypto:next_iv/2</c>.</p>
          <p>
	    Own Id: OTP-15283</p>
        </item>
        <item>
          <p>
	    the <c>RSA_SSLV23_PADDING</c> is disabled if LibreSSL is
	    used as cryptlib. This is due to compilation problems.</p>
          <p>
	    This will be investigated further in the future.</p>
          <p>
	    Own Id: OTP-15303</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The supported named elliptic curves are now reported in
	    <c>crypto:supports/0</c> in a new entry tagged by
	    <c>'curves'</c>.</p>
          <p>
	    The function <c>crypto:ec_curves/0</c> is kept for
	    compatibility.</p>
          <p>
	    Own Id: OTP-14717 Aux Id: OTP-15244 </p>
        </item>
        <item>
          <p>
	    The typing in the CRYPTO and PUBLIC_KEY applications are
	    reworked and a few mistakes are corrected.</p>
          <p>
	    The documentation is now generated from the typing and
	    some clarifications are made.</p>
          <p>
	    A new chapter on Algorithm Details such as key sizes and
	    availability is added to the CRYPTO User's Guide.</p>
          <p>
	    Own Id: OTP-15134</p>
        </item>
        <item>
          <p>
	    Support for SHA3 both as a separate hash and in HMAC is
	    now available if OpenSSL 1.1.1 or higher is used as
	    cryptolib.</p>
          <p>
	    Available lengths are reported in the <c>'hashs'</c>
	    entry in <c>crypto:supports/0</c> as <c>sha3_*</c>.</p>
          <p>
	    Own Id: OTP-15153</p>
        </item>
        <item>
          <p>
	    The mac algorithm <c>poly1305</c> and the cipher
	    algorithm <c>chacha20</c> are now supported if OpenSSL
	    1.1.1 or higher is used as cryptolib.</p>
          <p>
	    Own Id: OTP-15164 Aux Id: OTP-15209 </p>
        </item>
        <item>
          <p>
	    The key exchange Edward curves <c>x25519</c> and
	    <c>x448</c> are now supported if OpenSSL 1.1.1 or higher
	    is used as cryptolib.</p>
          <p>
	    Own Id: OTP-15240 Aux Id: OTP-15133 </p>
        </item>
        <item>
          <p>
	    The supported RSA options for sign/verify and
	    encrypt/decrypt are now reported in
	    <c>crypto:supports/0</c> in a new entry tagged by
	    '<c>rsa_opts</c>'.</p>
          <p>
	    The exakt set is still experimental and may change
	    without prior notice.</p>
          <p>
	    Own Id: OTP-15260</p>
        </item>
        <item>
          <p>
	    The cipher <c>aes_ccm</c> is added.</p>
          <p>
	    Own Id: OTP-15286</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.3.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
	    <p> Update the crypto engine functions to handle multiple
	    loads of an engine. </p> <p><c>engine_load/3/4</c> is
	    updated so it doesn't add the engine ID to OpenSSLs
	    internal list of engines which makes it possible to run
	    the engine_load more than once if it doesn't contain
	    global data.</p> <p>Added <c>ensure_engine_loaded/2/3</c>
	    which guarantees that the engine just is loaded once and
	    the following calls just returns a reference to it. This
	    is done by add the ID to the internal OpenSSL list and
	    check if it is already registered when the function is
	    called.</p> <p>Added <c>ensure_engine_unloaded/1/2</c> to
	    unload engines loaded with ensure_engine_loaded.</p>
	    <p>Then some more utility functions are added.</p>
	    <p><c>engine_add/1</c>, adds the engine to OpenSSL
	    internal list</p> <p><c>engine_remove/1</c>, remove the
	    engine from OpenSSL internal list</p>
	    <p><c>engine_get_id/1</c>, fetch the engines id</p>
	    <p><c>engine_get_name/1</c>, fetch the engine name</p>
          <p>
	    Own Id: OTP-15233</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.3.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
	    <p>Fixed a node crash in <c>crypto:compute_key(ecdh,
	    ...)</c> when passing a wrongly typed Others
	    argument.</p>
          <p>
	    Own Id: OTP-15194 Aux Id: ERL-673 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Removed two undocumented and erroneous functions
	    (<c>crypto:dh_generate_parameters/2</c> and
	    <c>crypto:dh_check/1</c>).</p>
          <p>
	    Own Id: OTP-14956 Aux Id: ERL-579 </p>
        </item>
        <item>
          <p>
	    Fixed bug causing VM crash if doing runtime upgrade of a
	    crypto module built against OpenSSL older than 0.9.8h.
	    Bug exists since OTP-20.2.</p>
          <p>
	    Own Id: OTP-15088</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    A new <c>rand</c> plugin algorithm has been implemented
	    in <c>crypto</c>, that is: <c>crypto_cache</c>. It uses
	    strong random bytes as randomness source and caches them
	    to get good speed. See <c>crypto:rand_seed_alg/1</c>.</p>
          <p>
	    Own Id: OTP-13370 Aux Id: PR-1573 </p>
        </item>
        <item>
          <p>
	    Diffie-Hellman key functions are re-written with the
	    EVP_PKEY api.</p>
          <p>
	    Own Id: OTP-14864</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.2.2.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Constant time comparisons added.</p>
          <p>
	    Own Id: OTP-16376</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.2.2.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The ciphers aes_cfb8 and aes_cfb128 are now using the EVP
	    interface. The supported key lengths are 128, 192 and 256
	    bits.</p>
          <p>
	    Own Id: OTP-16133 Aux Id: PR-2407 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.2.2.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
	    <p>Fixed a node crash in <c>crypto:compute_key(ecdh,
	    ...)</c> when passing a wrongly typed Others
	    argument.</p>
          <p>
	    Own Id: OTP-15194 Aux Id: ERL-673 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.2.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    If OPENSSL_NO_EC was set, the compilation of the crypto
	    nifs failed.</p>
          <p>
	    Own Id: OTP-15073</p>
        </item>
        <item>
          <p>
	    C-compile errors for LibreSSL 2.7.0 - 2.7.2 fixed</p>
          <p>
	    Own Id: OTP-15074 Aux Id: ERL-618 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.2.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix build error caused by removed RSA padding functions
	    in LibreSSL >= 2.6.1</p>
          <p>
	    Own Id: OTP-14873</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The compatibility function <c>void HMAC_CTX_free</c> in
	    <c>crypto.c</c> erroneously tried to return a value.</p>
          <p>
	    Own Id: OTP-14720</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Rewrite public and private key encode/decode with EVP
	    api. New RSA padding options added. This is a modified
	    half of PR-838.</p>
          <p>
	    Own Id: OTP-14446</p>
        </item>
        <item>
          <p>
	    The crypto API is extended to use private/public keys
	    stored in an Engine for sign/verify or encrypt/decrypt
	    operations.</p>
          <p>
	    The ssl application provides an API to use this new
	    engine concept in TLS.</p>
          <p>
	    Own Id: OTP-14448</p>
        </item>
        <item>
	    <p> Add support to plug in alternative implementations
	    for some or all of the cryptographic operations supported
	    by the OpenSSL Engine API. When configured appropriately,
	    OpenSSL calls the engine's implementation of these
	    operations instead of its own. </p>
          <p>
	    Own Id: OTP-14567</p>
        </item>
        <item>
          <p>
	    Replaced a call of the OpenSSL deprecated function
	    <c>DH_generate_parameters</c> in <c>crypto.c</c>.</p>
          <p>
	    Own Id: OTP-14639</p>
        </item>
        <item>
          <p>
	    Documentation added about how to use keys stored in an
	    Engine.</p>
          <p>
	    Own Id: OTP-14735 Aux Id: OTP-14448 </p>
        </item>
        <item>
	    <p> Add engine_ ctrl_cmd_string/3,4 the OpenSSL Engine
	    support in crypto. </p>
          <p>
	    Own Id: OTP-14801</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
	    <p>On macOS, <c>crypto</c> would crash if <c>observer</c>
	    had been started before <c>crypto</c>. On the beta for
	    macOS 10.13 (High Sierra), <c>crypto</c> would crash.
	    Both of those bugs have been fixed.</p>
          <p>
	    Own Id: OTP-14499 Aux Id: ERL-251 ERL-439 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Extend crypto:sign, crypto:verify, public_key:sign and
	    public_key:verify with:</p>
          <p>
	    * support for RSASSA-PS padding for signatures and for
	    saltlength setting<br/> * X9.31 RSA padding.<br/> * sha,
	    sha224, sha256, sha384, and sha512 for dss signatures as
	    mentioned in NIST SP 800-57 Part 1.<br/> * ripemd160 to
	    be used for rsa signatures.</p>
          <p>
	    This is a manual merge of half of the pull request 838 by
	    potatosalad from Sept 2015.</p>
          <p>
	    Own Id: OTP-13704 Aux Id: PR838 </p>
        </item>
        <item>
          <p>
	    A new tuple in <c>crypto:supports/0</c> reports supported
	    MAC algorithms.</p>
          <p>
	    Own Id: OTP-14504</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 4.0</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    LibreSSL can now be used by the modernized crypto app.</p>
          <p>
	    Own Id: OTP-14247</p>
        </item>
        <item>
          <p>
	    Add compile option <c>-compile(no_native)</c> in modules
	    with <c>on_load</c> directive which is not yet supported
	    by HiPE.</p>
          <p>
	    Own Id: OTP-14316 Aux Id: PR-1390 </p>
        </item>
        <item>
          <p>
	    Fix a bug in aes cfb128 function introduced by the bug
	    fix in GitHub pull request <url
	    href="https://github.com/erlang/otp/pull/1393">#1393</url>.</p>
          <p>
	    Own Id: OTP-14435 Aux Id: PR-1462, PR-1393, OTP-14313 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add basic support for CMAC</p>
          <p>
	    Own Id: OTP-13779 Aux Id: ERL-82 PR-1138 </p>
        </item>
        <item>
          <p>
	    Removed functions deprecated in crypto-3.0 first released
	    in OTP-R16B01</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-13873</p>
        </item>
        <item>
          <p>
	    The <c>crypto</c> application now supports OpenSSL 1.1.</p>
          <p>
	    Own Id: OTP-13900</p>
        </item>
        <item>
          <p>
	    Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in
	    order to satisfy specific security requirements (mostly
	    by different parts of the US federal government). </p>
          <p>
	    See the new crypto users guide "FIPS mode" chapter about
	    building and using the FIPS support which is disabled by
	    default.</p>
          <p>
	    (Thanks to dszoboszlay and legoscia)</p>
          <p>
	    Own Id: OTP-13921 Aux Id: PR-1180 </p>
        </item>
        <item>
          <p>
	    Crypto chacha20-poly1305 as in RFC 7539 enabled for
	    OpenSSL >= 1.1.</p>
          <p>
	    Thanks to mururu.</p>
          <p>
	    Own Id: OTP-14092 Aux Id: PR-1291 </p>
        </item>
        <item>
          <p>
	    RSA key generation added to <c>crypto:generate_key/2</c>.
	    Thanks to wiml.</p>
          <p>
	    An interface is also added to
	    <c>public_key:generate_key/1</c>.</p>
          <p>
	    Own Id: OTP-14140 Aux Id: ERL-165, PR-1299 </p>
        </item>
        <item>
          <p>
	    Raised minimum requirement for OpenSSL version to
	    OpenSSL-0.9.8.c although we recommend a much higher
	    version, that is a version that is still maintained
	    officially by the OpenSSL project. Note that using such
	    an old version may restrict the crypto algorithms
	    supported.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-14171</p>
        </item>
        <item>
          <p>
	    Deprecate crypto:rand_uniform/2 as it is not
	    cryptographically strong</p>
          <p>
	    Own Id: OTP-14274</p>
        </item>
        <item>
          <p>
	    The Crypto application now supports generation of
	    cryptographically strong random numbers (floats &lt; 1.0
	    and integer arbitrary ranges) as a plugin to the 'rand'
	    module.</p>
          <p>
	    Own Id: OTP-14317 Aux Id: PR-1372 </p>
        </item>
        <item>
          <p>
	    This replaces the hard coded test values for AES, CMAC
	    and GCM ciphers with the full validation set from NIST's
	    CAVP program.</p>
          <p>
	    Own Id: OTP-14436 Aux Id: PR-1396 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.7.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix a bug with AES CFB 128 for 192 and 256 bit keys.
	    Thanks to kellymclaughlin !</p>
          <p>
	    Own Id: OTP-14313 Aux Id: PR-1393 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.7.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The implementation of the key exchange algorithms
	    diffie-hellman-group-exchange-sha* are optimized, up to a
	    factor of 11 for the slowest ( = biggest and safest)
	    group size.</p>
          <p>
	    Own Id: OTP-14169 Aux Id: seq-13261 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.7.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The crypto application has been fixed to not use RC2
	    against OpenSSL built with RC2 disabled.</p>
          <p>
	    Own Id: OTP-13895 Aux Id: PR-1163 </p>
        </item>
        <item>
          <p>
	    The crypto application has been fixed to not use RC4
	    against OpenSSL built with RC4 disabled.</p>
          <p>
	    Own Id: OTP-13896 Aux Id: PR-1169 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    To ease troubleshooting, <c>erlang:load_nif/2</c> now
	    includes the return value from a failed call to
	    load/reload/upgrade in the text part of the error tuple.
	    The <c>crypto</c> NIF makes use of this feature by
	    returning the source line where/if the initialization
	    fails.</p>
          <p>
	    Own Id: OTP-13951</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.7.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Crypto has been fixed to work against OpenSSL versions
	    with disabled DES ciphers. Correct spelling of cipher
	    algorithm 'des3_cfb' has been introduced; the previous
	    misspeling still works.</p>
          <p>
	    Own Id: OTP-13783 Aux Id: ERL-203 </p>
        </item>
        <item>
          <p>
	    The size of an internal array in crypto has been fixed to
	    not segfault when having all possible ciphers. Bug fix by
	    Duncan Overbruck.</p>
          <p>
	    Own Id: OTP-13789 Aux Id: PR-1140 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.7</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Refactor <c>crypto</c> to use the EVP interface of
	    OpenSSL, which is the recommended interface that also
	    enables access to hardware acceleration for some
	    operations.</p>
          <p>
	    Own Id: OTP-12217</p>
        </item>
        <item>
          <p>
	    Add support for 192-bit keys for the <c>aes_cbc</c>
	    cipher.</p>
          <p>
	    Own Id: OTP-13206 Aux Id: pr 832 </p>
        </item>
        <item>
          <p>
	    Add support for 192-bit keys for <c>aes_ecb</c>.</p>
          <p>
	    Own Id: OTP-13207 Aux Id: pr829 </p>
        </item>
        <item>
          <p>
	    Deprecate the function <c>crypto:rand_bytes</c> and make
	    sure that <c>crypto:strong_rand_bytes</c> is used in all
	    places that are cryptographically significant.</p>
          <p>
	    Own Id: OTP-13214</p>
        </item>
        <item>
          <p>
	    Enable AES-GCM encryption/decryption to change the tag
	    length between 1 to 16 bytes.</p>
          <p>
	    Own Id: OTP-13483 Aux Id: PR-998 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.6.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix bug for <c>aes_ecb</c> block crypto when data is
	    larger than 16 bytes.</p>
          <p>
	    Own Id: OTP-13249</p>
        </item>
        <item>
          <p>
	    Improve portability of ECC tests in Crypto and SSL for
	    "exotic" OpenSSL versions.</p>
          <p>
	    Own Id: OTP-13311</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.6.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Small documentation fixes</p>
          <p>
	    Own Id: OTP-13017</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.6.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Make <c>crypto:ec_curves/0</c> return empty list if
	    elliptic curve is not supported at all.</p>
          <p>
	    Own Id: OTP-12944</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.6</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Enhance crypto:generate_key to calculate ECC public keys
	    from private key.</p>
          <p>
	    Own Id: OTP-12394</p>
        </item>
        <item>
          <p>
	    Fix bug in <c>crypto:generate_key</c> for <c>ecdh</c>
	    that could cause VM crash for faulty input.</p>
          <p>
	    Own Id: OTP-12733</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Use the EVP API for AES-CBC crypto to enables the use of
	    hardware acceleration for AES-CBC crypto on newer Intel
	    CPUs (AES-NI), among other platforms.</p>
          <p>
	    Own Id: OTP-12380</p>
        </item>
        <item>
          <p>
	    Add AES ECB block encryption.</p>
          <p>
	    Own Id: OTP-12403</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.5</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Extend block_encrypt/decrypt for aes_cfb8 and aes_cfb128
	    to accept keys of length 128, 192 and 256 bits. Before
	    only 128 bit keys were accepted.</p>
          <p>
	    Own Id: OTP-12467</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.4.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add configure option --with-ssl-incl=PATH to support
	    OpenSSL installations with headers and libraries at
	    different places.</p>
          <p>
	    Own Id: OTP-12215 Aux Id: seq12700 </p>
        </item>
        <item>
          <p>
	    Add configure option --with-ssl-rpath to control which
	    runtime library path to use for dynamic linkage toward
	    OpenSSL.</p>
          <p>
	    Own Id: OTP-12316 Aux Id: seq12753 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.4.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Make <c>crypto</c> verify major version number of OpenSSL
	    header files and runtime library. Loading of
	    <c>crypto</c> will fail if there is a version mismatch.</p>
          <p>
	    Own Id: OTP-12146 Aux Id: seq12700 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix memory leak in <c>crypto:hmac_init/upgrade/final</c>
	    functions for all data and in <c>crypto:hmac/3/4</c> for
	    data larger than 20000 bytes. Bug exists since OTP 17.0.</p>
          <p>
	    Own Id: OTP-11953</p>
        </item>
        <item>
          <p>
	    Fix memory leak in <c>crypto</c> for elliptic curve.</p>
          <p>
	    Own Id: OTP-11999</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add <c>aes_cfb8</c> cypher to <c>crypto:block_encrypt</c>
	    and <c>block_decrypt</c>.</p>
          <p>
	    Own Id: OTP-11911</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix memory leaks and invalid deallocations in
	    <c>mod_pow</c>, <c>mod_exp</c> and
	    <c>generate_key(srp,...)</c> when bad arguments are
	    passed. (Thanks to Florian Zumbiehi)</p>
          <p>
	    Own Id: OTP-11550</p>
        </item>
        <item>
          <p>
	    Correction of the word 'ChipherText' throughout the
	    documentation (Thanks to Andrew Tunnell-Jones)</p>
          <p>
	    Own Id: OTP-11609</p>
        </item>
        <item>
          <p>
	    Fix fatal bug when using a hmac context variable in more
	    than one call to <c>hmac_update</c> or <c>hmac_final</c>.
	    The reuse of hmac contexts has never worked as the
	    underlying OpenSSL implementation does not support it. It
	    is now documented as having undefined behaviour, but it
	    does not crash or corrupt the VM anymore.</p>
          <p>
	    Own Id: OTP-11724</p>
        </item>
        <item>
          <p>
	    Crypto handles out-of-memory with a controlled abort
	    instead of crash/corruption. (Thanks to Florian Zumbiehi)</p>
          <p>
	    Own Id: OTP-11725</p>
        </item>
        <item>
          <p>
	    Application upgrade (appup) files are corrected for the
	    following applications: </p>
          <p>
	    <c>asn1, common_test, compiler, crypto, debugger,
	    dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe,
	    inets, observer, odbc, os_mon, otp_mibs, parsetools,
	    percept, public_key, reltool, runtime_tools, ssh,
	    syntax_tools, test_server, tools, typer, webtool, wx,
	    xmerl</c></p>
          <p>
	    A new test utility for testing appup files is added to
	    test_server. This is now used by most applications in
	    OTP.</p>
          <p>
	    (Thanks to Tobias Schlager)</p>
          <p>
	    Own Id: OTP-11744</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    By giving --enable-static-{nifs,drivers} to configure it
	    is now possible to statically linking of nifs and drivers
	    to the main Erlang VM binary. At the moment only the asn1
	    and crypto nifs of the Erlang/OTP nifs and drivers have
	    been prepared to be statically linked. For more details
	    see the Installation Guide in the System documentation.</p>
          <p>
	    Own Id: OTP-11258</p>
        </item>
        <item>
          <p>
	    Add IGE mode for AES cipher in crypto (Thanks to Yura
	    Beznos).</p>
          <p>
	    Own Id: OTP-11522</p>
        </item>
        <item>
          <p>
	    Moved elliptic curve definition from the crypto
	    NIF/OpenSSL into Erlang code, adds the RFC-5639 brainpool
	    curves and makes TLS use them (RFC-7027).</p>
          <p>
	    Thanks to Andreas Schultz</p>
          <p>
	    Own Id: OTP-11578</p>
        </item>
        <item>
          <p>
	    Remove all obsolete application processes from crypto and
	    make it into a pure library application.</p>
          <p>
	    Own Id: OTP-11619</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix uninitialized pointers in crypto (Thanks to Anthony
	    Ramine)</p>
          <p>
	    Own Id: OTP-11510</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Refactor ecdsa cipher to simplify code and improve
	    performance.</p>
          <p>
	    Own Id: OTP-11320</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 3.0</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Integrate elliptic curve contribution from Andreas
	    Schultz </p>
          <p>
	    In order to be able to support elliptic curve cipher
	    suites in SSL/TLS, additions to handle elliptic curve
	    infrastructure has been added to public_key and crypto.</p>
          <p>
	    This also has resulted in a rewrite of the crypto API to
	    gain consistency and remove unnecessary overhead. All OTP
	    applications using crypto has been updated to use the new
	    API.</p>
          <p>
	    Impact: Elliptic curve cryptography (ECC) offers
	    equivalent security with smaller key sizes than other
	    public key algorithms. Smaller key sizes result in
	    savings for power, memory, bandwidth, and computational
	    cost that make ECC especially attractive for constrained
	    environments.</p>
          <p>
	    Own Id: OTP-11009</p>
        </item>
        <item>
          <p>
	    Fixed a spelling mistake in crypto docs. Thanks to Klaus
	    Trainer</p>
          <p>
	    Own Id: OTP-11058</p>
        </item>
      </list>
    </section>


    <section><title>Known Bugs and Problems</title>
      <list>
        <item>
          <p>
	    Make the crypto functions interruptible by chunking input
	    when it is very large and bumping reductions in the nifs.</p>
          <p>
	    Not yet implemented for block_encrypt|decrypt/4</p>
          <p>
	    Impact: Individual calls to crypto functions may take
	    longer time but over all system performance should
	    improve as crypto calls will not become throughput
	    bottlenecks.</p>
          <p>
	    Own Id: OTP-11142</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Enable runtime upgrade of crypto including the OpenSSL
	    library used by crypto.</p>
          <p>
	    Own Id: OTP-10596</p>
        </item>
        <item>
          <p>
	    Improve documentation and tests for hmac functions in
	    crypto. Thanks to Daniel White</p>
          <p>
	    Own Id: OTP-10640</p>
        </item>
        <item>
          <p>
	    Added ripemd160 support to crypto. Thanks to Michael
	    Loftis</p>
          <p>
	    Own Id: OTP-10667</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Remove unnecessary dependency to libssl from crypto NIF
	    library. This dependency was introduced by accident in
	    R14B04.</p>
          <p>
	    Own Id: OTP-10064</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add crypto and public_key support for the hash functions
	    SHA224, SHA256, SHA384 and SHA512 and also hmac and
	    rsa_sign/verify support using these hash functions.
	    Thanks to Andreas Schultz for making a prototype.</p>
          <p>
	    Own Id: OTP-9908</p>
        </item>
        <item>
          <p>
	    Optimize RSA private key handling in <c>crypto</c> and
	    <c>public_key</c>.</p>
          <p>
	    Own Id: OTP-10065</p>
        </item>
        <item>
          <p>
	    Make <c>crypto:aes_cfb_128_encrypt</c> and
	    <c>crypto:aes_cfb_128_decrypt</c> handle data and cipher
	    with arbitrary length. (Thanks to Stefan Zegenhagen)</p>
          <p>
	    Own Id: OTP-10136</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    public_key, ssl and crypto now supports PKCS-8</p>
          <p>
	    Own Id: OTP-9312</p>
        </item>
        <item>
	    <p>Erlang/OTP can now be built using parallel make if you
	    limit the number of jobs, for instance using '<c>make
	    -j6</c>' or '<c>make -j10</c>'. '<c>make -j</c>' does not
	    work at the moment because of some missing
	    dependencies.</p>
          <p>
	    Own Id: OTP-9451</p>
        </item>
        <item>
          <p>
	    Add DES and Triple DES cipher feedback (CFB) mode
	    functions to <c>crypto</c>. (Thanks to Paul Guyot)</p>
          <p>
	    Own Id: OTP-9640</p>
        </item>
        <item>
          <p>
	    Add sha256, sha384 and sha512 support for
	    <c>crypto:rsa_verify</c>.</p>
          <p>
	    Own Id: OTP-9778</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.0.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    <c>crypto:rand_uniform</c> works correctly for negative
	    integers. Fails with <c>badarg</c> exception for invalid
	    ranges (when <c>Hi =&lt; Lo</c>) instead of returning
	    incorrect output.</p>
          <p>
	    Own Id: OTP-9526</p>
        </item>
        <item>
          <p>
	    Fix win32 OpenSSL static linking (Thanks to Dave
	    Cottlehuber)</p>
          <p>
	    Own Id: OTP-9532</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.0.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Various small documentation fixes (Thanks to Bernard
	    Duggan)</p>
          <p>
	    Own Id: OTP-9172</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    New <c>crypto</c> support for streaming of AES CTR and
	    HMAC. (Thanks to Travis Jensen)</p>
          <p>
	    Own Id: OTP-9275</p>
        </item>
        <item>
          <p>
	    Due to standard library DLL mismatches between versions
	    of OpenSSL and Erlang/OTP, OpenSSL is now linked
	    statically to the crypto driver on Windows. This fixes
	    problems starting crypto when running Erlang as a service
	    on all Windows versions.</p>
          <p>
	    Own Id: OTP-9280</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.0.2.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Strengthened random number generation. (Thanks to Geoff Cant)</p>
          <p>
	    Own Id: OTP-9225</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.0.2.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Misc. Updates.</p>
          <p>
	    Own Id: OTP-9132</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.0.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    AES CTR encryption support in <c>crypto</c>.</p>
          <p>
	    Own Id: OTP-8752 Aux Id: seq11642 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.0.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Crypto dialyzer type error in md5_mac and sha_mac.</p>
          <p>
	    Own Id: OTP-8718</p>
        </item>
        <item>
          <p>
	    RC4 stream cipher didn't work. This since the new NIF
	    implementation of <c>crypto:rc4_encrypt_with_state/2</c>
	    introduced in <c>crypto-2.0</c> didn't return an updated
	    state. (Thanks to Paul Guyot)</p>
          <p>
	    Own Id: OTP-8781</p>
        </item>
        <item>
          <p>
	    A number of memory leaks in the crypto NIF library have
	    been fixed.</p>
          <p>
	    Own Id: OTP-8810</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Added erlang:system_info(build_type) which makes it
	    easier to chose drivers, NIF libraries, etc based on
	    build type of the runtime system.</p>
          <p>
	    The NIF library for crypto can now be built for valgrind
	    and/or debug as separate NIF libraries that will be
	    automatically loaded if the runtime system has been built
	    with a matching build type.</p>
          <p>
	    Own Id: OTP-8760</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 2.0</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    crypto application changed to use NIFs instead of driver.</p>
          <p>
	    Own Id: OTP-8333</p>
        </item>
        <item>
          <p>
	    des_ecb_encrypt/2 and des_ecb_decrypt/2 has been added to
	    the crypto module. The crypto:md4/1 function has been
	    documented.</p>
          <p>
	    Own Id: OTP-8551</p>
        </item>
        <item>
	    <p>The undocumented, unsupported, and deprecated function
	    <c>lists:flat_length/1</c> has been removed.</p>
          <p>
	    Own Id: OTP-8584</p>
        </item>
        <item>
          <p>
	    New variants of <c>crypto:dss_sign</c> and
	    <c>crypto:dss_verify</c> with an extra argument to
	    control how the digest is calculated.</p>
          <p>
	    Own Id: OTP-8700</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 1.6.4</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
	    <p>Cross compilation improvements and other build system
	    improvements.</p>
	    <p>Most notable:</p> <list><item> Lots of cross
	    compilation improvements. The old cross compilation
	    support was more or less non-existing as well as broken.
	    Please, note that the cross compilation support should
	    still be considered as experimental. Also note that old
	    cross compilation configurations cannot be used without
	    modifications. For more information on cross compiling
	    Erlang/OTP see the <c>$ERL_TOP/INSTALL-CROSS.md</c> file.
	    </item><item> Support for staged install using <url
	    href="http://www.gnu.org/prep/standards/html_node/DESTDIR.html">DESTDIR</url>.
	    The old broken <c>INSTALL_PREFIX</c> has also been fixed.
	    For more information see the <c>$ERL_TOP/INSTALL.md</c>
	    file. </item><item> Documentation of the <c>release</c>
	    target of the top <c>Makefile</c>. For more information
	    see the <c>$ERL_TOP/INSTALL.md</c> file. </item><item>
	    <c>make install</c> now by default creates relative
	    symbolic links instead of absolute ones. For more
	    information see the <c>$ERL_TOP/INSTALL.md</c> file.
	    </item><item> <c>$ERL_TOP/configure --help=recursive</c>
	    now works and prints help for all applications with
	    <c>configure</c> scripts. </item><item> Doing <c>make
	    install</c>, or <c>make release</c> directly after
	    <c>make all</c> no longer triggers miscellaneous
	    rebuilds. </item><item> Existing bootstrap system is now
	    used when doing <c>make install</c>, or <c>make
	    release</c> without a preceding <c>make all</c>.
	    </item><item> The <c>crypto</c> and <c>ssl</c>
	    applications use the same runtime library path when
	    dynamically linking against <c>libssl.so</c> and
	    <c>libcrypto.so</c>. The runtime library search path has
	    also been extended. </item><item> The <c>configure</c>
	    scripts of <c>erl_interface</c> and <c>odbc</c> now
	    search for thread libraries and thread library quirks the
	    same way as ERTS do. </item><item> The
	    <c>configure</c> script of the <c>odbc</c> application
	    now also looks for odbc libraries in <c>lib64</c> and
	    <c>lib/64</c> directories when building on a 64-bit
	    system. </item><item> The <c>config.h.in</c> file in the
	    <c>erl_interface</c> application is now automatically
	    generated in instead of statically updated which reduces
	    the risk of <c>configure</c> tests without any effect.
	    </item></list>
	    <p>(Thanks to Henrik Riomar for suggestions and
	    testing)</p>
	    <p>(Thanks to Winston Smith for the AVR32-Linux cross
	    configuration and testing)</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-8323</p>
        </item>
        <item>
          <p>
	    The crypto module now supports Blowfish in ECB, CBC and
	    OFB modes. (Thanks to Paul Oliver.)</p>
          <p>
	    Own Id: OTP-8331</p>
        </item>
        <item>
	    <p>The documentation is now possible to build in an open
	    source environment after a number of bugs are fixed and
	    some features are added in the documentation build
	    process. </p>
	    <p>- The arity calculation is updated.</p>
	    <p>- The module prefix used in the function names for
	    bif's are removed in the generated links so the links
	    will look like
	    "http://www.erlang.org/doc/man/erlang.html#append_element-2"
	    instead of
	    "http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2".</p>
	    <p>- Enhanced the menu positioning in the html
	    documentation when a new page is loaded.</p>
	    <p>- A number of corrections in the generation of man
	    pages (thanks to Sergei Golovan)</p>
	    <p>- The legal notice is taken from the xml book file so
	    OTP's build process can be used for non OTP
	    applications.</p>
          <p>
	    Own Id: OTP-8343</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 1.6.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Suppressed false valgrind errors caused by libcrypto
	    using uninitialized data as entropy.</p>
          <p>
	    Own Id: OTP-8200</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The documentation is now built with open source tools
	    (xsltproc and fop) that exists on most platforms. One
	    visible change is that the frames are removed.</p>
          <p>
	    Own Id: OTP-8201</p>
        </item>
        <item>
          <p>
	    When the crypto application failed to load the
	    OpenSSL/LibEAY shared object, error indication was
	    sparse. Now a more specific error message is sent to the
	    error logger.</p>
          <p>
	    Own Id: OTP-8281</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 1.6.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            Fixed emulator crash caused by crypto using an old
            openssl version that did not cope with large file
            descriptors.</p>
          <p>
            Own Id: OTP-8261 Aux Id: seq11434 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 1.6.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    <c>Makefile.in</c> has been updated to use the LDFLAGS
	    environment variable (if set). (Thanks to Davide
	    Pesavento.)</p>
          <p>
	    Own Id: OTP-8157</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Support for Blowfish cfb64 added to <c>crypto</c>.</p>
          <p>
	    Own Id: OTP-8096</p>
        </item>
        <item>
          <p>
	    New function <c>crypto:aes_cbc_ivec</c></p>
          <p>
	    Own Id: OTP-8141</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 1.6</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The <c>dh_compute_key</c> sometimes returned a
	    SharedSecret of incorrect size.</p>
          <p>
	    Own Id: OTP-7674</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Optimization for drivers by creating small binaries
	    direct on process heap.</p>
          <p>
	    Own Id: OTP-7762</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 1.5.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            Added new functions: dss_verify/3, rsa_verify/3,
            rsa_verify/4, dss_sign/2, rsa_sign/2, rsa_sign/3,
            rsa_public_encrypt, rsa_private_decrypt/3,
            rsa_private_encrypt/3, rsa_public_decrypt/3,
            dh_generate_key/1, dh_generate_key/2, dh_compute_key/3.</p>
          <p>
            Own Id: OTP-7545</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 1.5.2.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Minor performance optimization.</p>
          <p>
	    Own Id: OTP-7521</p>
        </item>
      </list>
    </section>

</section>

<section><title>Crypto 1.5.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    ./configure has been improved to find 64-bit OpenSSL
	    libraries.</p>
          <p>
	    Own Id: OTP-7270</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    crypto and zlib drivers improved to allow concurrent smp
	    access.</p>
          <p>
	    Own Id: OTP-7262</p>
        </item>
      </list>
    </section>

</section>

  <section>
    <title>Crypto 1.5.1.1</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>The linked in driver for the crypto application is now
            linked statically against the OpenSSL libraries, to avoid
            installation and runtime problems in connection to the
            OpenSSL library locations.</p>
          <p>Own Id: OTP-6680</p>
        </item>
        <item>
          <p>Minor Makefile changes.</p>
          <p>Own Id: OTP-6689</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.5</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>It is now explicitly checked at start-up that the crypto
            driver is properly loaded (Thanks to Claes Wikstrom).</p>
          <p>Own Id: OTP-6109</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.4</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>The previously undocumented and UNSUPPORTED <c>ssh</c>
            application has been updated and documented. This release
            of the <c>ssh</c> application is still considered to be a
            beta release and (if necessary) there could still be
            changes in its API before it reaches 1.0.</p>
          <p>Also, more cryptographic algorithms have been added to
            the <c>crypto</c> application.</p>
          <p>*** POTENTIAL INCOMPATIBILITY ***</p>
          <p>Own Id: OTP-5631</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.3</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Added support for RFC 3826 - The Advanced Encryption Standard 
            (AES) Cipher Algorithm in the SNMP User-based Security Model.
                        <br></br>
Martin Bj&ouml;rklund</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.2.3</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>Linked in drivers in the crypto, and asn1 applications
            are now compiled with the -D_THREAD_SAFE and -D_REENTRANT
            switches on unix when the emulator has thread support
            enabled.</p>
          <p>Linked in drivers on MacOSX are not compiled with the
            undocumented -lbundle1.o switch anymore. Thanks to Sean
            Hinde who sent us a patch.</p>
          <p>Linked in driver in crypto, and port programs in ssl, now
            compiles on OSF1.</p>
          <p>Minor makefile improvements in runtime_tools.</p>
          <p>Own Id: OTP-5346</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.2.2</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Corrected error handling. If the port to the driver that
            crypto uses is unexpectedly closed (which should not
            happen during normal operation of crypto), crypto will
            terminate immediately (rather than crashing the next time
            crypto is used). Also corrected build problems on Mac OS
            X.</p>
          <p>Own Id: OTP-5279</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.2.1</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>It was not possible in R9 to relink the crypto driver.
            The object file was missing as well as an example
            makefile. The crypto driver object file is now released
            with the application (installed in priv/obj). An example
            makefile has also been added to the priv/obj directory.
            The makefile serves as an example of how to relink the
            driver on Unix (crypto_drv.so) or Windows
            (crypto_drv.dll).</p>
          <p>Own Id: OTP-4828 Aux Id: seq8193 </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.2</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Previous versions of Crypto where delivered with
            statically linked binaries based on SSLeay. That is not
            longer the case.  The current version of Crypto requires
            dynamically linked OpenSSL libraries that the user has to
            install. The library needed is <c>libcrypto.so</c> (Unix)
            or <c>libeay32.[lib|dll]</c> (Win32). For further details
            see the crypto(6) application manual page.</p>
        </item>
        <item>
          <p>This version of Crypto uses the new DES interface of
            OpenSSL 0.9.7, which is not backward compatible with
            earlier versions of OpenSSL.
            </p>
        </item>
        <item>The functions <c>des_ede3_cbc_encrypt/5</c> and
        <c>des_ede3_cbc_decrypt/5</c> have been renamed to
        <c>des3_cbc_encrypt/5</c> and <c>des3_cbc_decrypt/5</c>,
         respectively. The old functions have been retained (they are
         deprecated and not listed in the crypto(3) manual page).</item>
      </list>
    </section>

    <section>
      <title>Reported Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>The start of crypto failed on Windows, due to erroneous addition
            of a DES3 algorithm.</p>
          <p>Own Id: OTP-4684
                        <br></br>
Aux Id: seq7864</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.1.3</title>

    <section>
      <title>Reported Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>To obtain backward compatibility with the old SSLeay
         package, and with earlier versions of OpenSSL, the macro
         OPENSSL_DES_LIBDES_COMPATIBILITY has been added to
        <c>crypto_drv.c</c>. This is of importance only for the open
         source version of Crypto.
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.1.2</title>

    <section>
      <title>Reported Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>In the manual page <c>crypto(3)</c> the function names
            <c>md5_finish</c> and <c>sha_finish</c> have been changed to
            <c>md5_final</c> and <c>sha_final</c> to correctly document
            the implementation.</p>
          <p>Own Id: OTP-3409
            </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.1.1</title>
    <p>Code replacement in runtime is supported. Upgrade can be done from
      from version 1.1 and downgrade to version 1.1.
      </p>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>The driver part of the Crypto application has been
            updated to use the erl_driver header file. Version 1.1.1
            requires emulator version 4.9.1 or later.</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.1</title>

    <section>
      <title>Reported Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>On Windows the crypto_drv was incorrectly linked to
            static run-time libraries instead of dynamic ones.</p>
          <p>Own Id: OTP-3240
            </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Crypto 1.0</title>
    <p>New application.
      </p>
  </section>
</chapter>