Home
last modified time | relevance | path

Searched refs:aes (Results 1 – 23 of 23) sorted by relevance

/mbedtls/programs/test/
A Dbenchmark.c723 mbedtls_aes_context aes; in main() local
725 mbedtls_aes_init(&aes); in main()
736 mbedtls_aes_free(&aes); in main()
743 mbedtls_aes_context aes; in main() local
745 mbedtls_aes_init(&aes); in main()
757 mbedtls_aes_free(&aes); in main()
761 mbedtls_aes_context aes; in main() local
763 mbedtls_aes_init(&aes); in main()
774 mbedtls_aes_free(&aes); in main()
785 mbedtls_aes_init(&aes); in main()
[all …]
/mbedtls/programs/pkey/
A Ddh_client.c75 mbedtls_aes_context aes; in main() local
79 mbedtls_aes_init(&aes); in main()
251 ret = mbedtls_aes_setkey_dec(&aes, buf, 256); in main()
263 ret = mbedtls_aes_crypt_ecb(&aes, MBEDTLS_AES_DECRYPT, buf, buf); in main()
276 mbedtls_aes_free(&aes); in main()
A Ddh_server.c67 mbedtls_aes_context aes; in main() local
74 mbedtls_aes_init(&aes); in main()
268 ret = mbedtls_aes_setkey_enc(&aes, buf, 256); in main()
273 ret = mbedtls_aes_crypt_ecb(&aes, MBEDTLS_AES_ENCRYPT, buf, buf); in main()
296 mbedtls_aes_free(&aes); in main()
/mbedtls/library/
A Dblock_cipher.c63 mbedtls_aes_free(&ctx->ctx.aes); in mbedtls_block_cipher_free()
103 mbedtls_aes_init(&ctx->ctx.aes); in mbedtls_block_cipher_setup()
149 return mbedtls_aes_setkey_enc(&ctx->ctx.aes, key, key_bitlen); in mbedtls_block_cipher_setkey()
185 return mbedtls_aes_crypt_ecb(&ctx->ctx.aes, MBEDTLS_AES_ENCRYPT, in mbedtls_block_cipher_encrypt()
A Dcipher_wrap.c249 mbedtls_aes_context *aes = mbedtls_calloc(1, sizeof(mbedtls_aes_context)); in aes_ctx_alloc() local
251 if (aes == NULL) { in aes_ctx_alloc()
255 mbedtls_aes_init(aes); in aes_ctx_alloc()
257 return aes; in aes_ctx_alloc()
A DMakefile106 aes.o \
A DCMakeLists.txt14 aes.c
/mbedtls/programs/
A DCMakeLists.txt1 add_subdirectory(aes)
A DMakefile33 aes/crypt_and_hash \
149 aes/crypt_and_hash$(EXEXT): aes/crypt_and_hash.c $(DEP)
151 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) aes/crypt_and_hash.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
A D.gitignore8 aes/crypt_and_hash
A DREADME.md8 * [`aes/crypt_and_hash.c`](aes/crypt_and_hash.c): file encryption and authentication, demonstrating…
/mbedtls/include/mbedtls/
A Dblock_cipher.h61 mbedtls_aes_context MBEDTLS_PRIVATE(aes);
/mbedtls/tests/scripts/
A Dall.sh4024 not grep mbedtls_aes library/aes.o
4118 not grep mbedtls_aes_ library/aes.o
4169 cp configs/crypto-config-ccm-aes-sha256.h "$CRYPTO_CONFIG_H"
4822 (lscpu | grep -qw aes)
4859 ./programs/test/selftest aes | not grep -q "AESNI code"
4869 ./programs/test/selftest aes | grep -q "AES note: using AESNI"
4896 support_test_m32_no_asm && (lscpu | grep -qw aes)
5255 not grep mbedtls_aes_setkey_dec library/aes.o
5259 not grep mbedtls_internal_aes_decrypt library/aes.o
5362 not grep mbedtls_aes_setkey_dec library/aes.o
[all …]
/mbedtls/tests/suites/
A Dtest_suite_pem.data69 # echo -n -e "\x68\x65\x6c\x6c\x6f\x20\x77\x6f\x72\x6c\x64\x01\x02\x03\x04\x05" | openssl aes-128…
76 # echo -n -e "\x68\x65\x6c\x6c\x6f\x20\x77\x6f\x72\x6c\x64\x11\x11\x11\x11\x11" | openssl aes-128…
A Dtest_suite_pem.function5 #include "mbedtls/aes.h"
A Dtest_suite_aes.function2 #include "mbedtls/aes.h"
A Dtest_suite_cipher.function3 #include "mbedtls/aes.h"
/mbedtls/scripts/data_files/
A Dquery_config.fmt22 #include "mbedtls/aes.h"
/mbedtls/tests/data_files/
A DMakefile46 $(OPENSSL) genrsa -aes-128-cbc -passout pass:$(test_ca_pwd_rsa) -out $@ 2048
1056 …$(OPENSSL) pkcs8 -topk8 -v2 aes-128-cbc -v2prf hmacWithSHA384 -inform PEM -in $< -outform DER -ou…
1059 …$(OPENSSL) pkcs8 -topk8 -v2 aes-128-cbc -v2prf hmacWithSHA384 -inform PEM -in $< -outform PEM -ou…
1064 …$(OPENSSL) pkcs8 -topk8 -v2 aes-192-cbc -v2prf hmacWithSHA384 -inform PEM -in $< -outform DER -ou…
1067 …$(OPENSSL) pkcs8 -topk8 -v2 aes-192-cbc -v2prf hmacWithSHA384 -inform PEM -in $< -outform PEM -ou…
1072 …$(OPENSSL) pkcs8 -topk8 -v2 aes-256-cbc -v2prf hmacWithSHA384 -inform PEM -in $< -outform DER -ou…
1075 …$(OPENSSL) pkcs8 -topk8 -v2 aes-256-cbc -v2prf hmacWithSHA384 -inform PEM -in $< -outform PEM -ou…
/mbedtls/docs/architecture/psa-migration/
A Dmd-cipher-dispatch.md154 * Currently using low-level non-generic API (`aes.h`).
354 …level API from `aes.h`. In all cases, access to the "block cipher primitive" is done by using "ECB…
/mbedtls/docs/proposed/
A Dpsa-conditional-inclusion-c.md57 …ration file and the Mbed TLS configuration file. For example, the code in `aes.c` is enabled if ei…
/mbedtls/docs/
A Dpsa-transition.md106 | `aes.h` | `mbedtls_aes_` | [Symmetric encryption](#symmetric-encryption) |
267 … from an argument. There is no special API for a particular block cipher (`aes.h`, `aria.h`, `came…
/mbedtls/
A DChangeLog511 * Fix compilation warnings in aes.c, which prevented the
1877 * Remove the AES sample application programs/aes/aescrypt2 which shows
3806 programs/aes/aescrypt2 and programs/aes/crypt_and_hash.

Completed in 84 milliseconds