update package level comments

This commit is contained in:
Emman 2022-04-20 08:36:44 +08:00
parent 772beacfb0
commit 0a827de266
7 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,3 @@
// https://www.ibm.com/docs/en/linux-on-systems?topic=processes-ansi-x923-cipher-block-chaining
package padding
import (
@ -7,6 +6,7 @@ import (
"github.com/emmansun/gmsm/internal/subtle"
)
// https://www.ibm.com/docs/en/linux-on-systems?topic=processes-ansi-x923-cipher-block-chaining
type ansiX923Padding uint
func (pad ansiX923Padding) BlockSize() int {

View File

@ -1,4 +1,4 @@
// https://datatracker.ietf.org/doc/html/rfc5652#section-6.3
// Package padding handle padding octets at the trailing end
package padding
import (
@ -7,6 +7,7 @@ import (
"github.com/emmansun/gmsm/internal/subtle"
)
// https://datatracker.ietf.org/doc/html/rfc5652#section-6.3
type pkcs7Padding uint
func (pad pkcs7Padding) BlockSize() int {

View File

@ -1,3 +1,4 @@
// Package rc5 handle rc5 symmetric encryption algorithm
package rc5
import (

View File

@ -1,3 +1,4 @@
// Package sm2 handle shangmi sm2 algorithm and its curve implementation
package sm2
// Further references:

View File

@ -1,3 +1,4 @@
// Package sm3 handle shangmi sm3 hash algorithm
package sm3
// [GM/T] SM3 GB/T 32905-2016

View File

@ -1,3 +1,4 @@
// Package sm4 handle shangmi sm4 symmetric encryption algorithm
package sm4
import (

View File

@ -1,3 +1,4 @@
// Package zuc handle shangmi zuc stream cipher
package zuc
import (