Home GnuPG

tests: Add basic test-vectors for SM4

Description

tests: Add basic test-vectors for SM4

* tests/basic.c (check_ciphers): Add SM4 check and test-vectors.

The added test vectors are from:
https://tools.ietf.org/html/draft-ribose-cfrg-sm4-10#appendix-A.2

  • Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>

Details

Provenance
Tianjia Zhang <tianjia.zhang@linux.alibaba.com>Authored on Jun 16 2020, 11:09 AM
jukiviliCommitted on Jun 16 2020, 8:44 PM
Parents
rCddcce166ab8b: Add SM4 symmetric cipher algorithm
Branches
Unknown
Tags
Unknown

Event Timeline

jukivili committed rCc1535d0b8797: tests: Add basic test-vectors for SM4 (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).Jun 16 2020, 8:44 PM