| /netbsd-src/crypto/external/bsd/openssl/lib/libcrypto/ |
| H A D | sm2.inc | 1 # $NetBSD: sm2.inc,v 1.2 2023/05/06 17:07:23 christos Exp $ 3 .PATH: ${OPENSSLSRC}/crypto/sm2 14 CPPFLAGS.${cryptosrc} += -I${OPENSSLSRC}/crypto/sm2 ${SM2CPPFLAGS}
|
| H A D | srcs.inc | 62 sm2.inc \
|
| /netbsd-src/crypto/external/bsd/openssl.old/lib/libcrypto/ |
| H A D | sm2.inc | 1 # $NetBSD: sm2.inc,v 1.1.1.1 2023/04/18 14:19:04 christos Exp $ 3 # SRCS extracted from src/crypto/dist/openssl/crypto/sm2/Makefile 6 .PATH: ${OPENSSLSRC}/crypto/sm2
|
| H A D | srcs.inc | 54 sm2.inc \
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/ |
| H A D | encoders.inc | 65 ENCODER_TEXT("SM2", sm2, no), 114 ENCODER_w_structure("SM2", sm2, no, der, type_specific_no_pub), 115 ENCODER_w_structure("SM2", sm2, no, pem, type_specific_no_pub), 116 ENCODER("SM2", sm2, no, blob), 213 ENCODER_w_structure("SM2", sm2, no, der, EncryptedPrivateKeyInfo), 214 ENCODER_w_structure("SM2", sm2, no, pem, EncryptedPrivateKeyInfo), 215 ENCODER_w_structure("SM2", sm2, no, der, PrivateKeyInfo), 216 ENCODER_w_structure("SM2", sm2, no, pem, PrivateKeyInfo), 217 ENCODER_w_structure("SM2", sm2, no, der, SubjectPublicKeyInfo), 218 ENCODER_w_structure("SM2", sm2, no, pem, SubjectPublicKeyInfo),
|
| H A D | decoders.inc | 70 DECODER_w_structure("SM2", der, PrivateKeyInfo, sm2, no), 71 DECODER_w_structure("SM2", der, SubjectPublicKeyInfo, sm2, no),
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/ |
| H A D | encode_key2any.c | 1327 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, der); 1346 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, pem); 1400 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, der); 1401 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, pem); 1402 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, PrivateKeyInfo, der); 1403 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, PrivateKeyInfo, pem); 1404 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, der); 1405 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, pem); 1457 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SM2, der); 1458 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SM2, pem);
|
| H A D | encode_key2blob.c | 177 MAKE_BLOB_ENCODER(sm2, ec, PUBLIC_KEY);
|
| /netbsd-src/sys/altq/ |
| H A D | altq_hfsc.h | 206 u_int64_t sm2; /* scaled slope of the 2nd segment */ member 218 u_int64_t sm2; /* scaled slope of the 2nd segment */ member
|
| H A D | altq_hfsc.c | 939 if (cl->cl_rsc->sm1 <= cl->cl_rsc->sm2) { in init_ed() 1484 isc->sm2 = m2sm(sc->m2); in sc2isc() 1502 rtsc->sm2 = isc->sm2; in rtsc_init() 1544 + seg_x2y(x - rtsc->x - rtsc->dx, rtsc->sm2); in rtsc_x2y() 1558 if (isc->sm1 <= isc->sm2) { in rtsc_min() 1595 * seg_x2y(dx, sm1) == seg_x2y(dx, sm2) + (y1 - y) in rtsc_min() 1597 dx = ((y1 - y) << SM_SHIFT) / (isc->sm1 - isc->sm2); in rtsc_min() 1622 sp->rsc.m2 = sm2m(cl->cl_rsc->sm2); in get_class_stats() 1631 sp->fsc.m2 = sm2m(cl->cl_fsc->sm2); in get_class_stats() [all...] |
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/common/der/ |
| H A D | build.info | 86 IF[{- !$disabled{sm2} -}] 113 IF[{- !$disabled{sm2} -}]
|
| H A D | SM2.asn1 | 14 sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/asymciphers/ |
| H A D | build.info | 9 IF[{- !$disabled{"sm2"} -}]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/err/ |
| H A D | openssl.ec | 35 L SM2 include/crypto/sm2.h crypto/sm2/sm2_err.c
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/util/ |
| H A D | fix-includes.sed | 2 …gine.h|lhash.h|md32_common.h|objects.h|poly1305.h|sha.h|siphash.h|sm2err.h|sm2.h|sm3.h|sm4.h|store…
|
| /netbsd-src/crypto/external/bsd/openssl/dist/util/ |
| H A D | fix-includes.sed | 2 …gine.h|lhash.h|md32_common.h|objects.h|poly1305.h|sha.h|siphash.h|sm2err.h|sm2.h|sm4.h|sparse_arra…
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/signature/ |
| H A D | build.info | 18 IF[{- !$disabled{sm2} -}]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/ |
| H A D | evpmd_sm3.txt | 16 # From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
|
| H A D | evppkey_sm2.txt | 84 Ctrl = group:sm2
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/objects/ |
| H A D | obj_xref.txt | 68 SM2_with_SM3 sm3 sm2
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| H A D | tegra20-tamonten.dtsi | 347 vin-sm2-supply = <&sys_reg>; 374 sm2_reg: sm2 {
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/ |
| H A D | EVP_PKEY-SM2.pod | 59 Currently, the only valid algorithm name is B<sm2>.
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/ |
| H A D | ec_kmgmt.c | 636 int common_get_params(void *key, OSSL_PARAM params[], int sm2) in common_get_params() argument 715 if (!sm2) { in common_get_params() 726 if (!sm2) { in common_get_params()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/ |
| H A D | build.info | 7 seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| H A D | ec_key.c | 260 int sm2 = EC_KEY_get_flags(eckey) & EC_FLAG_SM2_RANGE ? 1 : 0; in ec_generate_key() local 292 if (sm2) { in ec_generate_key()
|