Home
last modified time | relevance | path

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

/mbedtls-latest/programs/test/
Dbenchmark.c723 mbedtls_aes_context aes; in main() local
725 mbedtls_aes_init(&aes); in main()
731 CHECK_AND_CONTINUE(mbedtls_aes_setkey_enc(&aes, tmp, keysize)); in main()
734 mbedtls_aes_crypt_cbc(&aes, MBEDTLS_AES_ENCRYPT, BUFSIZE, tmp, buf, buf)); in main()
736 mbedtls_aes_free(&aes); in main()
743 mbedtls_aes_context aes; in main() local
745 mbedtls_aes_init(&aes); in main()
751 CHECK_AND_CONTINUE(mbedtls_aes_setkey_enc(&aes, tmp, keysize)); in main()
754 mbedtls_aes_crypt_cfb128(&aes, MBEDTLS_AES_ENCRYPT, BUFSIZE, in main()
757 mbedtls_aes_free(&aes); in main()
[all …]
/mbedtls-latest/tests/scripts/
Dcomponents-platform.sh24 (lscpu | grep -qw aes)
45 ./programs/test/selftest aes | grep "AESNI code" | grep -q "intrinsics"
52 ./programs/test/selftest aes | grep "AESNI code" | grep -q "assembly"
61 ./programs/test/selftest aes | not grep -q "AESNI code"
71 ./programs/test/selftest aes | grep -q "AES note: using AESNI"
72 ./programs/test/selftest aes | not grep -q "AES note: built-in implementation."
78 support_test_m32_no_asm && (lscpu | grep -qw aes)
97 ./programs/test/selftest aes | grep "AESNI code" | grep -q "intrinsics"
109 ./programs/test/selftest aes | grep -q "AES note: using AESNI"
110 ./programs/test/selftest aes | not grep -q "AES note: built-in implementation."
[all …]
Dcomponents-configuration-crypto.sh2432 not grep mbedtls_aes library/aes.o
2530 not grep mbedtls_aes_ library/aes.o
2561 not grep mbedtls_aes_ library/aes.o
2612 cp configs/crypto-config-ccm-aes-sha256.h "$CRYPTO_CONFIG_H"
2717 build_test_config_combos library/aes.o validate_aes_config_variations \
2734 build_test_config_combos library/aes.o validate_aes_config_variations \
2912 not grep mbedtls_aes_setkey_dec library/aes.o
2916 not grep mbedtls_internal_aes_decrypt library/aes.o
3019 not grep mbedtls_aes_setkey_dec library/aes.o
3023 not grep mbedtls_internal_aes_decrypt library/aes.o
/mbedtls-latest/programs/pkey/
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()
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-latest/library/
Dblock_cipher.c67 mbedtls_aes_free(&ctx->ctx.aes); in mbedtls_block_cipher_free()
107 mbedtls_aes_init(&ctx->ctx.aes); in mbedtls_block_cipher_setup()
153 return mbedtls_aes_setkey_enc(&ctx->ctx.aes, key, key_bitlen); in mbedtls_block_cipher_setkey()
189 return mbedtls_aes_crypt_ecb(&ctx->ctx.aes, MBEDTLS_AES_ENCRYPT, in mbedtls_block_cipher_encrypt()
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()
DMakefile88 aes.o \
DCMakeLists.txt14 aes.c
/mbedtls-latest/programs/
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 $@
DCMakeLists.txt1 add_subdirectory(aes)
D.gitignore8 aes/crypt_and_hash
DREADME.md8 * [`aes/crypt_and_hash.c`](aes/crypt_and_hash.c): file encryption and authentication, demonstrating…
/mbedtls-latest/include/mbedtls/
Dblock_cipher.h61 mbedtls_aes_context MBEDTLS_PRIVATE(aes);
/mbedtls-latest/tests/suites/
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…
Dtest_suite_pem.function5 #include "mbedtls/aes.h"
Dtest_suite_aes.function2 #include "mbedtls/aes.h"
Dtest_suite_cipher.function3 #include "mbedtls/aes.h"
/mbedtls-latest/scripts/data_files/
Dquery_config.fmt22 #include "mbedtls/aes.h"
/mbedtls-latest/docs/architecture/psa-migration/
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-latest/docs/proposed/
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-latest/
DChangeLog66 - Ciphers and modes: aes.h, aria.h, camellia.h, chacha20.h, chachapoly.h,
706 * Fix compilation warnings in aes.c, which prevented the
2072 * Remove the AES sample application programs/aes/aescrypt2 which shows
4001 programs/aes/aescrypt2 and programs/aes/crypt_and_hash.
/mbedtls-latest/docs/
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…