@@ -13,7 +13,7 @@ module.exports = function() {
1313 ] ) ,
1414 data : Buffer . from ( [ 0x00 , 0x01 , 0x02 , 0x03 ] ) ,
1515 customization : undefined ,
16- length : 256 ,
16+ outputLength : 256 ,
1717 expected : Buffer . from ( [
1818 0xe5 , 0x78 , 0x0b , 0x0d , 0x3e , 0xa6 , 0xf7 , 0xd3 , 0xa4 , 0x29 , 0xc5 , 0x70 ,
1919 0x6a , 0xa4 , 0x3a , 0x00 , 0xfa , 0xdb , 0xd7 , 0xd4 , 0x96 , 0x28 , 0x83 , 0x9e ,
@@ -30,7 +30,7 @@ module.exports = function() {
3030 ] ) ,
3131 data : Buffer . from ( [ 0x00 , 0x01 , 0x02 , 0x03 ] ) ,
3232 customization : Buffer . from ( 'My Tagged Application' ) ,
33- length : 256 ,
33+ outputLength : 256 ,
3434 expected : Buffer . from ( [
3535 0x3b , 0x1f , 0xba , 0x96 , 0x3c , 0xd8 , 0xb0 , 0xb5 , 0x9e , 0x8c , 0x1a , 0x6d ,
3636 0x71 , 0x88 , 0x8b , 0x71 , 0x43 , 0x65 , 0x1a , 0xf8 , 0xba , 0x0a , 0x70 , 0x70 ,
@@ -47,7 +47,7 @@ module.exports = function() {
4747 ] ) ,
4848 data : Buffer . from ( Array . from ( { length : 200 } , ( _ , i ) => i ) ) , // 0x00-0xC7
4949 customization : Buffer . from ( 'My Tagged Application' ) ,
50- length : 256 ,
50+ outputLength : 256 ,
5151 expected : Buffer . from ( [
5252 0x1f , 0x5b , 0x4e , 0x6c , 0xca , 0x02 , 0x20 , 0x9e , 0x0d , 0xcb , 0x5c , 0xa6 ,
5353 0x35 , 0xb8 , 0x9a , 0x15 , 0xe2 , 0x71 , 0xec , 0xc7 , 0x60 , 0x07 , 0x1d , 0xfd ,
@@ -64,7 +64,7 @@ module.exports = function() {
6464 ] ) ,
6565 data : Buffer . from ( [ 0x00 , 0x01 , 0x02 , 0x03 ] ) ,
6666 customization : Buffer . from ( 'My Tagged Application' ) ,
67- length : 512 ,
67+ outputLength : 512 ,
6868 expected : Buffer . from ( [
6969 0x20 , 0xc5 , 0x70 , 0xc3 , 0x13 , 0x46 , 0xf7 , 0x03 , 0xc9 , 0xac , 0x36 , 0xc6 ,
7070 0x1c , 0x03 , 0xcb , 0x64 , 0xc3 , 0x97 , 0x0d , 0x0c , 0xfc , 0x78 , 0x7e , 0x9b ,
@@ -84,7 +84,7 @@ module.exports = function() {
8484 ] ) ,
8585 data : Buffer . from ( Array . from ( { length : 200 } , ( _ , i ) => i ) ) , // 0x00-0xC7
8686 customization : undefined ,
87- length : 512 ,
87+ outputLength : 512 ,
8888 expected : Buffer . from ( [
8989 0x75 , 0x35 , 0x8c , 0xf3 , 0x9e , 0x41 , 0x49 , 0x4e , 0x94 , 0x97 , 0x07 , 0x92 ,
9090 0x7c , 0xee , 0x0a , 0xf2 , 0x0a , 0x3f , 0xf5 , 0x53 , 0x90 , 0x4c , 0x86 , 0xb0 ,
@@ -104,7 +104,7 @@ module.exports = function() {
104104 ] ) ,
105105 data : Buffer . from ( Array . from ( { length : 200 } , ( _ , i ) => i ) ) , // 0x00-0xC7
106106 customization : Buffer . from ( 'My Tagged Application' ) ,
107- length : 512 ,
107+ outputLength : 512 ,
108108 expected : Buffer . from ( [
109109 0xb5 , 0x86 , 0x18 , 0xf7 , 0x1f , 0x92 , 0xe1 , 0xd5 , 0x6c , 0x1b , 0x8c , 0x55 ,
110110 0xdd , 0xd7 , 0xcd , 0x18 , 0x8b , 0x97 , 0xb4 , 0xca , 0x4d , 0x99 , 0x83 , 0x1e ,
0 commit comments