mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-21 17:56:19 +08:00
update package level comments
This commit is contained in:
parent
772beacfb0
commit
0a827de266
@ -1,4 +1,3 @@
|
|||||||
// https://www.ibm.com/docs/en/linux-on-systems?topic=processes-ansi-x923-cipher-block-chaining
|
|
||||||
package padding
|
package padding
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -7,6 +6,7 @@ import (
|
|||||||
"github.com/emmansun/gmsm/internal/subtle"
|
"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
|
type ansiX923Padding uint
|
||||||
|
|
||||||
func (pad ansiX923Padding) BlockSize() int {
|
func (pad ansiX923Padding) BlockSize() int {
|
||||||
|
@ -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
|
package padding
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -7,6 +7,7 @@ import (
|
|||||||
"github.com/emmansun/gmsm/internal/subtle"
|
"github.com/emmansun/gmsm/internal/subtle"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// https://datatracker.ietf.org/doc/html/rfc5652#section-6.3
|
||||||
type pkcs7Padding uint
|
type pkcs7Padding uint
|
||||||
|
|
||||||
func (pad pkcs7Padding) BlockSize() int {
|
func (pad pkcs7Padding) BlockSize() int {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// Package rc5 handle rc5 symmetric encryption algorithm
|
||||||
package rc5
|
package rc5
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// Package sm2 handle shangmi sm2 algorithm and its curve implementation
|
||||||
package sm2
|
package sm2
|
||||||
|
|
||||||
// Further references:
|
// Further references:
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// Package sm3 handle shangmi sm3 hash algorithm
|
||||||
package sm3
|
package sm3
|
||||||
|
|
||||||
// [GM/T] SM3 GB/T 32905-2016
|
// [GM/T] SM3 GB/T 32905-2016
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// Package sm4 handle shangmi sm4 symmetric encryption algorithm
|
||||||
package sm4
|
package sm4
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// Package zuc handle shangmi zuc stream cipher
|
||||||
package zuc
|
package zuc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user