嵌入式系统中的加解密签名(2)--- mbedtls认识与使用

笔者来介绍一下mbedtls认识与使用

1、mbedtls认识

mbedtls(Embedded TLS),是嵌入式里面实现的TLS协议,用C语言实现。相关的TLS协议以及加密等知识可以看笔者上一篇文章----嵌入式系统中的加解密签名。
基本特点如下图所示:
在这里插入图片描述
仓库地址:Mbedtls。
特点:

  • 面向小型嵌入式设备,代码紧凑, 60KB ROM和64KB RAM
  • 高度模块化的设计
  • 完全开源,Apache 或GPL 2.0 双重许可
  • 分为三部分:SSL/TLS 协议,加密库, X.509 证书
    在这里插入图片描述
    在这里插入图片描述
    通过看到源文件,可以看到里面有基本的算法文件。
    哈希算法:比如sha1、sha3、sha256、sha512、MD以及MD5等。
    对称加密算法:AES、DES等
    非对称加密算法:rsa,psa等

2、mbedtls编译与使用

2.1 Make编译以及测试

步骤:

  1. make WINDOWS_BUILD=1
  2. make WINDOWS_BUILD=1 check

问题1:可能会碰到头文件找不到的情况

error.c: In function 'mbedtls_strerror':
error.c:98:26: error: 'MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE' undeclared (first use in this function); did you mean 'MBEDTLS_SSL_ALL_ALERT_MESSAGES'?98 |         if (use_ret == -(MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE)) {|                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|                          MBEDTLS_SSL_ALL_ALERT_MESSAGES
error.c:98:26: note: each undeclared identifier is reported only once for each function it appears in
Makefile:338: recipe for target 'error.o' failed
make[1]: *** [error.o] Error 1
Makefile:32: recipe for target 'lib' failed
make: *** [lib] Error 2

解决问题:error C文件中包含:ssl.h文件,即可解决编译问题
在这里插入图片描述

问题2:找不到链接库的问题:

  CC    aes/crypt_and_hash.c
D:/SoftWare/Mingw-w64/msys2+mingw64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../library/libmbedtls.a: error adding symbols: archive has no index; run ranlib to add one
collect2.exe: error: ld returned 1 exit status
Makefile:150: recipe for target 'aes/crypt_and_hash' failed
make[1]: *** [aes/crypt_and_hash] Error 1
Makefile:29: recipe for target 'programs' failed
make: *** [programs] Error 2

笔者发现这个链接问题( …/library/libmbedtls.a: error adding symbols: archive has no index; run ranlib to add one),是libmbedtls生成的有问题,然后笔者怀疑是版本有问题,就尝试高版本的GCC,后来发现高版本的GCC确实可以链接过
笔者这里用的是GCC12版本

D:/SoftWare/Mingw-w64/msys2+mingw64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../library/libmbedx509.a(x509_crt.o):x509_crt.c:(.text+0xd38): undefined reference to `__imp_inet_pton'
D:/SoftWare/Mingw-w64/msys2+mingw64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../library/libmbedx509.a(x509_crt.o):x509_crt.c:(.text+0xd57): undefined reference to `__imp_inet_pton'
D:/SoftWare/Mingw-w64/msys2+mingw64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../library/libmbedcrypto.a(entropy_poll.o):entropy_poll.c:(.text+0x43): undefined reference to `BCryptGenRandom'
collect2.exe: error: ld returned 1 exit status
Makefile:150: recipe for target 'aes/crypt_and_hash' failed
make[1]: *** [aes/crypt_and_hash] Error 1
Makefile:29: recipe for target 'programs' failed
make: *** [programs] Error 2

继续编译,又发现链接问题,笔者去网上搜了一下这个库(undefined reference to `BCryptGenRandom’),微软的随机库需要链接这个库,bcrypt,然后尝试手动链接,发现确实可以,这个库的名词还是偶然发现的,图二里面有Bcrypt.lib 或者Bcrypt.dll
在这里插入图片描述

在这里插入图片描述
其次undefined reference to `__imp_inet_pton’,这个库没有,笔者去代码里面搜索了一下,发现是网络相关,IPV4或者IPV6,然后就明白了,有个ws2_32库,windows socket2 32位版本的,与网络相关的,就可以链接过。
在这里插入图片描述
最后笔者发现编译这个库文件需要设置windows的定义,然后就会包括这个两个库,草率了,编译read me也提到了。
编译命令:make WINDOWS_BUILD=1

ifdef WINDOWS_BUILDDLEXT=dllEXEXT=.exeLOCAL_LDFLAGS += -lws2_32 -lbcryptifdef SHAREDSHARED_SUFFIX=.$(DLEXT)endif

然后笔者就打印出来了相关的链接Flag,然后就可以了。

../tests/src/certs.o  -L../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt

问题3:找不到python库的问题,

Traceback (most recent call last):File "D:\workspace\embeddedTeam\Mbedtls\Test\mbedtls\framework\scripts\generate_test_cert_macros.py", line 15, in <module>import jinja2
ModuleNotFoundError: No module named 'jinja2'
Makefile:153: recipe for target 'src/test_certs.h' failed
make[1]: *** [src/test_certs.h] Error 1
Makefile:41: recipe for target 'mbedtls_test' failed
make: *** [mbedtls_test] Error 2

这个问题就直接安装jinja2就好了,安装完成就可以执行了。

问题4:测试无法执行的问题:

  CC    test_suite_psa_crypto_memory.c
Option skip requires an argument
Died at scripts/run-test-suites.pl line 36.
Makefile:239: recipe for target 'check' failed
make[1]: *** [check] Error 255
Makefile:178: recipe for target 'check' failed
make: *** [check] Error 2

考虑注释掉下面这几行就可以进行测试了。
在这里插入图片描述
在这里插入图片描述

2.3 Cmake编译以及测试

首先创建Cmake的文件生成目录,然后再进行编译,不然Cmake生成的文件都在本仓库里面,会显的很乱(下图1)。
图1
在这里插入图片描述
图二
在这里插入图片描述

  1. 首先创建cmake目录,并进入目录
  2. 其次,生成cmake cache list,cmake …/mbedtls/CMakeLists.txt
  3. 接着,cmake 编译,cmake --build .

编译使用VC编译器进行编译。

D:\workspace\embeddedTeam\Mbedtls\Test\Cmake>cmake  ../mbedtls/CMakeLists.txt
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.29.30141.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/SoftWare/VisualStdio/System/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Python3: D:/SoftWare/Python39/System/python3.exe (found version "3.9.0") found components: Interpreter
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: D:/workspace/embeddedTeam/Mbedtls/Test/Cmake

编译的库位置:library/Debug目录,主要就是这三个库,mbedtls.lib、mbedx509.lib和mbedcryptp.lib
在这里插入图片描述

3、mbedtls代码测试

3.1 加密以及解密程序

打开程序目录,可以看到pk_encrypt以及pk_decrypt 加密以及解密程序,笔者尝试用python调用来进行测试。

from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives.asymmetric import rsa
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.asymmetric import padding
import argparse
import base64
import subprocessdef run_excute_cmd(excute_cmd, arg1, arg2=None):if arg2 == None:# 调用可执行文件result = subprocess.run([excute_cmd, arg1], capture_output=True, text=True)else:# 调用可执行文件result = subprocess.run([excute_cmd, arg1, arg2], capture_output=True, text=True)# 获取返回码print("Return code:", result.returncode)# 获取标准输出print("Standard output:", result.stdout)# 获取标准错误print("Standard error:", result.stderr)def generate_key():# 生成私钥private_key = rsa.generate_private_key(public_exponent=65537,key_size=2048,backend=default_backend())# 生成公钥public_key = private_key.public_key()# 将私钥和公钥序列化为PEM格式private_pem = private_key.private_bytes(encoding=serialization.Encoding.PEM,format=serialization.PrivateFormat.TraditionalOpenSSL,encryption_algorithm=serialization.NoEncryption())public_pem = public_key.public_bytes(encoding=serialization.Encoding.PEM,format=serialization.PublicFormat.SubjectPublicKeyInfo)# 打印私钥和公钥print(private_pem.decode('utf-8'))print(public_pem.decode('utf-8'))# 写入文件内容with open("./public_key.bin", 'w') as f:f.write(public_pem.decode('utf-8'))# 写入文件内容with open("./private_key.bin", 'w') as f:f.write(private_pem.decode('utf-8'))return private_key,public_keydef cal_file_sign(private_key, file_name):# 读取文件内容with open(file_name, 'rb') as f:data = f.read()# 使用私钥对文件进行签名signature = private_key.sign(data,padding.PKCS1v15(),hashes.SHA256())print(signature)# # 将签名写入文件# with open('signature', 'wb') as f:#     f.write(signature)base64_encoded = base64.b64encode(signature)print(base64_encoded)return signaturedef check_file_sign(public_key, file_name, signature):# 读取文件内容with open(file_name, 'rb') as f:message = f.read()# 使用公钥验证签名try:public_key.verify(signature,message,padding.PKCS1v15(),hashes.SHA256())print("签名验证成功,消息未被篡改。")except Exception as e:print(f"签名验证失败: {e}")if  __name__ == '__main__':args_parser = argparse.ArgumentParser()args_parser.add_argument("--file_path", type=str, help="file path")args = args_parser.parse_args()private_key,public_key = generate_key()# 读取文件内容with open(args.file_path, 'rb') as f:data = f.read()print("source data:{}".format(data))run_excute_cmd("D:\workspace\embeddedTeam\Mbedtls\mbedtls\include\pk_encrypt.exe", "./public_key.bin", data)# 读取文件内容with open("result-enc.txt", 'rb') as f:data = f.read()print("encrypt data:{}".format(data))run_excute_cmd("D:\workspace\embeddedTeam\Mbedtls\mbedtls\include\pk_decrypt.exe", "./private_key.bin")

结果可以看到如下:源数据经过加密和解密之后数据一致。
在这里插入图片描述

3.2 验签程序

笔者在python里面计算签名,然后拷贝到C程序里面进行验签,发现可以验证通过。
注意:公钥注意换行值‘\n’的输入。

#include "mbedtls/pk.h"
#include "mbedtls/md.h"
#include "mbedtls/base64.h"
#include "mbedtls/entropy.h"
#include "mbedtls/ctr_drbg.h"
#include "string.h"
#include <stdlib.h>#define SIGNATURE_MAX_SIZE  256int rsa_pkcs1v15_sha256_sign(const unsigned char *msg, size_t msg_len,const char *priavte_key_pem, char *sign_base64, int sign_len)
{mbedtls_pk_context pk;mbedtls_entropy_context entropy;mbedtls_ctr_drbg_context ctr_drbg;uint8_t sig_buff[SIGNATURE_MAX_SIZE];unsigned char hash[32] = {0};size_t sig_len = 0;int ret = 0;char *b64_out = NULL;int b64_len = 0;const char *pers = "mbedtls_pk_sign";       // Personalization data,// that is device-specific identifiers. Can be NULL.// 初始化随机数生成器mbedtls_entropy_init( &entropy );mbedtls_ctr_drbg_init( &ctr_drbg );//初始化上下文mbedtls_pk_init( &pk );mbedtls_ctr_drbg_seed( &ctr_drbg,mbedtls_entropy_func,&entropy,(const unsigned char *) pers,strlen( pers ) );//导入私钥ret = mbedtls_pk_parse_key(&pk, (const unsigned char *)priavte_key_pem,\strlen(priavte_key_pem)+1,\NULL, 0, NULL, 0);if(ret != 0){ret = -1;goto exit;}// 计算 sha256 消息摘要ret = mbedtls_md(mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ),(const unsigned char *)msg, msg_len, hash);if(ret != 0){ret = -1;goto exit;}// 签名ret = mbedtls_pk_sign(&pk, MBEDTLS_MD_SHA256, hash, sizeof (hash), sig_buff, sizeof(sig_buff), &sig_len, mbedtls_ctr_drbg_random, &ctr_drbg);if(ret != 0){ret = -1;goto exit;}b64_out = malloc(sig_len*2);if(b64_out == NULL){ret = -1;goto exit;}// 对签名数据进行 base64 编码ret = mbedtls_base64_encode((unsigned char *)b64_out, sig_len*2,(size_t *)&b64_len, (unsigned char *)sig_buff, (size_t)sig_len);if(ret != 0){ret = -1;goto exit;}if(sign_len<b64_len){ret = -1;goto exit;}strncpy(sign_base64, b64_out, sign_len);exit:if(b64_out){free(b64_out);}mbedtls_pk_free( &pk );mbedtls_ctr_drbg_free( &ctr_drbg );mbedtls_entropy_free( &entropy );return ret;}
/*** @brief rsa_pkcs1v15_sha256_verify* * @param [in] msg* @param [in] msg_len* @param [in] public_key_pem* @param [in] sign_base64* @return int *  -- 0  verify pass*  -- -1 verify faild*/
int rsa_pkcs1v15_sha256_verify(const unsigned char *msg, size_t msg_len,const char *public_key_pem, const char *sign_base64)
{mbedtls_pk_context pk = {0};unsigned char hash[32] = {0};int ret = 0;size_t sign_len = 0;size_t b64out_len = 0;unsigned char *b64out_data = NULL;// 初始化上下文mbedtls_pk_init( &pk);// 导入公钥ret = mbedtls_pk_parse_public_key(&pk, (const unsigned char *)public_key_pem, strlen(public_key_pem)+1);if(ret != 0){ret = -1;goto exit;}// 对需要验签的数据进行 sha256 计算,生成消息摘要数据ret = mbedtls_md(mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ),(const unsigned char *)msg, msg_len, hash);if(ret != 0){ret = -1;goto exit;}// 对原始签名数据进行 base64 解码sign_len = strlen(sign_base64);b64out_data = malloc(sign_len*2);memset(b64out_data, 0, sign_len*2);ret = mbedtls_base64_decode(b64out_data, sign_len*2, &b64out_len, (const unsigned char *)sign_base64, sign_len);if(ret != 0){ret = -1;goto exit;}// 验证签名ret = mbedtls_pk_verify(&pk, MBEDTLS_MD_SHA256, hash, sizeof (hash), b64out_data, b64out_len);exit:if(b64out_data){free(b64out_data);}mbedtls_pk_free( &pk );return ret;}int main(void)
{int ret = 0;// 公钥char *pub_key = "-----BEGIN PUBLIC KEY-----\n""MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzVt1cK1g7I+nnrwEdGjh\n""ULKqvPo60Ns+JYLom9GLUZ5DDqE8VcP23zGpAVHpQjgDQv2ZLg/jTJRonMktf6oU\n""nyPUbt7FF9P/yo6Rz8333v7VbVKo52hvgLDvTb7dmkywdXpvvtrvldLuCxycUYxo\n""ZQRtZPlSFIZSIFGOgxL6iuXbT9gcPUffAl7JrNbe1b530scXEIMO5UOo9Vlm2Hh1\n""s9T1p4H0hxODIrKTpAICWaWtXVHJA64q1MTDim/aNscmPxfcL5Qdo+JJSY/BPOf4\n""Pqqt8k/Gaslgdt1dOJGu4I5+iZVMmDQkxmu0vICUNBfOsd2UiXqp/oO03jH5Rtgy\n""AQIDAQAB\n""-----END PUBLIC KEY-----";// 原始消息char *msg = "hello world!";// base64 编码之后的签名数据char * sign = "x7Ag+BCNC5Q0insMSNazlfA7ruFNndjgT4S7eIp7z3pN7qs/r4KLnDasiR4chNJlRgjAJBSPEqjt65Xb0r2y+r8zZRwtqu/enaTk0RavwtXXzu9vQx3Xy7Zhxb2J2bjiCNRFPbyzhF3dl4pP+MOKZK6ETNR5NTBb6Af1X2Plidj7xd30a6zQM8JVlIbuMIm2g/NAA5u6JR4xMZEdBQKTXgHduXIflVy0bUwPOs3UjfgKXtJGSWHQtZrOMhzIpXPF6tzfBbnC6MRHZiH6cU4+YhKxNHEmaMRaAGcVFFU08Ytev9zuJBOVtfNz5zAj/6O8f97/qh3618xEgT5OcBno/A==";ret = rsa_pkcs1v15_sha256_verify((const unsigned char *)msg, strlen(msg), pub_key, sign);printf("rsa_pkcs1v15_sha256_verify ret=%d\r\n", ret);}

在这里插入图片描述

4、附录

参考文章如何使用 mbedtls 生成 RSA 签名和验签?。
编译完成信息

make WINDOWS_BUILD=1CC    aes.cCC    aesni.cCC    aesce.cCC    aria.cCC    asn1parse.cCC    asn1write.cCC    base64.cCC    bignum.cCC    bignum_core.cCC    bignum_mod.cCC    bignum_mod_raw.cCC    block_cipher.cCC    camellia.cCC    ccm.cCC    chacha20.cCC    chachapoly.cCC    cipher.cCC    cipher_wrap.cCC    cmac.cCC    constant_time.cCC    ctr_drbg.cCC    des.cCC    dhm.cCC    ecdh.cCC    ecdsa.cCC    ecjpake.cCC    ecp.cCC    ecp_curves.cCC    ecp_curves_new.cCC    entropy.cCC    entropy_poll.cCC    error.cCC    gcm.cCC    hkdf.cCC    hmac_drbg.cCC    lmots.cCC    lms.cCC    md.cCC    md5.cCC    memory_buffer_alloc.cCC    nist_kw.cCC    oid.cCC    pem.cCC    pk.cCC    pk_ecc.cCC    pk_wrap.cCC    pkcs12.cCC    pkcs5.cCC    pkparse.cCC    pkwrite.cCC    platform.cCC    platform_util.cCC    poly1305.cCC    psa_crypto.cCC    psa_crypto_aead.cCC    psa_crypto_cipher.cCC    psa_crypto_client.cCC    psa_crypto_driver_wrappers_no_static.cCC    psa_crypto_ecp.cCC    psa_crypto_ffdh.cCC    psa_crypto_hash.cCC    psa_crypto_mac.cCC    psa_crypto_pake.cCC    psa_crypto_rsa.cCC    psa_crypto_se.cCC    psa_crypto_slot_management.cCC    psa_crypto_storage.cCC    psa_its_file.cCC    psa_util.cCC    ripemd160.cCC    rsa.cCC    rsa_alt_helpers.cCC    sha1.cCC    sha256.cCC    sha512.cCC    sha3.cCC    threading.cCC    timing.cCC    version.cCC    version_features.cCC    ../3rdparty//everest/library/everest.cCC    ../3rdparty//everest/library/x25519.cCC    ../3rdparty//everest/library/Hacl_Curve25519_joined.cCC    ../3rdparty//p256-m//p256-m_driver_entrypoints.cCC    ../3rdparty//p256-m//p256-m/p256-m.cAR    libmbedcrypto.aCC    x509.cCC    x509_create.cCC    x509_crl.cCC    x509_crt.cCC    x509_csr.cCC    x509write.cCC    x509write_crt.cCC    x509write_csr.cCC    pkcs7.cAR    libmbedx509.aCC    debug.cCC    mps_reader.cCC    mps_trace.cCC    net_sockets.cCC    ssl_cache.cCC    ssl_ciphersuites.cCC    ssl_client.cCC    ssl_cookie.cCC    ssl_debug_helpers_generated.cCC    ssl_msg.cCC    ssl_ticket.cCC    ssl_tls.cCC    ssl_tls12_client.cCC    ssl_tls12_server.cCC    ssl_tls13_keys.cCC    ssl_tls13_client.cCC    ssl_tls13_server.cCC    ssl_tls13_generic.cAR    libmbedtls.aCC    src/certs.cCC    src/fake_external_rng_for_test.cCC    src/random.cCC    src/threading_helpers.cCC    src/bignum_helpers.cCC    src/test_memory.cCC    src/psa_test_wrappers.cCC    src/psa_crypto_stubs.cCC    src/psa_exercise_key.cCC    src/psa_crypto_helpers.cCC    src/asn1_helpers.cCC    src/helpers.cCC    src/psa_memory_poisoning_wrappers.cCC    src/drivers/platform_builtin_keys.cCC    src/drivers/test_driver_mac.cCC    src/drivers/hash.cCC    src/drivers/test_driver_cipher.cCC    src/drivers/test_driver_key_management.cCC    src/drivers/test_driver_signature.cCC    src/drivers/test_driver_key_agreement.cCC    src/drivers/test_driver_pake.cCC    src/drivers/test_driver_asymmetric_encryption.cCC    src/drivers/test_driver_aead.cCC    src/test_helpers/ssl_helpers.c
1111../tests/src/certs.o ../tests/src/fake_external_rng_for_test.o ../tests/src/random.o ../tests/src/threading_helpers.o ../tests/src/bignum_helpers.o ../tests/src/test_memory.o ../tests/src/psa_test_wrappers.o ../tests/src/psa_crypto_stubs.o ../tests/src/psa_exercise_key.o ../tests/src/psa_crypto_helpers.o ../tests/src/asn1_helpers.o ../tests/src/helpers.o ../tests/src/psa_memory_poisoning_wrappers.o ../tests/src/drivers/platform_builtin_keys.o ../tests/src/drivers/test_driver_mac.o ../tests/src/drivers/hash.o ../tests/src/drivers/test_driver_cipher.o ../tests/src/drivers/test_driver_key_management.o ../tests/src/drivers/test_driver_signature.o ../tests/src/drivers/test_driver_key_agreement.o ../tests/src/drivers/test_driver_pake.o ../tests/src/drivers/test_driver_asymmetric_encryption.o ../tests/src/drivers/test_driver_aead.o ../tests/src/test_helpers/ssl_helpers.o -L../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt
2222CC    aes/crypt_and_hash.cCC    cipher/cipher_aead_demo.cCC    hash/generic_sum.cCC    hash/hello.cCC    hash/md_hmac_demo.cCC    pkey/dh_client.cCC    pkey/dh_genprime.cCC    pkey/dh_server.cCC    pkey/ecdh_curve25519.cCC    pkey/ecdsa.cCC    pkey/gen_key.cCC    pkey/key_app.cCC    pkey/key_app_writer.cCC    pkey/mpi_demo.cCC    pkey/pk_decrypt.cCC    pkey/pk_encrypt.cCC    pkey/pk_sign.cCC    pkey/pk_verify.cCC    pkey/rsa_decrypt.cCC    pkey/rsa_encrypt.cCC    pkey/rsa_genkey.cCC    pkey/rsa_sign.cCC    pkey/rsa_sign_pss.cCC    pkey/rsa_verify.cCC    pkey/rsa_verify_pss.cCC    psa/aead_demo.cCC    psa/crypto_examples.cCC    psa/hmac_demo.cCC    psa/key_ladder_demo.cCC    psa/psa_constant_names.cCC    psa/psa_hash.cCC    random/gen_entropy.cCC    random/gen_random_ctr_drbg.cCC    ssl/dtls_client.cCC    ssl/dtls_server.cCC    ssl/mini_client.cCC    ssl/ssl_client1.cCC    test/query_config.cCC    ssl/ssl_test_lib.cCC    ssl/ssl_client2.cCC    ssl/ssl_context_info.cCC    ssl/ssl_fork_server.cCC    ssl/ssl_mail_client.cCC    ssl/ssl_server.cCC    ssl/ssl_server2.cCC    test/benchmark.cCC    test/metatest.cCC    test/query_compile_time_config.cCC    test/query_included_headers.cCC    test/selftest.cCC    test/udp_proxy.cCC    test/zeroize.cCC    util/pem2der.cCC    util/strerror.cCC    x509/cert_app.cCC    x509/cert_req.cCC    x509/cert_write.cCC    x509/crl_app.cCC    x509/load_roots.cCC    x509/req_app.ccc common.o onefile.o fuzz_server.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_server.execc common.o onefile.o fuzz_dtlsserver.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_dtlsserver.execc common.o onefile.o fuzz_client.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_client.execc common.o onefile.o fuzz_x509crl.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_x509crl.execc common.o onefile.o fuzz_pubkey.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_pubkey.execc common.o onefile.o fuzz_dtlsclient.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_dtlsclient.execc common.o onefile.o fuzz_x509crt.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_x509crt.execc common.o onefile.o fuzz_privkey.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_privkey.execc common.o onefile.o fuzz_pkcs7.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_pkcs7.execc common.o onefile.o fuzz_x509csr.o ../../tests/src/certs.o ../../tests/src/fake_external_rng_for_test.o ../../tests/src/random.o ../../tests/src/threading_helpers.o ../../tests/src/bignum_helpers.o ../../tests/src/test_memory.o ../../tests/src/psa_test_wrappers.o ../../tests/src/psa_crypto_stubs.o ../../tests/src/psa_exercise_key.o ../../tests/src/psa_crypto_helpers.o ../../tests/src/asn1_helpers.o ../../tests/src/helpers.o ../../tests/src/psa_memory_poisoning_wrappers.o ../../tests/src/drivers/platform_builtin_keys.o ../../tests/src/drivers/test_driver_mac.o ../../tests/src/drivers/hash.o ../../tests/src/drivers/test_driver_cipher.o ../../tests/src/drivers/test_driver_key_management.o ../../tests/src/drivers/test_driver_signature.o ../../tests/src/drivers/test_driver_key_agreement.o ../../tests/src/drivers/test_driver_pake.o ../../tests/src/drivers/test_driver_asymmetric_encryption.o ../../tests/src/drivers/test_driver_aead.o ../../tests/src/test_helpers/ssl_helpers.o -L../../library -lmbedtls -lmbedx509 -lmbedcrypto -lws2_32 -lbcrypt  -o fuzz_x509csr.exeGen   test_suite_psa_crypto_memory.cCC    test_suite_psa_crypto_memory.cGen   test_suite_psa_crypto_entropy.cCC    test_suite_psa_crypto_entropy.cGen   test_suite_psa_crypto.cCC    test_suite_psa_crypto.cGen   test_suite_cipher.chacha20.cCC    test_suite_cipher.chacha20.cGen   test_suite_debug.cCC    test_suite_debug.cGen   test_suite_psa_crypto_driver_wrappers.cCC    test_suite_psa_crypto_driver_wrappers.cGen   test_suite_pkcs5.cCC    test_suite_pkcs5.cGen   test_suite_pkwrite.cCC    test_suite_pkwrite.cGen   test_suite_aes.cfb.cCC    test_suite_aes.cfb.cGen   test_suite_md.cCC    test_suite_md.cGen   test_suite_ssl.cCC    test_suite_ssl.cGen   test_suite_constant_time_hmac.cCC    test_suite_constant_time_hmac.cGen   test_suite_psa_crypto_pake.cCC    test_suite_psa_crypto_pake.cGen   test_suite_cipher.aria.cCC    test_suite_cipher.aria.cGen   test_suite_cipher.misc.cCC    test_suite_cipher.misc.cGen   test_suite_psa_crypto_util.cCC    test_suite_psa_crypto_util.cGen   test_suite_cmac.cCC    test_suite_cmac.cGen   test_suite_psa_crypto_storage_format.current.cCC    test_suite_psa_crypto_storage_format.current.cGen   test_suite_aes.ecb.cCC    test_suite_aes.ecb.cGen   test_suite_psa_crypto_storage_format.misc.cCC    test_suite_psa_crypto_storage_format.misc.cGen   test_suite_x509parse.cCC    test_suite_x509parse.cGen   test_suite_chacha20.cCC    test_suite_chacha20.cGen   test_suite_gcm.aes128_en.cCC    test_suite_gcm.aes128_en.cGen   test_suite_psa_crypto_generate_key.generated.cCC    test_suite_psa_crypto_generate_key.generated.cGen   test_suite_block_cipher.cCC    test_suite_block_cipher.cGen   test_suite_ctr_drbg.cCC    test_suite_ctr_drbg.cGen   test_suite_cipher.nist_kw.cCC    test_suite_cipher.nist_kw.cGen   test_suite_pkcs1_v15.cCC    test_suite_pkcs1_v15.cGen   test_suite_nist_kw.cCC    test_suite_nist_kw.cGen   test_suite_constant_time.cCC    test_suite_constant_time.cGen   test_suite_psa_crypto_attributes.cCC    test_suite_psa_crypto_attributes.cGen   test_suite_psa_its.cCC    test_suite_psa_its.cGen   test_suite_psa_crypto_op_fail.misc.cCC    test_suite_psa_crypto_op_fail.misc.cGen   test_suite_common.cCC    test_suite_common.cGen   test_suite_asn1parse.cCC    test_suite_asn1parse.cGen   test_suite_cipher.ccm.cCC    test_suite_cipher.ccm.cGen   test_suite_chachapoly.cCC    test_suite_chachapoly.cGen   test_suite_platform_printf.cCC    test_suite_platform_printf.cGen   test_suite_platform.cCC    test_suite_platform.cGen   test_suite_gcm.aes192_en.cCC    test_suite_gcm.aes192_en.cGen   test_suite_hmac_drbg.misc.cCC    test_suite_hmac_drbg.misc.cGen   test_suite_poly1305.cCC    test_suite_poly1305.cGen   test_suite_asn1write.cCC    test_suite_asn1write.cGen   test_suite_ccm.cCC    test_suite_ccm.cGen   test_suite_aes.cbc.cCC    test_suite_aes.cbc.cGen   test_suite_aria.cCC    test_suite_aria.cGen   test_suite_entropy.cCC    test_suite_entropy.cGen   test_suite_hmac_drbg.pr.cCC    test_suite_hmac_drbg.pr.cGen   test_suite_psa_crypto_metadata.cCC    test_suite_psa_crypto_metadata.cGen   test_suite_error.cCC    test_suite_error.cGen   test_suite_rsa.cCC    test_suite_rsa.cGen   test_suite_bignum_mod.misc.cCC    test_suite_bignum_mod.misc.cGen   test_suite_test_helpers.cCC    test_suite_test_helpers.cGen   test_suite_aes.xts.cCC    test_suite_aes.xts.cGen   test_suite_oid.cCC    test_suite_oid.cGen   test_suite_cipher.camellia.cCC    test_suite_cipher.camellia.cGen   test_suite_cipher.gcm.cCC    test_suite_cipher.gcm.cGen   test_suite_x509write.cCC    test_suite_x509write.cGen   test_suite_dhm.cCC    test_suite_dhm.cGen   test_suite_camellia.cCC    test_suite_camellia.cGen   test_suite_platform_util.cCC    test_suite_platform_util.cGen   test_suite_ssl_decrypt.misc.cCC    test_suite_ssl_decrypt.misc.cGen   test_suite_psa_crypto_low_hash.generated.cCC    test_suite_psa_crypto_low_hash.generated.cGen   test_suite_bignum_mod.generated.cCC    test_suite_bignum_mod.generated.cGen   test_suite_ecdh.cCC    test_suite_ecdh.cGen   test_suite_ecdsa.cCC    test_suite_ecdsa.cGen   test_suite_psa_crypto_slot_management.cCC    test_suite_psa_crypto_slot_management.cGen   test_suite_config.tls_combinations.cCC    test_suite_config.tls_combinations.cGen   test_suite_psa_crypto_storage_format.v0.cCC    test_suite_psa_crypto_storage_format.v0.cGen   test_suite_gcm.aes256_de.cCC    test_suite_gcm.aes256_de.cGen   test_suite_base64.cCC    test_suite_base64.cGen   test_suite_pem.cCC    test_suite_pem.cGen   test_suite_pkcs7.cCC    test_suite_pkcs7.cGen   test_suite_psa_crypto_persistent_key.cCC    test_suite_psa_crypto_persistent_key.cGen   test_suite_config.psa_boolean.cCC    test_suite_config.psa_boolean.cGen   test_suite_cipher.padding.cCC    test_suite_cipher.padding.cGen   test_suite_aes.rest.cCC    test_suite_aes.rest.cGen   test_suite_hmac_drbg.nopr.cCC    test_suite_hmac_drbg.nopr.cGen   test_suite_cipher.null.cCC    test_suite_cipher.null.cGen   test_suite_hmac_drbg.no_reseed.cCC    test_suite_hmac_drbg.no_reseed.cGen   test_suite_mps.cCC    test_suite_mps.cGen   test_suite_gcm.camellia.cCC    test_suite_gcm.camellia.cGen   test_suite_memory_buffer_alloc.cCC    test_suite_memory_buffer_alloc.cGen   test_suite_ecp.generated.cCC    test_suite_ecp.generated.cGen   test_suite_md.psa.cCC    test_suite_md.psa.cGen   test_suite_lms.cCC    test_suite_lms.cGen   test_suite_ecp.cCC    test_suite_ecp.cGen   test_suite_random.cCC    test_suite_random.cGen   test_suite_timing.cCC    test_suite_timing.cGen   test_suite_cipher.chachapoly.cCC    test_suite_cipher.chachapoly.cGen   test_suite_psa_crypto_se_driver_hal_mocks.cCC    test_suite_psa_crypto_se_driver_hal_mocks.cGen   test_suite_config.crypto_combinations.cCC    test_suite_config.crypto_combinations.cGen   test_suite_aes.ctr.cCC    test_suite_aes.ctr.cGen   test_suite_version.cCC    test_suite_version.cGen   test_suite_pkcs12.cCC    test_suite_pkcs12.cGen   test_suite_block_cipher.psa.cCC    test_suite_block_cipher.psa.cGen   test_suite_shax.cCC    test_suite_shax.cGen   test_suite_net.cCC    test_suite_net.cGen   test_suite_psa_crypto_se_driver_hal.cCC    test_suite_psa_crypto_se_driver_hal.cGen   test_suite_psa_crypto_init.cCC    test_suite_psa_crypto_init.cGen   test_suite_bignum_mod_raw.generated.cCC    test_suite_bignum_mod_raw.generated.cGen   test_suite_gcm.aes256_en.cCC    test_suite_gcm.aes256_en.cGen   test_suite_bignum_core.misc.cCC    test_suite_bignum_core.misc.cGen   test_suite_bignum_mod_raw.cCC    test_suite_bignum_mod_raw.cGen   test_suite_mdx.cCC    test_suite_mdx.cGen   test_suite_lmots.cCC    test_suite_lmots.cGen   test_suite_psa_crypto_not_supported.generated.cCC    test_suite_psa_crypto_not_supported.generated.cGen   test_suite_config.psa_combinations.cCC    test_suite_config.psa_combinations.cGen   test_suite_gcm.aes192_de.cCC    test_suite_gcm.aes192_de.cGen   test_suite_gcm.misc.cCC    test_suite_gcm.misc.cGen   test_suite_cipher.aes.cCC    test_suite_cipher.aes.cGen   test_suite_psa_crypto_hash.cCC    test_suite_psa_crypto_hash.cGen   test_suite_des.cCC    test_suite_des.cGen   test_suite_bignum_core.generated.cCC    test_suite_bignum_core.generated.cGen   test_suite_psa_crypto_not_supported.misc.cCC    test_suite_psa_crypto_not_supported.misc.cGen   test_suite_bignum.misc.cCC    test_suite_bignum.misc.cGen   test_suite_config.mbedtls_boolean.cCC    test_suite_config.mbedtls_boolean.cGen   test_suite_psa_crypto.pbkdf2.cCC    test_suite_psa_crypto.pbkdf2.cGen   test_suite_aes.ofb.cCC    test_suite_aes.ofb.cGen   test_suite_bignum_random.cCC    test_suite_bignum_random.cGen   test_suite_gcm.aes128_de.cCC    test_suite_gcm.aes128_de.cGen   test_suite_pk.cCC    test_suite_pk.cGen   test_suite_hkdf.cCC    test_suite_hkdf.cGen   test_suite_pkcs1_v21.cCC    test_suite_pkcs1_v21.cGen   test_suite_ecjpake.cCC    test_suite_ecjpake.cGen   test_suite_bignum.generated.cCC    test_suite_bignum.generated.cGen   test_suite_pkparse.cCC    test_suite_pkparse.cGen   test_suite_psa_crypto_op_fail.generated.cCC    test_suite_psa_crypto_op_fail.generated.cGen   test_suite_cipher.des.cCC    test_suite_cipher.des.cGen   test_suite_alignment.cCC    test_suite_alignment.c
D:\workspace\embeddedTeam\Mbedtls\Test\mbedtls>make WINDOWS_BUILD=1 check
test_suite_aes.cbc ................................................ PASS
test_suite_aes.cbc.exe ............................................ PASS
test_suite_aes.cfb ................................................ PASS
test_suite_aes.cfb.exe ............................................ PASS
test_suite_aes.ctr ................................................ PASS
test_suite_aes.ctr.exe ............................................ PASS
test_suite_aes.ecb ................................................ PASS
test_suite_aes.ecb.exe ............................................ PASS
test_suite_aes.ofb ................................................ PASS
test_suite_aes.ofb.exe ............................................ PASS
test_suite_aes.rest ............................................... PASS
test_suite_aes.rest.exe ........................................... PASS
test_suite_aes.xts ................................................ PASS
test_suite_aes.xts.exe ............................................ PASS
test_suite_alignment .............................................. PASS
test_suite_alignment.exe .......................................... PASS
test_suite_aria ................................................... PASS
test_suite_aria.exe ............................................... PASS
test_suite_asn1parse .............................................. PASS
test_suite_asn1parse.exe .......................................... PASS
test_suite_asn1write .............................................. PASS
test_suite_asn1write.exe .......................................... PASS
test_suite_base64 ................................................. PASS
test_suite_base64.exe ............................................. PASS
test_suite_bignum.generated ....................................... PASS
test_suite_bignum.generated.exe ................................... PASS
test_suite_bignum.misc ............................................ PASS
test_suite_bignum.misc.exe ........................................ PASS
test_suite_bignum_core.generated .................................. PASS
test_suite_bignum_core.generated.exe .............................. PASS
test_suite_bignum_core.misc ....................................... PASS
test_suite_bignum_core.misc.exe ................................... PASS
test_suite_bignum_mod.generated ................................... PASS
test_suite_bignum_mod.generated.exe ............................... PASS
test_suite_bignum_mod.misc ........................................ PASS
test_suite_bignum_mod.misc.exe .................................... PASS
test_suite_bignum_mod_raw ......................................... PASS
test_suite_bignum_mod_raw.exe ..................................... PASS
test_suite_bignum_mod_raw.generated ............................... PASS
test_suite_bignum_mod_raw.generated.exe ........................... PASS
test_suite_bignum_random .......................................... PASS
test_suite_bignum_random.exe ...................................... PASS
test_suite_block_cipher ........................................... PASS
test_suite_block_cipher.exe ....................................... PASS
test_suite_block_cipher.psa ....................................... PASS
test_suite_block_cipher.psa.exe ................................... PASS
test_suite_camellia ............................................... PASS
test_suite_camellia.exe ........................................... PASS
test_suite_ccm .................................................... PASS
test_suite_ccm.exe ................................................ PASS
test_suite_chacha20 ............................................... PASS
test_suite_chacha20.exe ........................................... PASS
test_suite_chachapoly ............................................. PASS
test_suite_chachapoly.exe ......................................... PASS
test_suite_cipher.aes ............................................. PASS
test_suite_cipher.aes.exe ......................................... PASS
test_suite_cipher.aria ............................................ PASS
test_suite_cipher.aria.exe ........................................ PASS
test_suite_cipher.camellia ........................................ PASS
test_suite_cipher.camellia.exe .................................... PASS
test_suite_cipher.ccm ............................................. PASS
test_suite_cipher.ccm.exe ......................................... PASS
test_suite_cipher.chacha20 ........................................ PASS
test_suite_cipher.chacha20.exe .................................... PASS
test_suite_cipher.chachapoly ...................................... PASS
test_suite_cipher.chachapoly.exe .................................. PASS
test_suite_cipher.des ............................................. PASS
test_suite_cipher.des.exe ......................................... PASS
test_suite_cipher.gcm ............................................. PASS
test_suite_cipher.gcm.exe ......................................... PASS
test_suite_cipher.misc ............................................ PASS
test_suite_cipher.misc.exe ........................................ PASS
test_suite_cipher.nist_kw ......................................... PASS
test_suite_cipher.nist_kw.exe ..................................... PASS
test_suite_cipher.null ............................................ PASS
test_suite_cipher.null.exe ........................................ PASS
test_suite_cipher.padding ......................................... PASS
test_suite_cipher.padding.exe ..................................... PASS
test_suite_cmac ................................................... PASS
test_suite_cmac.exe ............................................... PASS
test_suite_common ................................................. PASS
test_suite_common.exe ............................................. PASS
test_suite_config.crypto_combinations ............................. PASS
test_suite_config.crypto_combinations.exe ......................... PASS
test_suite_config.mbedtls_boolean ................................. PASS
test_suite_config.mbedtls_boolean.exe ............................. PASS
test_suite_config.psa_boolean ..................................... PASS
test_suite_config.psa_boolean.exe ................................. PASS
test_suite_config.psa_combinations ................................ PASS
test_suite_config.psa_combinations.exe ............................ PASS
test_suite_config.tls_combinations ................................ PASS
test_suite_config.tls_combinations.exe ............................ PASS
test_suite_constant_time .......................................... PASS
test_suite_constant_time.exe ...................................... PASS
test_suite_constant_time_hmac ..................................... PASS
test_suite_constant_time_hmac.exe ................................. PASS
test_suite_ctr_drbg ............................................... PASS
test_suite_ctr_drbg.exe ........................................... PASS
test_suite_debug .................................................. PASS
test_suite_debug.exe .............................................. PASS
test_suite_des .................................................... PASS
test_suite_des.exe ................................................ PASS
test_suite_dhm .................................................... PASS
test_suite_dhm.exe ................................................ PASS
test_suite_ecdh ................................................... PASS
test_suite_ecdh.exe ............................................... PASS
test_suite_ecdsa .................................................. PASS
test_suite_ecdsa.exe .............................................. PASS
test_suite_ecjpake ................................................ PASS
test_suite_ecjpake.exe ............................................ PASS
test_suite_ecp .................................................... PASS
test_suite_ecp.exe ................................................ PASS
test_suite_ecp.generated .......................................... PASS
test_suite_ecp.generated.exe ...................................... PASS
test_suite_entropy ................................................ PASS
test_suite_entropy.exe ............................................ PASS
test_suite_error .................................................. FAIL
test_suite_error.exe .............................................. FAIL
test_suite_gcm.aes128_de .......................................... PASS
test_suite_gcm.aes128_de.exe ...................................... PASS
test_suite_gcm.aes128_en .......................................... PASS
test_suite_gcm.aes128_en.exe ...................................... PASS
test_suite_gcm.aes192_de .......................................... PASS
test_suite_gcm.aes192_de.exe ...................................... PASS
test_suite_gcm.aes192_en .......................................... PASS
test_suite_gcm.aes192_en.exe ...................................... PASS
test_suite_gcm.aes256_de .......................................... PASS
test_suite_gcm.aes256_de.exe ...................................... PASS
test_suite_gcm.aes256_en .......................................... PASS
test_suite_gcm.aes256_en.exe ...................................... PASS
test_suite_gcm.camellia ........................................... PASS
test_suite_gcm.camellia.exe ....................................... PASS
test_suite_gcm.misc ............................................... PASS
test_suite_gcm.misc.exe ........................................... PASS
test_suite_hkdf ................................................... PASS
test_suite_hkdf.exe ............................................... PASS
test_suite_hmac_drbg.misc ......................................... PASS
test_suite_hmac_drbg.misc.exe ..................................... PASS
test_suite_hmac_drbg.no_reseed .................................... PASS
test_suite_hmac_drbg.no_reseed.exe ................................ PASS
test_suite_hmac_drbg.nopr ......................................... PASS
test_suite_hmac_drbg.nopr.exe ..................................... PASS
test_suite_hmac_drbg.pr ........................................... PASS
test_suite_hmac_drbg.pr.exe ....................................... PASS
test_suite_lmots .................................................. PASS
test_suite_lmots.exe .............................................. PASS
test_suite_lms .................................................... PASS
test_suite_lms.exe ................................................ PASS
test_suite_md ..................................................... PASS
test_suite_md.exe ................................................. PASS
test_suite_md.psa ................................................. PASS
test_suite_md.psa.exe ............................................. PASS
test_suite_mdx .................................................... PASS
test_suite_mdx.exe ................................................ PASS
test_suite_memory_buffer_alloc .................................... PASS
test_suite_memory_buffer_alloc.exe ................................ PASS
test_suite_mps .................................................... PASS
test_suite_mps.exe ................................................ PASS
test_suite_net .................................................... PASS
test_suite_net.exe ................................................ PASS
test_suite_nist_kw ................................................ PASS
test_suite_nist_kw.exe ............................................ PASS
test_suite_oid .................................................... PASS
test_suite_oid.exe ................................................ PASS
test_suite_pem .................................................... PASS
test_suite_pem.exe ................................................ PASS
test_suite_pk ..................................................... PASS
test_suite_pk.exe ................................................. PASS
test_suite_pkcs12 ................................................. PASS
test_suite_pkcs12.exe ............................................. PASS
test_suite_pkcs1_v15 .............................................. PASS
test_suite_pkcs1_v15.exe .......................................... PASS
test_suite_pkcs1_v21 .............................................. PASS
test_suite_pkcs1_v21.exe .......................................... PASS
test_suite_pkcs5 .................................................. PASS
test_suite_pkcs5.exe .............................................. PASS
test_suite_pkcs7 .................................................. PASS
test_suite_pkcs7.exe .............................................. PASS
test_suite_pkparse ................................................ PASS
test_suite_pkparse.exe ............................................ PASS
test_suite_pkwrite ................................................ PASS
test_suite_pkwrite.exe ............................................ PASS
test_suite_platform ............................................... PASS
test_suite_platform.exe ........................................... PASS
test_suite_platform_printf ........................................ PASS
test_suite_platform_printf.exe .................................... PASS
test_suite_platform_util .......................................... PASS
test_suite_platform_util.exe ...................................... PASS
test_suite_poly1305 ............................................... PASS
test_suite_poly1305.exe ........................................... PASS
test_suite_psa_crypto ............................................. PASS
test_suite_psa_crypto.exe ......................................... PASS
test_suite_psa_crypto.pbkdf2 ...................................... PASS
test_suite_psa_crypto.pbkdf2.exe .................................. PASS
test_suite_psa_crypto_attributes .................................. PASS
test_suite_psa_crypto_attributes.exe .............................. PASS
test_suite_psa_crypto_driver_wrappers ............................. PASS
test_suite_psa_crypto_driver_wrappers.exe ......................... PASS
test_suite_psa_crypto_entropy ..................................... PASS
test_suite_psa_crypto_entropy.exe ................................. PASS
test_suite_psa_crypto_generate_key.generated ...................... PASS
test_suite_psa_crypto_generate_key.generated.exe .................. PASS
test_suite_psa_crypto_hash ........................................ PASS
test_suite_psa_crypto_hash.exe .................................... PASS
test_suite_psa_crypto_init ........................................ PASS
test_suite_psa_crypto_init.exe .................................... PASS
test_suite_psa_crypto_low_hash.generated .......................... PASS
test_suite_psa_crypto_low_hash.generated.exe ...................... PASS
test_suite_psa_crypto_memory ...................................... PASS
test_suite_psa_crypto_memory.exe .................................. PASS
test_suite_psa_crypto_metadata .................................... PASS
test_suite_psa_crypto_metadata.exe ................................ PASS
test_suite_psa_crypto_not_supported.generated ..................... PASS
test_suite_psa_crypto_not_supported.generated.exe ................. PASS
test_suite_psa_crypto_not_supported.misc .......................... PASS
test_suite_psa_crypto_not_supported.misc.exe ...................... PASS
test_suite_psa_crypto_op_fail.generated ........................... PASS
test_suite_psa_crypto_op_fail.generated.exe ....................... PASS
test_suite_psa_crypto_op_fail.misc ................................ PASS
test_suite_psa_crypto_op_fail.misc.exe ............................ PASS
test_suite_psa_crypto_pake ........................................ PASS
test_suite_psa_crypto_pake.exe .................................... PASS
test_suite_psa_crypto_persistent_key .............................. PASS
test_suite_psa_crypto_persistent_key.exe .......................... PASS
test_suite_psa_crypto_se_driver_hal ............................... PASS
test_suite_psa_crypto_se_driver_hal.exe ........................... PASS
test_suite_psa_crypto_se_driver_hal_mocks ......................... PASS
test_suite_psa_crypto_se_driver_hal_mocks.exe ..................... PASS
test_suite_psa_crypto_slot_management ............................. PASS
test_suite_psa_crypto_slot_management.exe ......................... PASS
test_suite_psa_crypto_storage_format.current ...................... PASS
test_suite_psa_crypto_storage_format.current.exe .................. PASS
test_suite_psa_crypto_storage_format.misc ......................... PASS
test_suite_psa_crypto_storage_format.misc.exe ..................... PASS
test_suite_psa_crypto_storage_format.v0 ........................... PASS
test_suite_psa_crypto_storage_format.v0.exe ....................... PASS
test_suite_psa_crypto_util ........................................ PASS
test_suite_psa_crypto_util.exe .................................... PASS
test_suite_psa_its ................................................ PASS
test_suite_psa_its.exe ............................................ PASS
test_suite_random ................................................. PASS
test_suite_random.exe ............................................. PASS
test_suite_rsa .................................................... PASS
test_suite_rsa.exe ................................................ PASS
test_suite_shax ................................................... PASS
test_suite_shax.exe ............................................... PASS
test_suite_ssl .................................................... PASS
test_suite_ssl.exe ................................................ PASS
test_suite_ssl_decrypt.misc ....................................... PASS
test_suite_ssl_decrypt.misc.exe ................................... PASS
test_suite_test_helpers ........................................... PASS
test_suite_test_helpers.exe ....................................... PASS
test_suite_timing ................................................. PASS
test_suite_timing.exe ............................................. PASS
test_suite_version ................................................ PASS
test_suite_version.exe ............................................ PASS
test_suite_x509parse .............................................. PASS
test_suite_x509parse.exe .......................................... PASS
test_suite_x509write .............................................. PASS
test_suite_x509write.exe .......................................... PASS
------------------------------------------------------------------------
FAILED (260 suites, 53880 tests run)

Cmake编译信息

用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642
版权所有(C) Microsoft Corporation。保留所有权利。Checking Build SystemBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/CMakeLists.txtasn1_helpers.cbignum_helpers.ccerts.chash.cplatform_builtin_keys.ctest_driver_aead.ctest_driver_asymmetric_encryption.ctest_driver_cipher.ctest_driver_key_agreement.ctest_driver_key_management.ctest_driver_mac.ctest_driver_pake.ctest_driver_signature.cfake_external_rng_for_test.chelpers.cpsa_crypto_helpers.cpsa_crypto_stubs.cpsa_exercise_key.cpsa_memory_poisoning_wrappers.cpsa_test_wrappers.c正在生成代码...正在编译...random.ctest_memory.cthreading_helpers.c正在生成代码...mbedtls_test.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\mbedtls_test.dir\Debug\mbedtls_test.libBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/CMakeLists.txtssl_helpers.cmbedtls_test_helpers.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\mbedtls_test_helpers.dir\Debug\mbedtls_test_helpers.libBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/3rdparty/everest/CMakeLists.txteverest.cx25519.cHacl_Curve25519_joined.c正在生成代码...everest.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\3rdparty\everest\Debug\everest.libBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/3rdparty/p256-m/CMakeLists.txtp256-m_driver_entrypoints.cp256-m.c正在生成代码...p256m.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\3rdparty\p256-m\Debug\p256m.libBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/library/CMakeLists.txtaes.caesni.caesce.caria.casn1parse.casn1write.cbase64.cbignum.cbignum_core.cbignum_mod.cbignum_mod_raw.cblock_cipher.ccamellia.cccm.cchacha20.cchachapoly.ccipher.ccipher_wrap.cconstant_time.ccmac.c正在生成代码...正在编译...ctr_drbg.cdes.cdhm.cecdh.cecdsa.cecjpake.cecp.cecp_curves.cecp_curves_new.centropy.centropy_poll.cerror.cgcm.chkdf.chmac_drbg.clmots.clms.cmd.cmd5.cmemory_buffer_alloc.c正在生成代码...正在编译...nist_kw.coid.cpem.cpk.cpk_ecc.cpk_wrap.cpkcs12.cpkcs5.cpkparse.cpkwrite.cplatform.cplatform_util.cpoly1305.cpsa_crypto.cpsa_crypto_aead.cpsa_crypto_cipher.cpsa_crypto_client.cpsa_crypto_driver_wrappers_no_static.cpsa_crypto_ecp.cpsa_crypto_ffdh.c正在生成代码...正在编译...psa_crypto_hash.cpsa_crypto_mac.cpsa_crypto_pake.cpsa_crypto_rsa.cpsa_crypto_se.cpsa_crypto_slot_management.cpsa_crypto_storage.cpsa_its_file.cpsa_util.cripemd160.crsa.crsa_alt_helpers.csha1.csha256.csha512.csha3.cthreading.ctiming.cversion.cversion_features.c正在生成代码...mbedcrypto.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\library\Debug\mbedcrypto.libBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/psa/CMakeLists.txtaead_demo.caead_demo.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\psa\Debug\aead_demo.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/test/CMakeLists.txtbenchmark.c
D:\Windows Kits\10\Include\10.0.19041.0\um\winbase.h(9531,5): error C2220: 以下警告被视为错误 [D:\workspace\embeddedTeam\Mbedtls
\Test\Cmake\programs\test\benchmark.vcxproj]
D:\Windows Kits\10\Include\10.0.19041.0\um\winbase.h(9531,5): warning C5105: 生成“已定义”的宏扩展具有未定义的行为 [D:\workspace\embedded
Team\Mbedtls\Test\Cmake\programs\test\benchmark.vcxproj]
D:\Windows Kits\10\Include\10.0.19041.0\um\winbase.h(9531,5): message : 要简化迁移,请考虑暂时对用于生成且不引发警告的编译器版本使用 /Wv:18 标记 [D:\wo
rkspace\embeddedTeam\Mbedtls\Test\Cmake\programs\test\benchmark.vcxproj]Building Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/library/CMakeLists.txtpkcs7.cx509.cx509_create.cx509_crl.cx509_crt.cx509_csr.cx509write.cx509write_crt.cx509write_csr.c正在生成代码...mbedx509.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\library\Debug\mbedx509.libBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/library/CMakeLists.txtdebug.cmps_reader.cmps_trace.cnet_sockets.cssl_cache.cssl_ciphersuites.cssl_client.cssl_cookie.cssl_debug_helpers_generated.cssl_msg.cssl_ticket.cssl_tls.cssl_tls12_client.cssl_tls12_server.cssl_tls13_keys.cssl_tls13_server.cssl_tls13_client.cssl_tls13_generic.c正在生成代码...mbedtls.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\library\Debug\mbedtls.libBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/x509/CMakeLists.txtcert_app.ccert_app.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\x509\Debug\cert_app.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/x509/CMakeLists.txtcert_req.ccert_req.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\x509\Debug\cert_req.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/x509/CMakeLists.txtcert_write.ccert_write.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\x509\Debug\cert_write.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/cipher/CMakeLists.txtcipher_aead_demo.ccipher_aead_demo.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\cipher\Debug\cipher_aead_demo.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/x509/CMakeLists.txtcrl_app.ccrl_app.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\x509\Debug\crl_app.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/aes/CMakeLists.txtcrypt_and_hash.ccrypt_and_hash.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\aes\Debug\crypt_and_hash.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/psa/CMakeLists.txtcrypto_examples.ccrypto_examples.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\psa\Debug\crypto_examples.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtdh_client.cdh_client.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\dh_client.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtdh_genprime.cdh_genprime.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\dh_genprime.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtdh_server.cdh_server.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\dh_server.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtdtls_client.cdtls_client.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\dtls_client.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtdtls_server.cdtls_server.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\dtls_server.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtecdh_curve25519.cecdh_curve25519.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\ecdh_curve25519.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtecdsa.cecdsa.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\ecdsa.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/random/CMakeLists.txtgen_entropy.cgen_entropy.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\random\Debug\gen_entropy.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtgen_key.cgen_key.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\gen_key.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/random/CMakeLists.txtgen_random_ctr_drbg.cgen_random_ctr_drbg.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\random\Debug\gen_random_ctr_drbg.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/hash/CMakeLists.txtgeneric_sum.cgeneric_sum.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\hash\Debug\generic_sum.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/hash/CMakeLists.txthello.chello.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\hash\Debug\hello.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/psa/CMakeLists.txthmac_demo.chmac_demo.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\psa\Debug\hmac_demo.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtkey_app.ckey_app.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\key_app.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtkey_app_writer.ckey_app_writer.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\key_app_writer.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/psa/CMakeLists.txtkey_ladder_demo.ckey_ladder_demo.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\psa\Debug\key_ladder_demo.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/x509/CMakeLists.txtload_roots.cload_roots.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\x509\Debug\load_roots.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/hash/CMakeLists.txtmd_hmac_demo.cmd_hmac_demo.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\hash\Debug\md_hmac_demo.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/test/CMakeLists.txtmetatest.cmetatest.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\test\Debug\metatest.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtmini_client.cmini_client.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\mini_client.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtmpi_demo.cmpi_demo.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\mpi_demo.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/util/CMakeLists.txtpem2der.cpem2der.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\util\Debug\pem2der.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtpk_decrypt.cpk_decrypt.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\pk_decrypt.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtpk_encrypt.cpk_encrypt.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\pk_encrypt.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtpk_sign.cpk_sign.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\pk_sign.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtpk_verify.cpk_verify.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\pk_verify.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/psa/CMakeLists.txtpsa_constant_names.cpsa_constant_names.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\psa\Debug\psa_constant_names.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/psa/CMakeLists.txtpsa_hash.cpsa_hash.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\psa\Debug\psa_hash.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/test/CMakeLists.txtquery_compile_time_config.cquery_config.c正在生成代码...query_compile_time_config.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\test\Debug\query_compile_time_config.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/test/CMakeLists.txtquery_included_headers.cquery_included_headers.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\test\Debug\query_included_headers.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/x509/CMakeLists.txtreq_app.creq_app.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\x509\Debug\req_app.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtrsa_decrypt.crsa_decrypt.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\rsa_decrypt.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtrsa_encrypt.crsa_encrypt.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\rsa_encrypt.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtrsa_genkey.crsa_genkey.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\rsa_genkey.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtrsa_sign.crsa_sign.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\rsa_sign.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtrsa_sign_pss.crsa_sign_pss.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\rsa_sign_pss.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtrsa_verify.crsa_verify.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\rsa_verify.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/pkey/CMakeLists.txtrsa_verify_pss.crsa_verify_pss.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\pkey\Debug\rsa_verify_pss.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/test/CMakeLists.txtselftest.cselftest.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\test\Debug\selftest.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtssl_client1.cssl_client1.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\ssl_client1.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtssl_client2.cssl_test_lib.cquery_config.c正在生成代码...ssl_client2.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\ssl_client2.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtssl_context_info.cssl_context_info.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\ssl_context_info.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtssl_fork_server.cssl_fork_server.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\ssl_fork_server.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtssl_mail_client.cssl_mail_client.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\ssl_mail_client.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtssl_pthread_server.cssl_pthread_server.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\ssl_pthread_server.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtssl_server.cssl_server.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\ssl_server.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/ssl/CMakeLists.txtssl_server2.cssl_test_lib.cquery_config.c正在生成代码...ssl_server2.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\ssl\Debug\ssl_server2.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/util/CMakeLists.txtstrerror.cstrerror.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\util\Debug\strerror.exeBuilding Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/test/CMakeLists.txtudp_proxy.c
D:\Windows Kits\10\Include\10.0.19041.0\um\winbase.h(9531,5): error C2220: 以下警告被视为错误 [D:\workspace\embeddedTeam\Mbedtls
\Test\Cmake\programs\test\udp_proxy.vcxproj]
D:\Windows Kits\10\Include\10.0.19041.0\um\winbase.h(9531,5): warning C5105: 生成“已定义”的宏扩展具有未定义的行为 [D:\workspace\embedded
Team\Mbedtls\Test\Cmake\programs\test\udp_proxy.vcxproj]
D:\Windows Kits\10\Include\10.0.19041.0\um\winbase.h(9531,5): message : 要简化迁移,请考虑暂时对用于生成且不引发警告的编译器版本使用 /Wv:18 标记 [D:\wo
rkspace\embeddedTeam\Mbedtls\Test\Cmake\programs\test\udp_proxy.vcxproj]Building Custom Rule D:/workspace/embeddedTeam/Mbedtls/Test/mbedtls/programs/test/CMakeLists.txtzeroize.czeroize.vcxproj -> D:\workspace\embeddedTeam\Mbedtls\Test\Cmake\programs\test\Debug\zeroize.exe

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/pingmian/44427.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【自监督学习】DINO in ICCV 2021

一、引言 论文&#xff1a; DINO: Emerging Properties in Self-Supervised Vision Transformers 作者&#xff1a; Facebook AI Research 代码&#xff1a; DINO 特点&#xff1a; 对于一张图片&#xff0c;该方法首先进行全局和局部的裁剪与增强并分别送入教师和学生网络&am…

tesla p100显卡显示资源不足,api调用失败

&#x1f3c6;本文收录于《CSDN问答解惑-专业版》专栏&#xff0c;主要记录项目实战过程中的Bug之前因后果及提供真实有效的解决方案&#xff0c;希望能够助你一臂之力&#xff0c;帮你早日登顶实现财富自由&#x1f680;&#xff1b;同时&#xff0c;欢迎大家关注&&收…

SpringMVC源码分析

文章目录 概要启动阶段请求阶段 概要 以下是调试mvc源码过程中用到的demo以及配置文件 webapp/WEB-INF/web.xml <?xml version"1.0" encoding"UTF-8"?> <web-app xmlns"http://xmlns.jcp.org/xml/ns/javaee"xmlns:xsi"http://…

QImage显示图片像素

在Qt中&#xff0c;QImage 类是用来表示和处理图像的。如果你想查看或显示一个图片的像素数据&#xff0c;你可以使用 QImage 提供的方法来访问这些数据。以下是一些基本的方法来获取和显示图片的像素信息&#xff1a; 获取图像的像素格式&#xff1a; 使用 QImage::format() …

阶段三:项目开发---民航功能模块实现:任务24:航空实时监控

任务描述 内 容&#xff1a;地图展示、飞机飞行轨迹、扇区控制。航空实时监控&#xff0c;是飞机每秒发送坐标&#xff0c;经过终端转换实时发送给塔台&#xff0c;为了飞机位置的精准度&#xff0c;传输位置的密度很大&#xff0c;在地图位置显示不明显。本次为了案例展示效…

Linux基础知识(十六)shell脚本编程

一、简介 用户通过shell向计算机发送指令计算机通过shell给用户返回指令的执行结果 1.1 通过shell编程可以达到的效果 提高工作效率可以实现自动化 1.2 需要学习的内容 Linuxshell的语法规范 1.3 编写shell的流程 第一步&#xff1a;用vi/vim创建一个.sh的文件第二步&am…

位运算在数据库中的运用实践-以MySQL和PG为例

目录 前言 一、两种不同的数据库设计 1、状态字段存储JSON 2、使用位运算 二、数据库中的位运算实践 1、MySQL中的位运算实践 2、PostgreSQL中位运算实践 三、总结 前言 最近在解决某用户的一个业务需求时&#xff0c;遇到一个很有意思的场景。首先先跟大家分享一下需求…

飞腾平台虚拟机组播性能调优指南

【写在前面】 飞腾开发者平台是基于飞腾自身强大的技术基础和开放能力&#xff0c;聚合行业内优秀资源而打造的。该平台覆盖了操作系统、算法、数据库、安全、平台工具、虚拟化、存储、网络、固件等多个前沿技术领域&#xff0c;包含了应用使能套件、软件仓库、软件支持、软件适…

STM32G4 DMA的使用(寄存器开发)

下面以STM32G474为例&#xff0c;使用DMA来存储USART1的接收数据。 1. 查看硬件支持 首先查看要使用的DMA支持的通道数&#xff0c;在手册中有如下说明。 根据上图可以看到&#xff0c;对于不同的设备类型有不同的DMA通道数量。设备类型分类如下图所示。 我使用的是STM32G474…

基于 TI AM62 测试 QtWayland 部署

By Toradex秦海 1). 简介 目前主流的 ARM 平台嵌入式 Linux BSP 的显示后端基本都已经从 X11 升级到了 Wayland&#xff0c; 而常用的 Wayland Compositor - Weston 对于 Linux 下常用的 Qt 图形界面开发框架的一些 Plugin (比如 Qt VirtualKeyboard) 的配合并不完善&#xf…

什么是边缘计算?创造一个更快、更智慧、更互联的世界

前言 如今&#xff0c;数十亿物联网传感器广泛部署在零售商店、城市街道、仓库和医院等各种场所&#xff0c;正在生成大量数据。从这些数据中更快地获得洞察&#xff0c;意味着可以改善服务、简化运营&#xff0c;甚至挽救生命。但要做到这一点&#xff0c;企业需要实时做出决策…

tableau标靶图,甘特图与瀑布图绘制 - 9

标靶图&#xff0c;甘特图与瀑布图 1. 标靶图绘制1.1 筛选器筛选日期1.2 条形图绘制1.3 编辑参考线1.4 设置参考线1.5 设置参考区间1.6 四分位设置1.7 其他标靶图结果显示 2.甘特图绘制2.1 选择列属性2.2 选择列属性2.3 创建新字段2.4 设置天数大小及颜色 3. 瀑布图绘制3.1 she…

【pytorch20】多分类问题

网络结构以及示例 该网络的输出不是一层或两层的&#xff0c;而是一个十层的代表有十分类 新建三个线性层&#xff0c;每个线性层都有w和b的tensor 首先输入维度是784&#xff0c;第一个维度是ch_out,第二个维度才是ch_in(由于后面要转置)&#xff0c;没有经过softmax函数和…

【利用GroundingDINO裁剪分类任务的数据集】及文本提示检测图像任意目标(Grounding DINO) 的使用

文章目录 背景1.Grounding DINO安装2.裁剪指定目标的脚本 背景 在处理公开数据集ImageNet-21k的时候发现里面有很多的数据有问题&#xff0c;比如&#xff0c;数据目标有很多背景&#xff0c;且部分类别有其他种类的图片。针对数据目标有很多背景&#xff0c;公开数据集ImageNe…

【数据库】Redis主从复制、哨兵模式、集群

目录 一、Redis的主从复制 1.1 主从复制的架构 1.2 主从复制的作用 1.3 注意事项 1.4 主从复制用到的命令 1.5 主从复制流程 1.6 主从复制实现 1.7 结束主从复制 1.8 主从复制优化配置 二、哨兵模式 2.1 哨兵模式原理 2.2 哨兵的三个定时任务 2.3 哨兵的结构 2.4 哨…

ArkUI开发学习随机——B站视频简介页面,美团购买界面

案例一&#xff1a;B站视频简介页面 代码&#xff1a; build() {Column(){Column(){Stack(){Image($r("app.media.genimpact")).width(200).height(125).borderRadius({topLeft:5,topRight:5})Row(){Image($r("app.media.bz_play")).height(24).fillColor…

【人工智能】Transformers之Pipeline(概述):30w+大模型极简应用

​​​​​​​ 目录 一、引言 二、pipeline库 2.1 概述 2.2 使用task实例化pipeline对象 2.2.1 基于task实例化“自动语音识别” 2.2.2 task列表 2.2.3 task默认模型 2.3 使用model实例化pipeline对象 2.3.1 基于model实例化“自动语音识别” 2.3.2 查看model与task…

IEC62056标准体系简介-4.IEC62056-53 COSEM应用层

为在通信介质中传输COSEM对象模型&#xff0c;IEC62056参照OSI参考模型&#xff0c;制定了简化的三层通信模型&#xff0c;包括应用层、数据链路层&#xff08;或中间协议层&#xff09;和物理层&#xff0c;如图6所示。COSEM应用层完成对COSEM对象的属性和方法的访问&#xff…

01MFC建立单个文件类型——画线

文章目录 选择模式初始化文件作用解析各初始化文件解析类导向创建鼠标按键按下抬起操作函数添加一个变量记录起始位置注意事项代码实现效果图虚实/颜色线选择模式 初始化文件作用解析 运行: 各初始化文件解析 MFC(Microsoft Foundation Classes)是一个C++类库,用于在Win…

防御课综合实验

实验拓扑&#xff1a; 实验要求&#xff1a; 1、DMZ区内的服务器&#xff0c;办公区仅能在办公时间内&#xff08;9点到18点&#xff09;可以访问&#xff0c;生产区的设备全天可以访问 2、生产区不允许访问互联网&#xff0c;办公区和游客区允许访问互联网 3、办公区设备10…