aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/init_alg.go
Commit message (Collapse)AuthorAgeFilesLines
* all: tools/syz-env make generate resultTaras Madan2023-02-241-2/+4
|
* sys/linux: update crypto algorithms listDmitry Vyukov2021-03-211-16/+63
| | | | Add some arm/arm64 algs + some missing x86 algs.
* prog: introduce Field typeDmitry Vyukov2020-05-021-10/+10
| | | | | | | | | | | | | Remvoe FieldName from Type and add a separate Field type that holds field name. Use Field for struct fields, union options and syscalls arguments, only these really have names. Reduces size of sys/linux/gen/amd64.go from 5665583 to 5201321 (-8.2%). Allows to not create new type for squashed any pointer. But main advantages will follow, e.g. removing StructDesc, using TypeRef in Arg, etc. Update #1580
* prog: remove Dir from TypeDmitry Vyukov2020-05-011-20/+21
| | | | | | | | | | | | | | | | | | Having Dir is Type is handy, but forces us to duplicate lots of types. E.g. if a struct is referenced as both in and out, then we need to have 2 copies and 2 copies of structs/types it includes. If also prevents us from having the struct type as struct identity (because we can have up to 3 of them). Revert to the old way we used to do it: propagate Dir as we walk syscall arguments. This moves lots of dir passing from pkg/compiler to prog package. Now Arg contains the dir, so once we build the tree, we can use dirs as before. Reduces size of sys/linux/gen/amd64.go from 6058336 to 5661150 (-6.6%). Update #1580
* sys/linux/init_alg.go: add new algorithmsEric Biggers2019-11-251-0/+25
| | | | | | | | Add new crypto algorithms from linux-next (future v5.5): - BLAKE2b and BLAKE2s - "-arm" implementations of ChaCha and XChaCha - "-arm" and "-neon" implementations of Poly1305
* sys/linux: update to current linux-nextDmitry Vyukov2019-11-251-20/+20
| | | | | | | | Regenerate consts on linux-next next-20191125. DEVLINK_ATTR_NETNS_* consts were chifted by 1. __BPF_FUNC_MAX_ID increased as usual. CRYPTO_ALG_TYPE_BLKCIPHER, CRYPTO_ALG_TYPE_ABLKCIPHER were removed, replace them with CRYPTO_ALG_TYPE_SKCIPHER.
* sys/linux/init_alg.go: add new algorithmsEric Biggers2019-10-091-0/+4
| | | | | - Add essiv (new in v5.4) - Add xxhash64 (new in v5.3)
* sys/linux/init_alg.go: update algorithmsEric Biggers2019-01-021-6/+64
| | | | | | | | | | | | | | | - Add arm64 implementations of various algorithms (these are usually named -arm64, -neon, or -ce) - Add missing x86 SHA-NI algorithms (sha*-ni) - Add adiantum (new in v4.20) - Add streebog256 (new in v4.20) - Add streebog512 (new in v4.20) - Add vmac64 (new in v4.19) - Add xchacha12 (new in v4.20) - Add xchacha20 (new in v4.20) - Remove speck128 (was removed soon after being added to kernel) - Remove speck64 (likewise) - Move sm4 from hash list to cipher list
* sys/linux/init_alg.go: sort the algorithm namesEric Biggers2019-01-021-241/+241
| | | | | Sort the lists of crypto algorithms lexicographically to make it easier to see which algorithms are included and decide where to add new ones.
* sys/linux: add "ofb" crypto-somethingDmitry Vyukov2018-10-281-0/+1
|
* .gometalinter.json: enable gofmtDmitry Vyukov2018-07-311-5/+5
| | | | | | | The part that we want from gofmt is simplify (-s). Fix all code that needs fixing. Update #538
* sys/linux: add missing generic crypto algsOndrej Mosnacek2018-06-111-0/+5
|
* sys/linux: add MORUS and AEGIS AEAD algorithmsOndrej Mosnacek2018-06-041-0/+11
|
* sys/linux: add few new crypto algorithmsDmitry Vyukov2018-04-101-0/+7
|
* prog: return concrete arg types from Make functionsDmitry Vyukov2018-02-241-2/+2
| | | | This removes a bunch of type assertions and makes code type safer.
* sys/linux: extend netfilter descriptionsDmitry Vyukov2018-01-271-7/+8
|
* sys/linux: add AF_NETLINK/NETLINK_CRYPTO descriptionsDmitry Vyukov2018-01-091-4/+9
|
* sys/linux: netlink xfrm supportDmitry Vyukov2017-12-311-6/+24
|
* sys/linux: improve hash generation for KEYCTL_DH_COMPUTEDmitry Vyukov2017-11-271-0/+9
| | | | | | | KEYCTL_DH_COMPUTE used the old fixed list of algorithm names. Use the new code for algorithm generation. + it needs only SHASH algs, but we passed in all alg names. Pass only SHASH algs.
* sys/linux: remove crypto algs starting with __Dmitry Vyukov2017-11-241-100/+3
| | | | These can't be created from user-space.
* sys/linux: prefix non-autogenerated files with init_Dmitry Vyukov2017-11-241-0/+506