Home
last modified time | relevance | path

Searched refs:MBEDTLS_ENCRYPT (Results 1 – 22 of 22) sorted by relevance

/mbedtls/tests/suites/
A Dtest_suite_cipher.aes.data1527 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"00000000000000000000000000000000":"f34481e…
1531 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"00000000000000000000000000000000":"9798c46…
1535 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"00000000000000000000000000000000":"96ab5c2…
1539 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"e0000000000000000000000000000000":"0000000…
1543 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"f0000000000000000000000000000000":"0000000…
1547 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"f8000000000000000000000000000000":"0000000…
1551 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"fffffffffffff0000000000000000000":"0000000…
1555 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"fffffffffffff8000000000000000000":"0000000…
1559 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"fffffffffffffc000000000000000000":"0000000…
1563 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"ffffffffffffffffffffffffffffc000":"0000000…
[all …]
A Dtest_suite_cipher.function171 mbedtls_operation_t valid_operation = MBEDTLS_ENCRYPT;
401 TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx_enc, key, key_len, MBEDTLS_ENCRYPT));
533 TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx, key, key_len, MBEDTLS_ENCRYPT));
692 TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx_enc, key, key_len, MBEDTLS_ENCRYPT));
979 MBEDTLS_ENCRYPT)) {
1240 MBEDTLS_ENCRYPT));
A Dtest_suite_cipher.des.data579 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"0000000000000000":"0000000000000000":"8CA64DE9…
583 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"FFFFFFFFFFFFFFFF":"FFFFFFFFFFFFFFFF":"7359B216…
587 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"FEDCBA9876543210":"0123456789ABCDEF":"ED39D950…
603 test_vec_ecb:MBEDTLS_CIPHER_DES_EDE_ECB:MBEDTLS_ENCRYPT:"0000000000000000FFFFFFFFFFFFFFFF":"0000000…
607 test_vec_ecb:MBEDTLS_CIPHER_DES_EDE_ECB:MBEDTLS_ENCRYPT:"FFFFFFFFFFFFFFFF3000000000000000":"FFFFFFF…
A Dtest_suite_cipher.aria.data319 test_vec_crypt:MBEDTLS_CIPHER_ARIA_128_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CACBCCC…
327 test_vec_crypt:MBEDTLS_CIPHER_ARIA_192_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CACBCCC…
335 test_vec_crypt:MBEDTLS_CIPHER_ARIA_256_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CACBCCC…
A Dtest_suite_cipher.camellia.data1083 test_vec_crypt:MBEDTLS_CIPHER_CAMELLIA_128_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CAC…
1091 test_vec_crypt:MBEDTLS_CIPHER_CAMELLIA_192_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CAC…
1099 test_vec_crypt:MBEDTLS_CIPHER_CAMELLIA_256_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CAC…
/mbedtls/library/
A Dcipher.c307 if (operation != MBEDTLS_ENCRYPT && operation != MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()
390 if (MBEDTLS_ENCRYPT == operation || in mbedtls_cipher_setkey()
403 if (operation == MBEDTLS_ENCRYPT || operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()
491 } else if (ctx->operation == MBEDTLS_ENCRYPT) { in mbedtls_cipher_set_iv()
559 mode = (ctx->operation == MBEDTLS_ENCRYPT) in mbedtls_cipher_update_ad()
660 (ctx->operation == MBEDTLS_ENCRYPT && in mbedtls_cipher_update()
1066 if (MBEDTLS_ENCRYPT == ctx->operation) { in mbedtls_cipher_finish()
1186 if (MBEDTLS_ENCRYPT != ctx->operation) { in mbedtls_cipher_write_tag()
1332 } else if (ctx->operation == MBEDTLS_ENCRYPT) { in mbedtls_cipher_crypt()
A Dssl_ticket.c106 MBEDTLS_ENCRYPT); in ssl_ticket_gen_key()
194 ret = mbedtls_cipher_setkey(&key->ctx, k, bitlen, MBEDTLS_ENCRYPT); in mbedtls_ssl_ticket_rotate()
A Dcmac.c168 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_cipher_cmac_starts()
766 MBEDTLS_ENCRYPT)) != 0) { in cmac_test_subkeys()
A Dnist_kw.c91 is_wrap ? MBEDTLS_ENCRYPT : in mbedtls_nist_kw_setkey()
A Dpsa_crypto_cipher.c368 alg, MBEDTLS_ENCRYPT); in mbedtls_psa_cipher_encrypt_setup()
A Dccm.c89 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_ccm_setkey()
A Dgcm.c203 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_gcm_setkey()
A Dcipher_wrap.c218 case MBEDTLS_ENCRYPT: in aes_crypt_xts_wrap()
A Dssl_tls13_keys.c1011 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_ssl_tls13_populate_transform()
A Dpsa_crypto.c4258 psa_key_usage_t usage = (cipher_operation == MBEDTLS_ENCRYPT ? in psa_cipher_setup()
4291 if (cipher_operation == MBEDTLS_ENCRYPT) { in psa_cipher_setup()
4319 return psa_cipher_setup(operation, key, alg, MBEDTLS_ENCRYPT); in psa_cipher_encrypt_setup()
A Dssl_tls.c9150 MBEDTLS_ENCRYPT)) != 0) { in ssl_tls12_populate_transform()
/mbedtls/include/mbedtls/
A Dpkcs12.h35 #define MBEDTLS_PKCS12_PBE_ENCRYPT MBEDTLS_ENCRYPT
A Dpkcs5.h35 #define MBEDTLS_PKCS5_ENCRYPT MBEDTLS_ENCRYPT
A Dcipher.h202 MBEDTLS_ENCRYPT, enumerator
/mbedtls/programs/cipher/
A Dcipher_aead_demo.c145 CHK(mbedtls_cipher_setkey(ctx, key_bytes, key_len, MBEDTLS_ENCRYPT)); in aead_prepare()
/mbedtls/programs/aes/
A Dcrypt_and_hash.c309 MBEDTLS_ENCRYPT) != 0) { in main()
/mbedtls/tests/src/test_helpers/
A Dssl_helpers.c1329 MBEDTLS_ENCRYPT) in mbedtls_test_ssl_build_transforms()
1337 MBEDTLS_ENCRYPT) in mbedtls_test_ssl_build_transforms()

Completed in 871 milliseconds